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.001218/0.001218, allocations: 108 kB / 15.61 MB, free: 152 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.001287/0.001287, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6736/0.6736, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 60.64 kB / 0.5018 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3559, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.18/0.5359, allocations: 192.6 MB / 0.7682 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005265/0.5413, allocations: 4.02 MB / 0.7721 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.5418, allocations: 23.88 kB / 0.7722 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.5428, allocations: 473 kB / 0.7726 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.5455, allocations: 1.524 MB / 0.7741 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.5482, allocations: 1.353 MB / 0.7754 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.5498, allocations: 1.639 MB / 0.777 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.5507, allocations: 0.9509 MB / 0.7779 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5517, allocations: 0.9073 MB / 0.7788 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000838/0.5526, allocations: 0.8565 MB / 0.7797 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.5527, allocations: 96 kB / 0.7798 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.5546, allocations: 1.305 MB / 0.781 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.5549, allocations: 355 kB / 0.7814 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.5554, allocations: 0.5094 MB / 0.7819 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.557, allocations: 1.621 MB / 0.7834 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.557, allocations: 0 / 0.7834 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.557, allocations: 4 kB / 0.7835 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.557, allocations: 3.938 kB / 0.7835 GB, free: 0.5586 MB / 0.6075 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.002545/0.5595, allocations: 1.458 MB / 0.7849 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.5596, allocations: 8.031 kB / 0.7849 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.561, allocations: 242.7 kB / 0.7851 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.5617, allocations: 0.5837 MB / 0.7857 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5617, allocations: 44.98 kB / 0.7857 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.5618, allocations: 48 kB / 0.7858 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5631, allocations: 0.9609 MB / 0.7867 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.5631, allocations: 3.938 kB / 0.7867 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.5632, allocations: 27.98 kB / 0.7867 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.5632, allocations: 23.94 kB / 0.7868 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.5646, allocations: 0.9445 MB / 0.7877 GB, free: 12.06 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.004486/0.5691, allocations: 4.273 MB / 0.7919 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.57, allocations: 0.5977 MB / 0.7924 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.5707, allocations: 0.5097 MB / 0.7929 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009303/0.5716, allocations: 0.8783 MB / 0.7938 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5717, allocations: 39 kB / 0.7938 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001351/0.573, allocations: 415.2 kB / 0.7942 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 2.395e-06/0.573, allocations: 0 / 0.7942 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01646/0.5895, allocations: 3.845 MB / 0.798 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5896, allocations: 59.84 kB / 0.798 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.5905, allocations: 0.7078 MB / 0.7987 GB, free: 296 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.5906, allocations: 37.7 kB / 0.7988 GB, free: 252 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5908, allocations: 316.7 kB / 0.7991 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.591, allocations: 177.3 kB / 0.7992 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5912, allocations: 146.1 kB / 0.7994 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.5913, allocations: 322 kB / 0.7997 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.5919, allocations: 404.9 kB / 0.8001 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.5926, allocations: 481.5 kB / 0.8005 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.5939, allocations: 0.9219 MB / 0.8014 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5939, allocations: 0 / 0.8014 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01083/0.6048, allocations: 2.568 MB / 0.8039 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6048, allocations: 4 kB / 0.8039 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.6048, allocations: 7.938 kB / 0.804 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009055/0.6139, allocations: 1.73 MB / 0.8056 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.6144, allocations: 95.86 kB / 0.8057 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.6256, allocations: 7.147 MB / 0.8127 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.6264, allocations: 20.06 kB / 0.8127 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.6264, allocations: 47.92 kB / 0.8128 GB, free: 1.512 MB / 0.6387 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.0003326/0.6268, allocations: 205.7 kB / 0.813 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.627, allocations: 90.89 kB / 0.8131 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2353/0.8623, allocations: 1.734 MB / 0.8148 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.8623, allocations: 6.188 kB / 0.8148 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.8624, allocations: 4.297 kB / 0.8148 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.8624, allocations: 5.875 kB / 0.8148 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/0.8686, allocations: 2.535 MB / 0.8172 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.8686, allocations: 2.281 kB / 0.8173 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.8691, allocations: 92.41 kB / 0.8173 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.8724, allocations: 0.8088 MB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.8725, allocations: 19.8 kB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.8786, allocations: 4.856 MB / 0.8229 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.8786, allocations: 2.516 kB / 0.8229 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/0.8838, allocations: 2.145 MB / 0.825 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.8842, allocations: 237.3 kB / 0.8252 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.8844, allocations: 13.14 kB / 0.8252 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.885, allocations: 26.73 kB / 0.8253 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.8852, allocations: 52.58 kB / 0.8253 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.8853, allocations: 19.77 kB / 0.8253 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007064/0.886, allocations: 0.4953 MB / 0.8258 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.886, allocations: 0 / 0.8258 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009629/0.887, allocations: 282.9 kB / 0.8261 GB, free: 214.5 MB / 0.6387 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.0004466/0.8874, allocations: 221 kB / 0.8263 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003379/0.8908, allocations: 1.518 MB / 0.8278 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8908, allocations: 7.359 kB / 0.8278 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.8924, allocations: 0.9166 MB / 0.8287 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.8945, allocations: 457.9 kB / 0.8291 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.897, allocations: 1.725 MB / 0.8308 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.8974, allocations: 0.9792 MB / 0.8317 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006425/0.8981, allocations: 165.9 kB / 0.8319 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.8983, allocations: 67.59 kB / 0.832 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.8983, allocations: 3.938 kB / 0.832 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.02882/0.9271, allocations: 22.64 MB / 0.8541 GB, free: 197.8 MB / 0.6387 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)