Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001019/0.001019, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01008/0.01008, allocations: 170.8 kB / 16.26 MB, free: 6.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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8242/0.8242, allocations: 132.3 MB / 423.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 13.44 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4533, allocations: 81.58 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.2012/0.6546, allocations: 169.3 MB / 0.749 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003785/0.6584, allocations: 2.301 MB / 0.7513 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.6587, allocations: 11.94 kB / 0.7513 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.6593, allocations: 182.9 kB / 0.7515 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.6613, allocations: 0.8831 MB / 0.7523 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.663, allocations: 0.7574 MB / 0.7531 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.6644, allocations: 1.34 MB / 0.7544 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.6648, allocations: 278.2 kB / 0.7546 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.6655, allocations: 406.4 kB / 0.755 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.6658, allocations: 326.6 kB / 0.7553 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.6659, allocations: 16.05 kB / 0.7553 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.6676, allocations: 1.165 MB / 0.7565 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.6678, allocations: 131.6 kB / 0.7566 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.668, allocations: 248.5 kB / 0.7568 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.6692, allocations: 0.9424 MB / 0.7578 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6692, allocations: 0 / 0.7578 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6692, allocations: 0 / 0.7578 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6692, allocations: 0 / 0.7578 GB, free: 13.5 MB / 0.5919 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.00112/0.6703, allocations: 0.7373 MB / 0.7585 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6704, allocations: 8.031 kB / 0.7585 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.6716, allocations: 179.2 kB / 0.7587 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.6721, allocations: 369.5 kB / 0.759 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.6722, allocations: 24.64 kB / 0.759 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.6722, allocations: 35.91 kB / 0.7591 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.6728, allocations: 377.1 kB / 0.7594 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6729, allocations: 3.938 kB / 0.7594 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.6729, allocations: 12 kB / 0.7595 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.6729, allocations: 15.94 kB / 0.7595 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.6735, allocations: 270 kB / 0.7597 GB, free: 11.39 MB / 0.5919 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.001805/0.6753, allocations: 1.683 MB / 0.7614 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.6757, allocations: 210.5 kB / 0.7616 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.6759, allocations: 116.8 kB / 0.7617 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.6771, allocations: 0.8856 MB / 0.7625 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.6772, allocations: 38.67 kB / 0.7626 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.6772, allocations: 3.938 kB / 0.7626 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009011/0.6781, allocations: 380 kB / 0.7629 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6781, allocations: 55.41 kB / 0.763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.6786, allocations: 421.9 kB / 0.7634 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.6787, allocations: 29.7 kB / 0.7634 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.6788, allocations: 216.3 kB / 0.7636 GB, free: 7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.6789, allocations: 82.75 kB / 0.7637 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.679, allocations: 25.7 kB / 0.7637 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6791, allocations: 350.8 kB / 0.7641 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.6793, allocations: 87.94 kB / 0.7642 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.6796, allocations: 124.1 kB / 0.7643 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.68, allocations: 225.2 kB / 0.7645 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.68, allocations: 0 / 0.7645 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005612/0.6806, allocations: 301 kB / 0.7648 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6806, allocations: 6.031 kB / 0.7648 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6806, allocations: 0 / 0.7648 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6807, allocations: 7.938 kB / 0.7648 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.6809, allocations: 51.91 kB / 0.7648 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6809, allocations: 4 kB / 0.7648 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.6812, allocations: 47.61 kB / 0.7649 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.6812, allocations: 12 kB / 0.7649 GB, free: 5.66 MB / 0.5919 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.0001827/0.6814, allocations: 165.8 kB / 0.7651 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.6815, allocations: 39.53 kB / 0.7651 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.6821, allocations: 293.2 kB / 0.7654 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6822, allocations: 7.938 kB / 0.7654 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.6822, allocations: 0 / 0.7654 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6822, allocations: 0 / 0.7654 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6835, allocations: 0.823 MB / 0.7662 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6835, allocations: 0 / 0.7662 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.6837, allocations: 51.91 kB / 0.7662 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.6837, allocations: 4 kB / 0.7662 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.6837, allocations: 8 kB / 0.7663 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6838, allocations: 4 kB / 0.7663 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6838, allocations: 4 kB / 0.7663 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.6846, allocations: 0.5195 MB / 0.7668 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.6847, allocations: 152.4 kB / 0.7669 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.6848, allocations: 11.94 kB / 0.7669 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.6851, allocations: 23.98 kB / 0.7669 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.6851, allocations: 23.91 kB / 0.767 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6852, allocations: 12 kB / 0.767 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003136/0.6855, allocations: 299.1 kB / 0.7673 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6855, allocations: 0 / 0.7673 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004441/0.6859, allocations: 111.8 kB / 0.7674 GB, free: 2.988 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.0004695/0.6864, allocations: 195.4 kB / 0.7676 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.6869, allocations: 224.5 kB / 0.7678 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6869, allocations: 0 / 0.7678 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.6872, allocations: 116.3 kB / 0.7679 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6885, allocations: 220.2 kB / 0.7681 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6902, allocations: 1.098 MB / 0.7692 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.6907, allocations: 0.8275 MB / 0.77 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.691, allocations: 95.31 kB / 0.7701 GB, free: 172 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.6911, allocations: 31.44 kB / 0.7701 GB, free: 140 kB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6911, allocations: 0 / 0.7701 GB, free: 140 kB / 0.5919 GB Notification: Performance of Templates: time 0.0142/0.7053, allocations: 7.64 MB / 0.7776 GB, free: 8.641 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)