Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001101/0.001101, allocations: 190.8 kB / 16.25 MB, free: 6.617 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8628/0.8628, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1164, allocations: 82.05 MB / 0.5939 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.3538/0.4702, allocations: 201.6 MB / 0.7908 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007565/0.4778, allocations: 6.351 MB / 0.797 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.4783, allocations: 35.81 kB / 0.7971 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.4796, allocations: 0.661 MB / 0.7977 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.4837, allocations: 2.52 MB / 0.8002 GB, free: 10.25 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/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.001153/0.4849, allocations: 0.6523 MB / 0.8008 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.4875, allocations: 3.259 MB / 0.804 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.4885, allocations: 1.109 MB / 0.8051 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.4899, allocations: 1.265 MB / 0.8063 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.4914, allocations: 1.174 MB / 0.8075 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.4916, allocations: 128 kB / 0.8076 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.4946, allocations: 2.462 MB / 0.81 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.495, allocations: 0.5143 MB / 0.8105 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.4956, allocations: 0.743 MB / 0.8112 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.4983, allocations: 3.031 MB / 0.8142 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4984, allocations: 0 / 0.8142 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4984, allocations: 0 / 0.8142 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4984, allocations: 0 / 0.8142 GB, free: 11.87 MB / 0.6387 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.003314/0.5017, allocations: 1.777 MB / 0.8159 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.5017, allocations: 8.031 kB / 0.8159 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.5019, allocations: 165.2 kB / 0.8161 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.5039, allocations: 346.2 kB / 0.8164 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.505, allocations: 0.8388 MB / 0.8172 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.5051, allocations: 82 kB / 0.8173 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5052, allocations: 96.69 kB / 0.8174 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.5069, allocations: 1.191 MB / 0.8185 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.5069, allocations: 4 kB / 0.8186 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.507, allocations: 39.98 kB / 0.8186 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.507, allocations: 66.08 kB / 0.8187 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.5087, allocations: 1.246 MB / 0.8199 GB, free: 5.875 MB / 0.6387 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.005046/0.5137, allocations: 5.072 MB / 0.8248 GB, free: 356 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.515, allocations: 1.151 MB / 0.8259 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.5157, allocations: 0.5129 MB / 0.8264 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.5157, allocations: 16.8 kB / 0.8265 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.5164, allocations: 488.2 kB / 0.8269 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 1.863e-06/0.5164, allocations: 0 / 0.8269 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00164/0.518, allocations: 1.157 MB / 0.8281 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5181, allocations: 64.06 kB / 0.8281 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.5186, allocations: 0.5821 MB / 0.8287 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.5187, allocations: 41.7 kB / 0.8287 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.5189, allocations: 455.7 kB / 0.8292 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.5191, allocations: 268.1 kB / 0.8294 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.5193, allocations: 134.6 kB / 0.8295 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5194, allocations: 382.8 kB / 0.8299 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.5199, allocations: 337.3 kB / 0.8302 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.5203, allocations: 452.7 kB / 0.8307 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.5213, allocations: 0.8271 MB / 0.8315 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5213, allocations: 0 / 0.8315 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00116/0.5225, allocations: 0.9257 MB / 0.8324 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5225, allocations: 8 kB / 0.8324 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5225, allocations: 4.891 kB / 0.8324 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5225, allocations: 11.94 kB / 0.8324 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5231, allocations: 163.7 kB / 0.8326 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5232, allocations: 4 kB / 0.8326 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.524, allocations: 159.2 kB / 0.8327 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.524, allocations: 24 kB / 0.8327 GB, free: 8.004 MB / 0.6544 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.0003377/0.5244, allocations: 329.6 kB / 0.833 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5245, allocations: 83.06 kB / 0.8331 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.5247, allocations: 107.7 kB / 0.8332 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5247, allocations: 15.92 kB / 0.8332 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5247, allocations: 0 / 0.8332 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.5258, allocations: 1.085 MB / 0.8343 GB, free: 6.289 MB / 0.6544 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.002639/0.5284, allocations: 2.316 MB / 0.8366 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5284, allocations: 0 / 0.8366 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.5292, allocations: 175.8 kB / 0.8367 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5292, allocations: 0 / 0.8367 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.5293, allocations: 23.98 kB / 0.8368 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.5293, allocations: 8.031 kB / 0.8368 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5293, allocations: 0 / 0.8368 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5309, allocations: 1.35 MB / 0.8381 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.5312, allocations: 252 kB / 0.8383 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.5313, allocations: 12 kB / 0.8383 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.532, allocations: 104.3 kB / 0.8384 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.5321, allocations: 52.53 kB / 0.8385 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.5321, allocations: 24 kB / 0.8385 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003799/0.5325, allocations: 411 kB / 0.8389 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5325, allocations: 4 kB / 0.8389 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006678/0.5332, allocations: 363.1 kB / 0.8393 GB, free: 1.105 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.001864/0.5351, allocations: 1.979 MB / 0.8412 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.5366, allocations: 1.032 MB / 0.8422 GB, free: 14.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5366, allocations: 0 / 0.8422 GB, free: 14.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.5371, allocations: 427.5 kB / 0.8426 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.5394, allocations: 0.5995 MB / 0.8432 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.5481, allocations: 7.901 MB / 0.8509 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.5486, allocations: 1.14 MB / 0.852 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007966/0.5495, allocations: 272.7 kB / 0.8523 GB, free: 3.613 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.5499, allocations: 375.3 kB / 0.8526 GB, free: 3.246 MB / 0.67 GB Notification: Performance of SimCode: time 3.3e-07/0.5499, allocations: 0 / 0.8526 GB, free: 3.246 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.103/2.653, allocations: 25.6 MB / 0.8776 GB, free: 211.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/2.653, allocations: 198.6 kB / 0.8778 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/5.51, allocations: 6.078 kB / 0.8778 GB, free: 210.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)