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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.8572/0.8572, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 82.05 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.3636/0.4839, allocations: 204.3 MB / 0.7939 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008456/0.4924, allocations: 6.39 MB / 0.8001 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.4933, allocations: 35.81 kB / 0.8002 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.4948, allocations: 0.7304 MB / 0.8009 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.4995, allocations: 2.668 MB / 0.8035 GB, free: 7.188 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.001275/0.5008, allocations: 0.6982 MB / 0.8042 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.5035, allocations: 3.276 MB / 0.8074 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5046, allocations: 1.146 MB / 0.8085 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.5059, allocations: 1.246 MB / 0.8097 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.5073, allocations: 1.091 MB / 0.8108 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.5075, allocations: 128 kB / 0.8109 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.5106, allocations: 2.358 MB / 0.8132 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.511, allocations: 0.5182 MB / 0.8137 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.5116, allocations: 0.7391 MB / 0.8144 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.5143, allocations: 2.86 MB / 0.8172 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5143, allocations: 0 / 0.8172 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5143, allocations: 3.938 kB / 0.8172 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.5143, allocations: 0 / 0.8172 GB, free: 9.078 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.003208/0.5175, allocations: 1.769 MB / 0.8189 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5176, allocations: 19.97 kB / 0.819 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.5177, allocations: 160.6 kB / 0.8191 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.5197, allocations: 338.2 kB / 0.8194 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5208, allocations: 0.8466 MB / 0.8203 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.5209, allocations: 81.94 kB / 0.8203 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.521, allocations: 111.9 kB / 0.8204 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5226, allocations: 1.191 MB / 0.8216 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5226, allocations: 0 / 0.8216 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.5227, allocations: 43.98 kB / 0.8216 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.23e-05/0.5228, allocations: 62.06 kB / 0.8217 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.5245, allocations: 1.246 MB / 0.8229 GB, free: 3.074 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.005156/0.5296, allocations: 5.134 MB / 0.8279 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5309, allocations: 1.167 MB / 0.8291 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.5316, allocations: 0.5011 MB / 0.8296 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.5316, allocations: 16.78 kB / 0.8296 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005979/0.5322, allocations: 484.2 kB / 0.83 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 1.743e-06/0.5322, allocations: 0 / 0.83 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001649/0.5339, allocations: 1.165 MB / 0.8312 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.5339, allocations: 60.06 kB / 0.8312 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.5345, allocations: 0.5782 MB / 0.8318 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5345, allocations: 41.7 kB / 0.8318 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5348, allocations: 455.7 kB / 0.8323 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.535, allocations: 272.1 kB / 0.8325 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.5352, allocations: 130.6 kB / 0.8327 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5353, allocations: 382.8 kB / 0.833 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.5358, allocations: 341.2 kB / 0.8333 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.5363, allocations: 440.8 kB / 0.8338 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.5372, allocations: 0.8271 MB / 0.8346 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5372, allocations: 0 / 0.8346 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001175/0.5384, allocations: 0.9257 MB / 0.8355 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5384, allocations: 8.344 kB / 0.8355 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5385, allocations: 8 kB / 0.8355 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5385, allocations: 11.92 kB / 0.8355 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.5391, allocations: 151.8 kB / 0.8357 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5391, allocations: 7.938 kB / 0.8357 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.5397, allocations: 59.38 kB / 0.8357 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.5398, allocations: 31.98 kB / 0.8357 GB, free: 5.25 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.000337/0.5401, allocations: 325.6 kB / 0.8361 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5402, allocations: 79.06 kB / 0.8361 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.5404, allocations: 111.8 kB / 0.8362 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5404, allocations: 11.94 kB / 0.8363 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5405, allocations: 0 / 0.8363 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.5415, allocations: 1.089 MB / 0.8373 GB, free: 3.539 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.002569/0.5441, allocations: 2.312 MB / 0.8396 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5441, allocations: 4.031 kB / 0.8396 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.5449, allocations: 171.8 kB / 0.8397 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.5449, allocations: 4 kB / 0.8397 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.545, allocations: 20 kB / 0.8398 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.545, allocations: 0 / 0.8398 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.545, allocations: 7.938 kB / 0.8398 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5466, allocations: 1.354 MB / 0.8411 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.5469, allocations: 256 kB / 0.8413 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.547, allocations: 16 kB / 0.8414 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.5475, allocations: 23.62 kB / 0.8414 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.5476, allocations: 40.59 kB / 0.8414 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.5477, allocations: 31.98 kB / 0.8414 GB, free: 15.19 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000404/0.5481, allocations: 407.1 kB / 0.8418 GB, free: 14.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5481, allocations: 0 / 0.8418 GB, free: 14.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007281/0.5488, allocations: 371.1 kB / 0.8422 GB, free: 14.43 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.001928/0.5508, allocations: 1.982 MB / 0.8441 GB, free: 12.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.5523, allocations: 1.033 MB / 0.8451 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5523, allocations: 4 kB / 0.8451 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.5528, allocations: 427.5 kB / 0.8455 GB, free: 10.97 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.5551, allocations: 0.5897 MB / 0.8461 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/0.563, allocations: 7.49 MB / 0.8534 GB, free: 2.789 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.5637, allocations: 1.136 MB / 0.8545 GB, free: 1.625 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007929/0.5645, allocations: 280.7 kB / 0.8548 GB, free: 1.348 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.5649, allocations: 375.3 kB / 0.8552 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.5649, allocations: 3.938 kB / 0.8552 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/0.7897, allocations: 25.76 MB / 0.8803 GB, free: 212.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.528, allocations: 15.55 kB / 0.8803 GB, free: 212.9 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)