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: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 114.3 kB / 16.37 MB, free: 6 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.001675/0.001675, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 296.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 94.47 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.153, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4247/0.5777, allocations: 173.8 MB / 0.8513 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.5815, allocations: 2.302 MB / 0.8536 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.582, allocations: 15.94 kB / 0.8536 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.5828, allocations: 230.4 kB / 0.8538 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.5852, allocations: 0.9333 MB / 0.8547 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.5873, allocations: 0.8185 MB / 0.8555 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.5886, allocations: 0.9662 MB / 0.8565 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005421/0.5891, allocations: 327 kB / 0.8568 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.5899, allocations: 466.2 kB / 0.8572 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.5904, allocations: 314.7 kB / 0.8575 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.5904, allocations: 32 kB / 0.8576 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.592, allocations: 0.9937 MB / 0.8585 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.5922, allocations: 143.5 kB / 0.8587 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.5924, allocations: 234.8 kB / 0.8589 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.5936, allocations: 0.9143 MB / 0.8598 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5936, allocations: 4 kB / 0.8598 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5936, allocations: 0 / 0.8598 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5936, allocations: 0 / 0.8598 GB, free: 7.988 MB / 0.6231 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.00113/0.5947, allocations: 0.7989 MB / 0.8606 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.5948, allocations: 12.03 kB / 0.8606 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.596, allocations: 187.2 kB / 0.8608 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.5966, allocations: 390.3 kB / 0.8611 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.5966, allocations: 20.66 kB / 0.8611 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.5967, allocations: 32 kB / 0.8612 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.5973, allocations: 369.1 kB / 0.8615 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5973, allocations: 4 kB / 0.8615 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.5973, allocations: 12 kB / 0.8615 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5974, allocations: 8 kB / 0.8615 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.5979, allocations: 269.9 kB / 0.8618 GB, free: 5.801 MB / 0.6231 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.001744/0.5996, allocations: 1.679 MB / 0.8634 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.6, allocations: 202.4 kB / 0.8636 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.6002, allocations: 117.9 kB / 0.8638 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009442/0.6012, allocations: 0.87 MB / 0.8646 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6012, allocations: 38.56 kB / 0.8646 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.6012, allocations: 3.938 kB / 0.8646 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.0008586/0.6021, allocations: 354.1 kB / 0.865 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.6021, allocations: 55.41 kB / 0.865 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.6026, allocations: 421.9 kB / 0.8654 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.6026, allocations: 29.7 kB / 0.8655 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.6027, allocations: 220.2 kB / 0.8657 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.6028, allocations: 78.83 kB / 0.8657 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.6029, allocations: 53.61 kB / 0.8658 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.603, allocations: 354.7 kB / 0.8661 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.6032, allocations: 79.94 kB / 0.8662 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.6035, allocations: 124.3 kB / 0.8663 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.6038, allocations: 213 kB / 0.8665 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6039, allocations: 4 kB / 0.8665 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005174/0.6044, allocations: 283.2 kB / 0.8668 GB, free: 268 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6044, allocations: 8.062 kB / 0.8668 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6044, allocations: 0 / 0.8668 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6044, allocations: 4 kB / 0.8668 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.6047, allocations: 47.97 kB / 0.8669 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6047, allocations: 3.938 kB / 0.8669 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6049, allocations: 31.69 kB / 0.8669 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.6049, allocations: 15.92 kB / 0.8669 GB, free: 156 kB / 0.6231 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.0001643/0.6051, allocations: 157.9 kB / 0.8671 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.6052, allocations: 47.44 kB / 0.8671 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.6058, allocations: 288.4 kB / 0.8674 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6058, allocations: 4 kB / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6058, allocations: 0 / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6058, allocations: 0 / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.607, allocations: 0.8085 MB / 0.8682 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.607, allocations: 0 / 0.8682 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.6072, allocations: 51.84 kB / 0.8682 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.6073, allocations: 4 kB / 0.8682 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.6073, allocations: 12.19 kB / 0.8682 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6073, allocations: 0 / 0.8682 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.6073, allocations: 4 kB / 0.8682 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.6081, allocations: 0.5075 MB / 0.8687 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.6082, allocations: 152 kB / 0.8689 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.6083, allocations: 4 kB / 0.8689 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.6086, allocations: 15.98 kB / 0.8689 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.6086, allocations: 19.98 kB / 0.8689 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.6087, allocations: 11.98 kB / 0.8689 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002996/0.609, allocations: 303.1 kB / 0.8692 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.609, allocations: 0 / 0.8692 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004172/0.6094, allocations: 119.8 kB / 0.8693 GB, free: 13.52 MB / 0.6387 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.0003709/0.6098, allocations: 204.8 kB / 0.8695 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6102, allocations: 207.8 kB / 0.8697 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6103, allocations: 0 / 0.8697 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.6105, allocations: 119.9 kB / 0.8698 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6115, allocations: 217.1 kB / 0.8701 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.613, allocations: 0.8987 MB / 0.8709 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.6133, allocations: 0.8232 MB / 0.8717 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.6136, allocations: 79.34 kB / 0.8718 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.6137, allocations: 39.44 kB / 0.8719 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6137, allocations: 0 / 0.8719 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.01374/0.6274, allocations: 8.049 MB / 0.8797 GB, free: 2.992 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)