Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8851/0.8851, allocations: 134 MB / 440.3 MB, free: 228 kB / 334.1 MB " [Timeout remaining time 179] 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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 72.44 kB / 0.6107 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1921, allocations: 84.73 MB / 0.6935 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6108/0.8029, allocations: 205.3 MB / 0.894 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.8138, allocations: 6.399 MB / 0.9002 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.815, allocations: 51.62 kB / 0.9003 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.8171, allocations: 0.7694 MB / 0.901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.8238, allocations: 2.816 MB / 0.9038 GB, free: 10.99 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.8257, allocations: 0.7389 MB / 0.9045 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004213/0.8299, allocations: 3.347 MB / 0.9078 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.8312, allocations: 0.8246 MB / 0.9086 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.8335, allocations: 1.316 MB / 0.9099 GB, free: 4.727 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.8358, allocations: 1.166 MB / 0.911 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.836, allocations: 128 kB / 0.9111 GB, free: 3.438 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004993/0.841, allocations: 2.556 MB / 0.9136 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.8417, allocations: 0.5375 MB / 0.9142 GB, free: 344 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009945/0.8426, allocations: 0.7391 MB / 0.9149 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.8474, allocations: 2.811 MB / 0.9176 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8474, allocations: 0 / 0.9176 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8474, allocations: 0 / 0.9176 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.8474, allocations: 0 / 0.9176 GB, free: 12.78 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004119/0.8515, allocations: 1.734 MB / 0.9193 GB, free: 11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8516, allocations: 12.03 kB / 0.9193 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.8538, allocations: 354.8 kB / 0.9197 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.8554, allocations: 0.8103 MB / 0.9205 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.8554, allocations: 78 kB / 0.9205 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.8556, allocations: 100 kB / 0.9206 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.8577, allocations: 1.195 MB / 0.9218 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.8577, allocations: 0 / 0.9218 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.8578, allocations: 39.98 kB / 0.9218 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.8579, allocations: 58.08 kB / 0.9219 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.8599, allocations: 1.246 MB / 0.9231 GB, free: 7.055 MB / 0.6856 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.007106/0.867, allocations: 5.038 MB / 0.928 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.8684, allocations: 0.8 MB / 0.9288 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.8691, allocations: 465.2 kB / 0.9293 GB, free: 304 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.8692, allocations: 20.64 kB / 0.9293 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.87, allocations: 484.4 kB / 0.9297 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.87, allocations: 0 / 0.9297 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002192/0.8722, allocations: 1.169 MB / 0.9309 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8722, allocations: 60.06 kB / 0.9309 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.873, allocations: 0.5706 MB / 0.9315 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.8731, allocations: 41.7 kB / 0.9315 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.8734, allocations: 472.5 kB / 0.932 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.8737, allocations: 285.5 kB / 0.9323 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.8739, allocations: 126.7 kB / 0.9324 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.8741, allocations: 394.7 kB / 0.9327 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.8746, allocations: 325.8 kB / 0.9331 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.8753, allocations: 454.5 kB / 0.9335 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8765, allocations: 0.8233 MB / 0.9343 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8765, allocations: 0 / 0.9343 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001494/0.878, allocations: 0.9381 MB / 0.9352 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.878, allocations: 11.94 kB / 0.9352 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.878, allocations: 0 / 0.9352 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.878, allocations: 8 kB / 0.9352 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.8787, allocations: 155.8 kB / 0.9354 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8787, allocations: 4 kB / 0.9354 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.8795, allocations: 71.44 kB / 0.9355 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.8796, allocations: 28 kB / 0.9355 GB, free: 9.766 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005093/0.8801, allocations: 333.6 kB / 0.9358 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.8802, allocations: 87.42 kB / 0.9359 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.8805, allocations: 107.8 kB / 0.936 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.8805, allocations: 8 kB / 0.936 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8805, allocations: 3.938 kB / 0.936 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.8818, allocations: 1.085 MB / 0.9371 GB, free: 8.047 MB / 0.7012 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 postOpt removeSimpleEquations (simulation): time 0.003367/0.8852, allocations: 2.279 MB / 0.9393 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8852, allocations: 7.969 kB / 0.9393 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/0.8861, allocations: 179.8 kB / 0.9395 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.8861, allocations: 0 / 0.9395 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.8862, allocations: 19.94 kB / 0.9395 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.8862, allocations: 4 kB / 0.9395 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8862, allocations: 0 / 0.9395 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.8883, allocations: 1.492 MB / 0.9409 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.8887, allocations: 179.3 kB / 0.9411 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8888, allocations: 16 kB / 0.9411 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.8895, allocations: 25.98 kB / 0.9411 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.8896, allocations: 40.58 kB / 0.9412 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.8896, allocations: 31.98 kB / 0.9412 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005065/0.8901, allocations: 418.9 kB / 0.9416 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8901, allocations: 0 / 0.9416 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009103/0.891, allocations: 371.4 kB / 0.942 GB, free: 2.914 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002825/0.8913, allocations: 169.1 kB / 0.9421 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.8926, allocations: 0.7707 MB / 0.9429 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8926, allocations: 0 / 0.9429 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.8931, allocations: 399.4 kB / 0.9433 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.8957, allocations: 0.592 MB / 0.9438 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.8991, allocations: 2.175 MB / 0.946 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/0.8999, allocations: 1.144 MB / 0.9471 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008431/0.9007, allocations: 267.2 kB / 0.9473 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.901, allocations: 71.44 kB / 0.9474 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.901, allocations: 0 / 0.9474 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.03244/0.9334, allocations: 19.97 MB / 0.9669 GB, free: 9.574 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.845498234964907] Failed to read output from testmodel.py, exit status != 0: 0.9409241890534759 0.95496635 0.10454360399999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f37372017b0>