Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004583/0.004583, allocations: 100 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 190.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 284.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.6 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 95.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3493, allocations: 89.14 MB / 0.7813 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1861/0.5355, allocations: 173.8 MB / 0.9511 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.5393, allocations: 2.302 MB / 0.9533 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.5397, allocations: 11.94 kB / 0.9533 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.5404, allocations: 234.4 kB / 0.9535 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.5424, allocations: 0.9332 MB / 0.9545 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.5443, allocations: 0.8223 MB / 0.9553 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.5456, allocations: 0.9624 MB / 0.9562 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.5461, allocations: 338.2 kB / 0.9565 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.5468, allocations: 454.3 kB / 0.957 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.5472, allocations: 306.7 kB / 0.9572 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.5472, allocations: 36 kB / 0.9573 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.549, allocations: 0.9937 MB / 0.9583 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.5491, allocations: 151.5 kB / 0.9584 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.5494, allocations: 234.8 kB / 0.9586 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.5507, allocations: 0.9106 MB / 0.9595 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5508, allocations: 8 kB / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5508, allocations: 0 / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5508, allocations: 0 / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001249/0.552, allocations: 0.8208 MB / 0.9603 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5521, allocations: 12.03 kB / 0.9603 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.5522, allocations: 62.55 kB / 0.9604 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5534, allocations: 187.4 kB / 0.9606 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.554, allocations: 389.7 kB / 0.9609 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.554, allocations: 20.66 kB / 0.961 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.5541, allocations: 32.09 kB / 0.961 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.5548, allocations: 377 kB / 0.9614 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5548, allocations: 0 / 0.9614 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.5548, allocations: 19.88 kB / 0.9614 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.5548, allocations: 8 kB / 0.9614 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.5554, allocations: 266 kB / 0.9616 GB, free: 15.29 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.5573, allocations: 1.672 MB / 0.9633 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.5577, allocations: 206.5 kB / 0.9635 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.5579, allocations: 116.7 kB / 0.9636 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.559, allocations: 0.8662 MB / 0.9644 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.559, allocations: 38.55 kB / 0.9645 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.559, allocations: 3.938 kB / 0.9645 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009082/0.56, allocations: 359.9 kB / 0.9648 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.56, allocations: 55.5 kB / 0.9649 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.5605, allocations: 425.9 kB / 0.9653 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.5605, allocations: 29.7 kB / 0.9653 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.5607, allocations: 220.4 kB / 0.9655 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.5608, allocations: 83.22 kB / 0.9656 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.5609, allocations: 49.7 kB / 0.9656 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5611, allocations: 366.7 kB / 0.966 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5613, allocations: 71.95 kB / 0.966 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.5615, allocations: 126.9 kB / 0.9662 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.5619, allocations: 208.5 kB / 0.9664 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5619, allocations: 0 / 0.9664 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005597/0.5625, allocations: 290.6 kB / 0.9666 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5625, allocations: 4 kB / 0.9666 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5625, allocations: 0 / 0.9666 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5626, allocations: 4 kB / 0.9667 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.5628, allocations: 51.91 kB / 0.9667 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5628, allocations: 7.969 kB / 0.9667 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.563, allocations: 35.77 kB / 0.9667 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5631, allocations: 12 kB / 0.9668 GB, free: 9.625 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.5632, allocations: 153.8 kB / 0.9669 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.5633, allocations: 47.72 kB / 0.9669 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.5639, allocations: 285.2 kB / 0.9672 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5639, allocations: 8 kB / 0.9672 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.564, allocations: 3.938 kB / 0.9672 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.564, allocations: 3.984 kB / 0.9672 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.5652, allocations: 0.8113 MB / 0.968 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5652, allocations: 0 / 0.968 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5655, allocations: 43.92 kB / 0.9681 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5655, allocations: 96 / 0.9681 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.5655, allocations: 15.97 kB / 0.9681 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5655, allocations: 4 kB / 0.9681 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5655, allocations: 4 kB / 0.9681 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.5664, allocations: 0.5065 MB / 0.9686 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.5665, allocations: 148.8 kB / 0.9687 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.5666, allocations: 8 kB / 0.9687 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.5669, allocations: 11.98 kB / 0.9687 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.5669, allocations: 23.91 kB / 0.9688 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.567, allocations: 15.94 kB / 0.9688 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003333/0.5673, allocations: 299.1 kB / 0.9691 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5673, allocations: 4 kB / 0.9691 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00043/0.5677, allocations: 115.8 kB / 0.9692 GB, free: 6.992 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/0.5692, allocations: 1.149 MB / 0.9703 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.5697, allocations: 213.7 kB / 0.9705 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5697, allocations: 0 / 0.9705 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.5699, allocations: 116.2 kB / 0.9706 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5711, allocations: 225.5 kB / 0.9708 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.576, allocations: 3.687 MB / 0.9744 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.5765, allocations: 0.8233 MB / 0.9752 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.5768, allocations: 79.34 kB / 0.9753 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.577, allocations: 147.3 kB / 0.9755 GB, free: 384 kB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.577, allocations: 4 kB / 0.9755 GB, free: 380 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.6152, allocations: 12.11 MB / 0.9873 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.016, allocations: 11.77 kB / 0.9873 GB, free: 4.508 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)