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.001574/0.001574, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 194 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 294.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9864/0.9864, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 100.2 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1639, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4751/0.639, allocations: 173.8 MB / 0.85 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003931/0.643, allocations: 2.299 MB / 0.8523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.6436, allocations: 12.03 kB / 0.8523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.6444, allocations: 232.2 kB / 0.8525 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.6472, allocations: 0.9284 MB / 0.8534 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6493, allocations: 0.8183 MB / 0.8542 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.6507, allocations: 0.9773 MB / 0.8551 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.6512, allocations: 328 kB / 0.8555 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.6519, allocations: 446.5 kB / 0.8559 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.6522, allocations: 313.3 kB / 0.8562 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.6523, allocations: 34.91 kB / 0.8562 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.6541, allocations: 0.992 MB / 0.8572 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.6542, allocations: 144.9 kB / 0.8573 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.6545, allocations: 241.3 kB / 0.8576 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.6558, allocations: 0.8992 MB / 0.8584 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6559, allocations: 0 / 0.8584 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6559, allocations: 6.188 kB / 0.8584 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6559, allocations: 0 / 0.8584 GB, free: 7.574 MB / 0.5762 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.001234/0.6571, allocations: 0.8029 MB / 0.8592 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6572, allocations: 9.938 kB / 0.8592 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.642e-05/0.6573, allocations: 72.69 kB / 0.8593 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.6585, allocations: 183.9 kB / 0.8595 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.659, allocations: 368 kB / 0.8598 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6591, allocations: 28.84 kB / 0.8599 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.6591, allocations: 28.31 kB / 0.8599 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.6597, allocations: 368.4 kB / 0.8602 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6597, allocations: 0 / 0.8602 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.6598, allocations: 18.62 kB / 0.8603 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6598, allocations: 10.06 kB / 0.8603 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.6603, allocations: 260.1 kB / 0.8605 GB, free: 6 MB / 0.5762 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.001649/0.6619, allocations: 1.684 MB / 0.8622 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.6623, allocations: 208.2 kB / 0.8624 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.6625, allocations: 112.9 kB / 0.8625 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000986/0.6635, allocations: 0.8739 MB / 0.8633 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.6635, allocations: 32.69 kB / 0.8633 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.6635, allocations: 0 / 0.8633 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008511/0.6644, allocations: 362.1 kB / 0.8637 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6645, allocations: 54.19 kB / 0.8637 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.6649, allocations: 422.2 kB / 0.8641 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6649, allocations: 27.91 kB / 0.8642 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.665, allocations: 217 kB / 0.8644 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.6651, allocations: 88.48 kB / 0.8645 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.6652, allocations: 50.17 kB / 0.8645 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6653, allocations: 356.1 kB / 0.8649 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.6655, allocations: 79.72 kB / 0.8649 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6657, allocations: 119.3 kB / 0.865 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.6661, allocations: 220.2 kB / 0.8653 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6661, allocations: 0 / 0.8653 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005007/0.6666, allocations: 279.9 kB / 0.8655 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6666, allocations: 8.875 kB / 0.8655 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6667, allocations: 1.844 kB / 0.8655 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6667, allocations: 2.906 kB / 0.8655 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.6669, allocations: 54.06 kB / 0.8656 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6669, allocations: 2.594 kB / 0.8656 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.6672, allocations: 33.62 kB / 0.8656 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.6672, allocations: 19.36 kB / 0.8656 GB, free: 1.637 MB / 0.5762 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.0001519/0.6674, allocations: 157.5 kB / 0.8658 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.6674, allocations: 39.5 kB / 0.8658 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.668, allocations: 295 kB / 0.8661 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.668, allocations: 2.438 kB / 0.8661 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.668, allocations: 0 / 0.8661 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.668, allocations: 3.938 kB / 0.8661 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.6692, allocations: 0.8116 MB / 0.8669 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6692, allocations: 6.844 kB / 0.8669 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6694, allocations: 47.16 kB / 0.867 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6694, allocations: 2.594 kB / 0.867 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.6695, allocations: 6.281 kB / 0.867 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6695, allocations: 5.25 kB / 0.867 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6695, allocations: 0 / 0.867 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.6702, allocations: 0.5067 MB / 0.8675 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.6704, allocations: 151 kB / 0.8676 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.6704, allocations: 8.594 kB / 0.8676 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.6707, allocations: 15.7 kB / 0.8676 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.6707, allocations: 11.8 kB / 0.8676 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.6708, allocations: 15.58 kB / 0.8677 GB, free: 104 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002909/0.6711, allocations: 299.9 kB / 0.8679 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6711, allocations: 3.938 kB / 0.8679 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004311/0.6715, allocations: 120.9 kB / 0.8681 GB, free: 15.89 MB / 0.5919 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.001259/0.6728, allocations: 1.143 MB / 0.8692 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.6733, allocations: 214.5 kB / 0.8694 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6733, allocations: 0 / 0.8694 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.6735, allocations: 117.8 kB / 0.8695 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6746, allocations: 225.5 kB / 0.8697 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.679, allocations: 3.743 MB / 0.8734 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6793, allocations: 0.818 MB / 0.8742 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.6796, allocations: 82.53 kB / 0.8742 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.6798, allocations: 145 kB / 0.8744 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6798, allocations: 0 / 0.8744 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.7114, allocations: 12 MB / 0.8861 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/8.03, allocations: 25.44 kB / 0.8861 GB, free: 4.094 MB / 0.5919 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)