Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 168.6 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007279/0.0007279, allocations: 90.34 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 9.062 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.4716/0.6099, allocations: 211.3 MB / 1.103 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009779/0.6197, allocations: 10.3 MB / 1.113 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.6207, allocations: 31.16 kB / 1.113 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.6222, allocations: 0.7315 MB / 1.113 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.627, allocations: 2.705 MB / 1.116 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.6296, allocations: 1.349 MB / 1.117 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.6327, allocations: 4.764 MB / 1.122 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.6334, allocations: 0.8735 MB / 1.123 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/0.6344, allocations: 1.012 MB / 1.124 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.6359, allocations: 1.1 MB / 1.125 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.6361, allocations: 57.25 kB / 1.125 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.6401, allocations: 3.189 MB / 1.128 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.6404, allocations: 446.6 kB / 1.128 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.641, allocations: 0.6674 MB / 1.129 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.644, allocations: 2.955 MB / 1.132 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.644, allocations: 0 / 1.132 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.644, allocations: 0.8438 kB / 1.132 GB, free: 480 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.644, allocations: 0 / 1.132 GB, free: 480 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003207/0.6472, allocations: 1.568 MB / 1.134 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6473, allocations: 9.656 kB / 1.134 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.6475, allocations: 152.8 kB / 1.134 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.65, allocations: 431.8 kB / 1.134 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6512, allocations: 0.8488 MB / 1.135 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.6513, allocations: 75.23 kB / 1.135 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6514, allocations: 99.25 kB / 1.135 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.6532, allocations: 1.213 MB / 1.136 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.6532, allocations: 14.95 kB / 1.136 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.6533, allocations: 41.92 kB / 1.136 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.6534, allocations: 54.45 kB / 1.136 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.6548, allocations: 1.075 MB / 1.137 GB, free: 14.99 MB / 0.7136 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.004179/0.659, allocations: 4.749 MB / 1.142 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.6603, allocations: 0.9828 MB / 1.143 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.6611, allocations: 0.5611 MB / 1.144 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/0.6616, allocations: 0.6763 MB / 1.144 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6616, allocations: 48.19 kB / 1.144 GB, free: 11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 1.864e-06/0.6616, allocations: 2.906 kB / 1.144 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83): time 0.003392/0.665, allocations: 2.28 MB / 1.146 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6651, allocations: 65.89 kB / 1.147 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.6657, allocations: 0.6445 MB / 1.147 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.6658, allocations: 42.95 kB / 1.147 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.666, allocations: 454.8 kB / 1.148 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6662, allocations: 293.6 kB / 1.148 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.6663, allocations: 71.83 kB / 1.148 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6664, allocations: 388.1 kB / 1.148 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.6668, allocations: 320.5 kB / 1.149 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.6673, allocations: 434.2 kB / 1.149 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009573/0.6683, allocations: 0.7797 MB / 1.15 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6683, allocations: 3.938 kB / 1.15 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001267/0.6696, allocations: 0.9458 MB / 1.151 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6696, allocations: 6.188 kB / 1.151 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6696, allocations: 0 / 1.151 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.6698, allocations: 59.61 kB / 1.151 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.6704, allocations: 156.3 kB / 1.151 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003911/0.6708, allocations: 0.606 MB / 1.152 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.6716, allocations: 88.98 kB / 1.152 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.6717, allocations: 32.72 kB / 1.152 GB, free: 7.59 MB / 0.7136 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.0003638/0.672, allocations: 314.6 kB / 1.152 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6722, allocations: 90.81 kB / 1.152 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6735, allocations: 0.9198 MB / 1.153 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6735, allocations: 8.719 kB / 1.153 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6735, allocations: 0 / 1.153 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.6746, allocations: 0.9215 MB / 1.154 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.6772, allocations: 2.116 MB / 1.156 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6772, allocations: 0 / 1.156 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.678, allocations: 197.3 kB / 1.156 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.678, allocations: 1.781 kB / 1.156 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.6781, allocations: 18.28 kB / 1.156 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.6781, allocations: 3.219 kB / 1.156 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6781, allocations: 4 kB / 1.156 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6799, allocations: 1.469 MB / 1.158 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.6802, allocations: 263.6 kB / 1.158 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6803, allocations: 17.28 kB / 1.158 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.6811, allocations: 89.22 kB / 1.158 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6812, allocations: 59.3 kB / 1.158 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.6813, allocations: 29.45 kB / 1.158 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004405/0.6817, allocations: 458.1 kB / 1.158 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6817, allocations: 0 / 1.158 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006463/0.6824, allocations: 325.7 kB / 1.159 GB, free: 3.305 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002159/0.6845, allocations: 2.121 MB / 1.161 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.6858, allocations: 0.8105 MB / 1.162 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6858, allocations: 0.9062 kB / 1.162 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.6864, allocations: 442.5 kB / 1.162 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.6886, allocations: 0.565 MB / 1.163 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.6981, allocations: 8.119 MB / 1.171 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.6987, allocations: 1.132 MB / 1.172 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008632/0.6996, allocations: 251.8 kB / 1.172 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.7001, allocations: 387.3 kB / 1.172 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.7001, allocations: 0 / 1.172 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.7428, allocations: 26.75 MB / 1.198 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.743, allocations: 245 kB / 1.199 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.274, allocations: 4 kB / 1.199 GB, free: 14.27 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)