Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00121/0.00121, allocations: 191.6 kB / 16.13 MB, free: 6.672 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 286.3 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 89.83 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1705, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5684/0.7389, allocations: 211.4 MB / 0.8859 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.7536, allocations: 10.3 MB / 0.896 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.7557, allocations: 32 kB / 0.896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.7581, allocations: 0.7353 MB / 0.8967 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007418/0.7656, allocations: 2.724 MB / 0.8994 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.7693, allocations: 1.289 MB / 0.9006 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005007/0.7744, allocations: 4.65 MB / 0.9052 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.7758, allocations: 0.8713 MB / 0.906 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.7778, allocations: 0.9726 MB / 0.907 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.7802, allocations: 1.123 MB / 0.9081 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.7804, allocations: 64 kB / 0.9081 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00615/0.7865, allocations: 3.195 MB / 0.9112 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007683/0.7873, allocations: 450.6 kB / 0.9117 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.7885, allocations: 0.6726 MB / 0.9123 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007144/0.7957, allocations: 2.945 MB / 0.9152 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7957, allocations: 0 / 0.9152 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7958, allocations: 0 / 0.9152 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.7958, allocations: 0 / 0.9152 GB, free: 6.48 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004603/0.8004, allocations: 1.792 MB / 0.917 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.8005, allocations: 8.031 kB / 0.917 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.8036, allocations: 434 kB / 0.9174 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8052, allocations: 0.8589 MB / 0.9182 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.8053, allocations: 70 kB / 0.9183 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.8055, allocations: 92 kB / 0.9184 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.8075, allocations: 1.202 MB / 0.9195 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.8076, allocations: 7.844 kB / 0.9195 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.8077, allocations: 43.98 kB / 0.9196 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.8078, allocations: 53.97 kB / 0.9196 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.8096, allocations: 1.073 MB / 0.9207 GB, free: 0.7227 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.005612/0.8152, allocations: 4.735 MB / 0.9253 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.8167, allocations: 0.988 MB / 0.9263 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009415/0.8177, allocations: 0.5681 MB / 0.9268 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.8183, allocations: 0.6733 MB / 0.9275 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.8183, allocations: 47.2 kB / 0.9275 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.8184, allocations: 4 kB / 0.9275 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.004923/0.8233, allocations: 2.296 MB / 0.9298 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.8234, allocations: 60.41 kB / 0.9298 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000869/0.8243, allocations: 0.6449 MB / 0.9305 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.8243, allocations: 41.7 kB / 0.9305 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.8249, allocations: 460 kB / 0.9309 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.8252, allocations: 295.7 kB / 0.9312 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.8254, allocations: 134.6 kB / 0.9314 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8256, allocations: 390.7 kB / 0.9317 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.8261, allocations: 317.8 kB / 0.932 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.8267, allocations: 430.5 kB / 0.9324 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.828, allocations: 0.7885 MB / 0.9332 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.828, allocations: 0 / 0.9332 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001889/0.8299, allocations: 0.9463 MB / 0.9341 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.83, allocations: 12.25 kB / 0.9341 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.83, allocations: 1.016 kB / 0.9341 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.8303, allocations: 56.83 kB / 0.9342 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.831, allocations: 159.7 kB / 0.9344 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/0.8316, allocations: 0.6031 MB / 0.9349 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8328, allocations: 111.7 kB / 0.9351 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.8329, allocations: 28 kB / 0.9351 GB, free: 1.203 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 (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.8335, allocations: 302.2 kB / 0.9354 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.8337, allocations: 94.91 kB / 0.9355 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.8353, allocations: 0.926 MB / 0.9364 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.8353, allocations: 8 kB / 0.9364 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8353, allocations: 0 / 0.9364 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/0.8366, allocations: 0.9387 MB / 0.9373 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.84, allocations: 2.107 MB / 0.9393 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.84, allocations: 4 kB / 0.9393 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/0.841, allocations: 195.8 kB / 0.9395 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.841, allocations: 4 kB / 0.9395 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.8411, allocations: 19.98 kB / 0.9396 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8411, allocations: 7.938 kB / 0.9396 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8411, allocations: 0 / 0.9396 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.8432, allocations: 1.385 MB / 0.9409 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.8437, allocations: 251.9 kB / 0.9412 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8438, allocations: 23.92 kB / 0.9412 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.8446, allocations: 80.53 kB / 0.9413 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8448, allocations: 52.92 kB / 0.9413 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.8448, allocations: 27.98 kB / 0.9413 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005768/0.8454, allocations: 459 kB / 0.9418 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8454, allocations: 0 / 0.9418 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009338/0.8464, allocations: 319.9 kB / 0.9421 GB, free: 9.883 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0003584/0.8467, allocations: 225.3 kB / 0.9423 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.8482, allocations: 0.8051 MB / 0.9431 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8482, allocations: 4 kB / 0.9431 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.8489, allocations: 437.6 kB / 0.9435 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.8513, allocations: 0.5707 MB / 0.9441 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.8556, allocations: 2.742 MB / 0.9467 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.8564, allocations: 1.128 MB / 0.9478 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001133/0.8575, allocations: 255.8 kB / 0.9481 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.8578, allocations: 79.44 kB / 0.9482 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of SimCode: time 1.133e-06/0.8578, allocations: 0 / 0.9482 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of Templates: time 0.03293/0.8907, allocations: 19.54 MB / 0.9672 GB, free: 348 kB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)