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.001807/0.001806, allocations: 118.8 kB / 16.37 MB, free: 6.004 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.001961/0.001961, allocations: 192.8 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.812/1.812, allocations: 222.9 MB / 241 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.002926/0.002926, allocations: 290.3 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 1.135/1.135, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 90.61 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3276, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 1.015/1.343, allocations: 173.8 MB / 0.8513 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005889/1.349, allocations: 2.303 MB / 0.8536 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/1.349, allocations: 11.94 kB / 0.8536 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/1.35, allocations: 234.3 kB / 0.8538 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/1.353, allocations: 0.9333 MB / 0.8547 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/1.356, allocations: 0.8218 MB / 0.8555 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001638/1.357, allocations: 0.9663 MB / 0.8565 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/1.358, allocations: 335 kB / 0.8568 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/1.359, allocations: 454.2 kB / 0.8572 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/1.359, allocations: 310.7 kB / 0.8575 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/1.359, allocations: 36 kB / 0.8576 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/1.361, allocations: 0.9937 MB / 0.8585 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/1.362, allocations: 151.5 kB / 0.8587 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/1.362, allocations: 230.9 kB / 0.8589 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/1.363, allocations: 0.9143 MB / 0.8598 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.363, allocations: 0 / 0.8598 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.835e-06/1.363, allocations: 0 / 0.8598 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.363, allocations: 0 / 0.8598 GB, free: 7.973 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.001474/1.365, allocations: 0.8028 MB / 0.8606 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.365, allocations: 12.03 kB / 0.8606 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.366, allocations: 179.2 kB / 0.8607 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/1.367, allocations: 389.4 kB / 0.8611 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/1.367, allocations: 24.66 kB / 0.8611 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/1.367, allocations: 35.94 kB / 0.8612 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/1.368, allocations: 369.1 kB / 0.8615 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.368, allocations: 3.938 kB / 0.8615 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/1.368, allocations: 16 kB / 0.8615 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.368, allocations: 12 kB / 0.8616 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/1.369, allocations: 266 kB / 0.8618 GB, free: 5.777 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.002195/1.371, allocations: 1.671 MB / 0.8634 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/1.371, allocations: 206.4 kB / 0.8636 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/1.371, allocations: 119.1 kB / 0.8638 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.373, allocations: 0.8702 MB / 0.8646 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.373, allocations: 38.44 kB / 0.8646 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/1.373, allocations: 4 kB / 0.8646 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001016/1.374, allocations: 354.5 kB / 0.865 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/1.374, allocations: 55.41 kB / 0.865 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/1.374, allocations: 421.9 kB / 0.8654 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/1.374, allocations: 33.7 kB / 0.8655 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/1.375, allocations: 208.2 kB / 0.8657 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/1.375, allocations: 86.83 kB / 0.8657 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/1.375, allocations: 53.61 kB / 0.8658 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.375, allocations: 354.7 kB / 0.8661 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/1.375, allocations: 83.95 kB / 0.8662 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/1.376, allocations: 120.2 kB / 0.8663 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/1.376, allocations: 209.6 kB / 0.8665 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.376, allocations: 0 / 0.8665 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005375/1.377, allocations: 284.1 kB / 0.8668 GB, free: 252 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.377, allocations: 4 kB / 0.8668 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.377, allocations: 4 kB / 0.8668 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.377, allocations: 0 / 0.8668 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.377, allocations: 55.91 kB / 0.8669 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.377, allocations: 4 kB / 0.8669 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/1.377, allocations: 35.7 kB / 0.8669 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.377, allocations: 11.94 kB / 0.8669 GB, free: 136 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.0002179/1.377, allocations: 161.8 kB / 0.8671 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/1.377, allocations: 43.44 kB / 0.8671 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/1.378, allocations: 278.4 kB / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.378, allocations: 4 kB / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.378, allocations: 0 / 0.8674 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.378, allocations: 4 kB / 0.8674 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.379, allocations: 0.8095 MB / 0.8682 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.379, allocations: 3.984 kB / 0.8682 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/1.38, allocations: 51.86 kB / 0.8682 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.38, allocations: 4 kB / 0.8682 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.38, allocations: 7.938 kB / 0.8682 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.38, allocations: 3.984 kB / 0.8682 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.38, allocations: 5.562 kB / 0.8682 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/1.381, allocations: 0.5028 MB / 0.8687 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.381, allocations: 156.4 kB / 0.8689 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/1.381, allocations: 8 kB / 0.8689 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/1.381, allocations: 15.98 kB / 0.8689 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/1.381, allocations: 23.97 kB / 0.8689 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.381, allocations: 4 kB / 0.8689 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003507/1.382, allocations: 299.1 kB / 0.8692 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.837e-06/1.382, allocations: 4 kB / 0.8692 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005448/1.382, allocations: 119.8 kB / 0.8693 GB, free: 13.5 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.0005735/1.383, allocations: 204.9 kB / 0.8695 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005348/1.383, allocations: 213.2 kB / 0.8697 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.383, allocations: 0 / 0.8697 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/1.384, allocations: 107.8 kB / 0.8698 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/1.385, allocations: 231.6 kB / 0.8701 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.386, allocations: 0.8842 MB / 0.8709 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/1.387, allocations: 0.831 MB / 0.8717 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002757/1.387, allocations: 83.36 kB / 0.8718 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/1.387, allocations: 35.42 kB / 0.8719 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/1.387, allocations: 0 / 0.8719 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of Templates: time 0.01603/1.403, allocations: 8.035 MB / 0.8797 GB, free: 2.977 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)