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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001087/0.001087, allocations: 192.1 kB / 16.14 MB, free: 6.734 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.8514/0.8514, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 63.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1218, allocations: 82.04 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.362/0.4839, allocations: 202 MB / 0.791 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008755/0.4926, allocations: 6.464 MB / 0.7973 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.4939, allocations: 31.81 kB / 0.7973 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4954, allocations: 0.6493 MB / 0.798 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.5004, allocations: 2.525 MB / 0.8004 GB, free: 9.965 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.001351/0.5018, allocations: 0.6256 MB / 0.8011 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003876/0.5057, allocations: 4.834 MB / 0.8058 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5067, allocations: 0.9601 MB / 0.8067 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.5081, allocations: 1.085 MB / 0.8078 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.5097, allocations: 1.15 MB / 0.8089 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5099, allocations: 72 kB / 0.809 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.5138, allocations: 2.723 MB / 0.8116 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.5142, allocations: 470.6 kB / 0.8121 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.5149, allocations: 0.6805 MB / 0.8127 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.5179, allocations: 2.984 MB / 0.8157 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5179, allocations: 0 / 0.8157 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5179, allocations: 0 / 0.8157 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.518, allocations: 0 / 0.8157 GB, free: 10.34 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.003432/0.5214, allocations: 1.769 MB / 0.8174 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5214, allocations: 8.031 kB / 0.8174 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.5216, allocations: 172.6 kB / 0.8176 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.5237, allocations: 346.2 kB / 0.8179 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5248, allocations: 0.8427 MB / 0.8187 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.5249, allocations: 78.02 kB / 0.8188 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.525, allocations: 96 kB / 0.8189 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.5267, allocations: 1.191 MB / 0.82 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5268, allocations: 11.94 kB / 0.82 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.5269, allocations: 40 kB / 0.8201 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.5269, allocations: 58.08 kB / 0.8201 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.5286, allocations: 1.253 MB / 0.8214 GB, free: 4.344 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.005233/0.5339, allocations: 5.063 MB / 0.8263 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5352, allocations: 1.174 MB / 0.8275 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.5358, allocations: 0.5012 MB / 0.8279 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.5359, allocations: 8.812 kB / 0.828 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.5365, allocations: 488.2 kB / 0.8284 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.5366, allocations: 0 / 0.8284 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001702/0.5383, allocations: 1.165 MB / 0.8296 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5383, allocations: 64.06 kB / 0.8296 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.5389, allocations: 0.5782 MB / 0.8302 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.5389, allocations: 41.64 kB / 0.8302 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.5392, allocations: 455.7 kB / 0.8307 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5394, allocations: 268.1 kB / 0.8309 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.5396, allocations: 130.6 kB / 0.831 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5397, allocations: 382.8 kB / 0.8314 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.5402, allocations: 337.8 kB / 0.8317 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.5407, allocations: 448.8 kB / 0.8322 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5417, allocations: 0.8232 MB / 0.833 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5417, allocations: 0 / 0.833 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001195/0.5429, allocations: 0.9257 MB / 0.8339 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5429, allocations: 8.344 kB / 0.8339 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5429, allocations: 8 kB / 0.8339 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5429, allocations: 7.938 kB / 0.8339 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.5435, allocations: 163.7 kB / 0.834 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5436, allocations: 4 kB / 0.834 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.5444, allocations: 159.2 kB / 0.8342 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.5444, allocations: 24 kB / 0.8342 GB, free: 6.484 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.0003463/0.5448, allocations: 329.6 kB / 0.8345 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5449, allocations: 79.06 kB / 0.8346 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.5451, allocations: 111.7 kB / 0.8347 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5451, allocations: 15.88 kB / 0.8347 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5451, allocations: 3.938 kB / 0.8347 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.5462, allocations: 1.089 MB / 0.8358 GB, free: 4.766 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.002744/0.549, allocations: 2.309 MB / 0.8381 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.549, allocations: 4 kB / 0.8381 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.5498, allocations: 167.8 kB / 0.8382 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5498, allocations: 4.031 kB / 0.8382 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.5498, allocations: 27.92 kB / 0.8382 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5498, allocations: 4 kB / 0.8382 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5498, allocations: 0 / 0.8382 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.5514, allocations: 1.35 MB / 0.8396 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.5518, allocations: 248 kB / 0.8398 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.5519, allocations: 16 kB / 0.8398 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.5526, allocations: 109.1 kB / 0.8399 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.5527, allocations: 44.59 kB / 0.84 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.5527, allocations: 20 kB / 0.84 GB, free: 360 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004022/0.5532, allocations: 423 kB / 0.8404 GB, free: 15.94 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5532, allocations: 0 / 0.8404 GB, free: 15.94 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006841/0.5538, allocations: 363.1 kB / 0.8407 GB, free: 15.59 MB / 0.67 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.001917/0.5558, allocations: 1.977 MB / 0.8427 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.5568, allocations: 0.7981 MB / 0.8434 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5568, allocations: 0 / 0.8434 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.5573, allocations: 427.5 kB / 0.8439 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.5595, allocations: 0.5603 MB / 0.8444 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/0.5683, allocations: 7.907 MB / 0.8521 GB, free: 3.766 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.5689, allocations: 1.14 MB / 0.8532 GB, free: 2.598 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008366/0.5698, allocations: 279.7 kB / 0.8535 GB, free: 2.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.5703, allocations: 371.3 kB / 0.8539 GB, free: 1.957 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5703, allocations: 4 kB / 0.8539 GB, free: 1.953 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7428/1.313, allocations: 24.81 MB / 0.8781 GB, free: 210 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/1.313, allocations: 208.7 kB / 0.8783 GB, free: 209.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/3.342, allocations: 4 kB / 0.8783 GB, free: 209.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)