Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 112.3 kB / 16.37 MB, free: 6.344 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.001297/0.001297, allocations: 191 kB / 17.3 MB, free: 5.898 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.88 kB / 0.5819 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5161/0.665, allocations: 192.6 MB / 0.8484 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.6712, allocations: 4.012 MB / 0.8523 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.6727, allocations: 23.47 kB / 0.8523 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.6744, allocations: 469.5 kB / 0.8528 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.6787, allocations: 1.539 MB / 0.8543 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.6819, allocations: 1.351 MB / 0.8556 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.6837, allocations: 1.637 MB / 0.8572 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.6848, allocations: 0.9543 MB / 0.8581 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6859, allocations: 0.9207 MB / 0.859 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.6869, allocations: 0.8472 MB / 0.8598 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.687, allocations: 93.25 kB / 0.8599 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6891, allocations: 1.311 MB / 0.8612 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.6894, allocations: 355.9 kB / 0.8615 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.6899, allocations: 0.5094 MB / 0.862 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.6918, allocations: 1.636 MB / 0.8636 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6918, allocations: 0 / 0.8636 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6918, allocations: 0 / 0.8636 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.6918, allocations: 0 / 0.8636 GB, free: 5.637 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002828/0.6947, allocations: 1.445 MB / 0.8651 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6947, allocations: 12.03 kB / 0.8651 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.6963, allocations: 238.8 kB / 0.8653 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008348/0.6971, allocations: 0.6186 MB / 0.8659 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.6972, allocations: 37 kB / 0.8659 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6973, allocations: 52 kB / 0.866 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6987, allocations: 0.9616 MB / 0.8669 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6988, allocations: 0 / 0.8669 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.6988, allocations: 27.98 kB / 0.8669 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.6989, allocations: 31.92 kB / 0.867 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7004, allocations: 0.9406 MB / 0.8679 GB, free: 1.109 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.004842/0.7052, allocations: 4.258 MB / 0.8721 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/0.7062, allocations: 0.5908 MB / 0.8726 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/0.7069, allocations: 0.5174 MB / 0.8731 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009341/0.7079, allocations: 0.8783 MB / 0.874 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.7079, allocations: 50.55 kB / 0.874 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/0.7093, allocations: 415.1 kB / 0.8744 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.7093, allocations: 0 / 0.8744 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01786/0.7272, allocations: 3.837 MB / 0.8782 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7272, allocations: 63.77 kB / 0.8782 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.728, allocations: 0.7039 MB / 0.8789 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.7281, allocations: 37.7 kB / 0.879 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.7284, allocations: 320.6 kB / 0.8793 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.7285, allocations: 173.4 kB / 0.8794 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.7288, allocations: 150 kB / 0.8796 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.7289, allocations: 330 kB / 0.8799 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.7295, allocations: 396.9 kB / 0.8803 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.7303, allocations: 489.5 kB / 0.8807 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.7318, allocations: 0.9219 MB / 0.8816 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7318, allocations: 0 / 0.8816 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01156/0.7433, allocations: 2.556 MB / 0.8841 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7434, allocations: 4 kB / 0.8841 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.7434, allocations: 4 kB / 0.8842 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00968/0.7531, allocations: 1.738 MB / 0.8858 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.7536, allocations: 95.81 kB / 0.8859 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7662, allocations: 7.137 MB / 0.8929 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.767, allocations: 24.05 kB / 0.8929 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.7671, allocations: 48.8 kB / 0.893 GB, free: 6.574 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003934/0.7675, allocations: 205.7 kB / 0.8932 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.7677, allocations: 79.06 kB / 0.8932 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.7728, allocations: 1.741 MB / 0.895 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7728, allocations: 4 kB / 0.895 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7728, allocations: 11.94 kB / 0.895 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7728, allocations: 3.984 kB / 0.895 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.7787, allocations: 2.544 MB / 0.8975 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7787, allocations: 8.031 kB / 0.8975 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.7791, allocations: 87.89 kB / 0.8975 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.7826, allocations: 0.7937 MB / 0.8983 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.7827, allocations: 16 kB / 0.8983 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/0.7895, allocations: 4.867 MB / 0.9031 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7896, allocations: 4 kB / 0.9031 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.7948, allocations: 2.147 MB / 0.9052 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.7953, allocations: 232 kB / 0.9054 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.7954, allocations: 12.88 kB / 0.9054 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.796, allocations: 19.98 kB / 0.9054 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.7962, allocations: 56.44 kB / 0.9055 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.7962, allocations: 20 kB / 0.9055 GB, free: 9.289 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005968/0.7968, allocations: 0.5029 MB / 0.906 GB, free: 8.789 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7968, allocations: 0 / 0.906 GB, free: 8.789 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009354/0.7978, allocations: 283.8 kB / 0.9063 GB, free: 8.512 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/0.7982, allocations: 222.4 kB / 0.9065 GB, free: 8.293 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003425/0.8017, allocations: 1.461 MB / 0.9079 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8017, allocations: 0 / 0.9079 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.8035, allocations: 0.9113 MB / 0.9088 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.8055, allocations: 460.6 kB / 0.9092 GB, free: 5.438 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.8082, allocations: 1.756 MB / 0.911 GB, free: 3.633 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.8087, allocations: 0.9828 MB / 0.9119 GB, free: 2.625 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.8089, allocations: 71.42 kB / 0.912 GB, free: 2.555 MB / 0.67 GB Notification: Performance of SimCode: time 2.756e-06/0.8089, allocations: 0 / 0.912 GB, free: 2.555 MB / 0.67 GB Notification: Performance of Templates: time 0.02274/0.8317, allocations: 19.28 MB / 0.9308 GB, free: 15.39 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)