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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> 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.007676/0.007676, allocations: 99.58 kB / 15.73 MB, free: 6.004 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.002068/0.002068, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.036/1.036, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.91 kB / 0.5953 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3374, allocations: 82.03 MB / 0.6754 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5743/0.9117, allocations: 204.3 MB / 0.8749 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00881/0.9206, allocations: 6.388 MB / 0.8811 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.9219, allocations: 34.47 kB / 0.8812 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.9236, allocations: 0.7288 MB / 0.8819 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.9297, allocations: 2.682 MB / 0.8845 GB, free: 1.707 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001698/0.9314, allocations: 0.7028 MB / 0.8852 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004555/0.936, allocations: 3.285 MB / 0.8884 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.9375, allocations: 1.135 MB / 0.8895 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.94, allocations: 1.246 MB / 0.8907 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9423, allocations: 1.098 MB / 0.8918 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.9426, allocations: 128.1 kB / 0.8919 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.9474, allocations: 2.358 MB / 0.8942 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006382/0.9481, allocations: 0.5124 MB / 0.8947 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.9492, allocations: 0.7409 MB / 0.8954 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.9535, allocations: 2.894 MB / 0.8983 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9535, allocations: 0 / 0.8983 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9535, allocations: 3.094 kB / 0.8983 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.9535, allocations: 0.875 kB / 0.8983 GB, free: 1.391 MB / 0.6856 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.003725/0.9573, allocations: 1.812 MB / 0.9 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.9573, allocations: 14.66 kB / 0.9001 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.9575, allocations: 159.4 kB / 0.9002 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.9597, allocations: 356.3 kB / 0.9006 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.9609, allocations: 0.8755 MB / 0.9014 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.961, allocations: 75.11 kB / 0.9015 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.9611, allocations: 105.8 kB / 0.9016 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.9628, allocations: 1.193 MB / 0.9027 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.9628, allocations: 7.891 kB / 0.9028 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.9629, allocations: 48.53 kB / 0.9028 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/0.963, allocations: 61.33 kB / 0.9029 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.9646, allocations: 1.249 MB / 0.9041 GB, free: 15.98 MB / 0.7012 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.005667/0.9702, allocations: 5.114 MB / 0.9091 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.9716, allocations: 1.151 MB / 0.9102 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.9722, allocations: 0.5061 MB / 0.9107 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.9723, allocations: 17.97 kB / 0.9107 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.9729, allocations: 489.9 kB / 0.9112 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.435e-06/0.9729, allocations: 0.9375 kB / 0.9112 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001703/0.9746, allocations: 1.161 MB / 0.9123 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.9747, allocations: 60.55 kB / 0.9124 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.9753, allocations: 0.5764 MB / 0.9129 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.9753, allocations: 45.77 kB / 0.913 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.9756, allocations: 474.1 kB / 0.9134 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.9759, allocations: 276.6 kB / 0.9137 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.9761, allocations: 131.2 kB / 0.9138 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9763, allocations: 388.8 kB / 0.9142 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.9767, allocations: 326.8 kB / 0.9145 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.9773, allocations: 449.3 kB / 0.9149 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.9783, allocations: 0.8264 MB / 0.9157 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9783, allocations: 2.406 kB / 0.9157 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001228/0.9795, allocations: 0.9274 MB / 0.9166 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9795, allocations: 13.34 kB / 0.9167 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9795, allocations: 0 / 0.9167 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9796, allocations: 8.188 kB / 0.9167 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.9802, allocations: 154.8 kB / 0.9168 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.9802, allocations: 11.41 kB / 0.9168 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.981, allocations: 66.67 kB / 0.9169 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.9811, allocations: 27.94 kB / 0.9169 GB, free: 11.61 MB / 0.7012 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.0004547/0.9815, allocations: 334.8 kB / 0.9172 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.9817, allocations: 85.67 kB / 0.9173 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.9819, allocations: 108 kB / 0.9174 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9819, allocations: 7.375 kB / 0.9174 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.9819, allocations: 3.938 kB / 0.9174 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.9831, allocations: 1.092 MB / 0.9185 GB, free: 10.98 MB / 0.7012 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.002921/0.9861, allocations: 2.31 MB / 0.9207 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9861, allocations: 0.9062 kB / 0.9207 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.9869, allocations: 174.6 kB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9869, allocations: 6.75 kB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.987, allocations: 24.52 kB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.987, allocations: 3.375 kB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.987, allocations: 1.031 kB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.9886, allocations: 1.357 MB / 0.9223 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.989, allocations: 256.4 kB / 0.9225 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.9891, allocations: 18.17 kB / 0.9225 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.9897, allocations: 20.66 kB / 0.9226 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.9898, allocations: 45.55 kB / 0.9226 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.9899, allocations: 25.62 kB / 0.9226 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004421/0.9903, allocations: 413 kB / 0.923 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9903, allocations: 0 / 0.923 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008143/0.9911, allocations: 373.1 kB / 0.9234 GB, free: 9.957 MB / 0.7012 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.002058/0.9932, allocations: 1.988 MB / 0.9253 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.9943, allocations: 0.8019 MB / 0.9261 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9943, allocations: 4.375 kB / 0.9261 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.9948, allocations: 423.4 kB / 0.9265 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.9974, allocations: 0.597 MB / 0.9271 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00895/1.006, allocations: 7.284 MB / 0.9342 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/1.007, allocations: 1.141 MB / 0.9353 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008872/1.008, allocations: 270.3 kB / 0.9356 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/1.008, allocations: 380.3 kB / 0.9359 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of SimCode: time 1.112e-06/1.009, allocations: 0 / 0.9359 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/1.065, allocations: 25.97 MB / 0.9613 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.44/10.5, allocations: 9.688 kB / 0.9613 GB, free: 3.633 MB / 0.7169 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)