Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001339/0.001339, allocations: 108 kB / 15.6 MB, free: 132 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.001386/0.001386, allocations: 197.2 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 286.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 97.88 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1469, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4674/0.6143, allocations: 204.1 MB / 0.893 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.6245, allocations: 6.374 MB / 0.8992 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.6253, allocations: 39.81 kB / 0.8992 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.6271, allocations: 0.7226 MB / 0.8999 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00585/0.633, allocations: 2.692 MB / 0.9026 GB, free: 5.426 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.001586/0.6346, allocations: 0.6987 MB / 0.9032 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.6385, allocations: 3.27 MB / 0.9064 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.64, allocations: 1.141 MB / 0.9075 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.6419, allocations: 1.25 MB / 0.9088 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.644, allocations: 1.1 MB / 0.9098 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.6442, allocations: 128 kB / 0.91 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.6486, allocations: 2.35 MB / 0.9123 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.6492, allocations: 0.5182 MB / 0.9128 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009876/0.6502, allocations: 0.7352 MB / 0.9135 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.6541, allocations: 2.782 MB / 0.9162 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6541, allocations: 3.938 kB / 0.9162 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6541, allocations: 0 / 0.9162 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.6542, allocations: 4 kB / 0.9162 GB, free: 7.406 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.004194/0.6584, allocations: 1.766 MB / 0.9179 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6584, allocations: 8.031 kB / 0.9179 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.6586, allocations: 168.5 kB / 0.9181 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.6609, allocations: 346.2 kB / 0.9184 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.6624, allocations: 0.8389 MB / 0.9192 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.6624, allocations: 78 kB / 0.9193 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.6626, allocations: 96 kB / 0.9194 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.6648, allocations: 1.202 MB / 0.9206 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.6648, allocations: 0 / 0.9206 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.665, allocations: 40 kB / 0.9206 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/0.665, allocations: 58.08 kB / 0.9207 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.6672, allocations: 1.248 MB / 0.9219 GB, free: 1.422 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.007242/0.6744, allocations: 5.145 MB / 0.9269 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6761, allocations: 1.161 MB / 0.9281 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.6769, allocations: 0.5007 MB / 0.9285 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.677, allocations: 16.59 kB / 0.9286 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.6778, allocations: 492.2 kB / 0.929 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.6778, allocations: 0 / 0.929 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002167/0.68, allocations: 1.157 MB / 0.9302 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.68, allocations: 64 kB / 0.9302 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.6808, allocations: 0.5744 MB / 0.9308 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.6809, allocations: 41.7 kB / 0.9308 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.6812, allocations: 463.8 kB / 0.9313 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.6816, allocations: 268.1 kB / 0.9315 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.6818, allocations: 134.6 kB / 0.9316 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.682, allocations: 382.8 kB / 0.932 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.6826, allocations: 329.8 kB / 0.9323 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.6833, allocations: 452.7 kB / 0.9328 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.6846, allocations: 0.8271 MB / 0.9336 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.6846, allocations: 0 / 0.9336 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001609/0.6862, allocations: 0.9296 MB / 0.9345 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6863, allocations: 8 kB / 0.9345 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6863, allocations: 1.562 kB / 0.9345 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.6863, allocations: 11.94 kB / 0.9345 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.687, allocations: 151.8 kB / 0.9346 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.6871, allocations: 15.88 kB / 0.9347 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.6878, allocations: 59.72 kB / 0.9347 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.6879, allocations: 28 kB / 0.9347 GB, free: 3.586 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.0005252/0.6884, allocations: 333.6 kB / 0.9351 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6886, allocations: 83.05 kB / 0.9351 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.6888, allocations: 103.8 kB / 0.9352 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6889, allocations: 11.94 kB / 0.9352 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6889, allocations: 1.188 kB / 0.9352 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/0.6903, allocations: 1.093 MB / 0.9363 GB, free: 1.867 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.003571/0.6939, allocations: 2.312 MB / 0.9386 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6939, allocations: 0 / 0.9386 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.6948, allocations: 175.8 kB / 0.9387 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6949, allocations: 4 kB / 0.9387 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.6949, allocations: 12 kB / 0.9388 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6949, allocations: 8.031 kB / 0.9388 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6949, allocations: 2.062 kB / 0.9388 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.697, allocations: 1.354 MB / 0.9401 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.6974, allocations: 260 kB / 0.9403 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6976, allocations: 16 kB / 0.9404 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.6982, allocations: 20.55 kB / 0.9404 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6983, allocations: 48.59 kB / 0.9404 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.6984, allocations: 20 kB / 0.9404 GB, free: 13.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005483/0.6989, allocations: 415 kB / 0.9408 GB, free: 13.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.699, allocations: 0 / 0.9408 GB, free: 13.12 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000924/0.6999, allocations: 367.1 kB / 0.9412 GB, free: 12.77 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.002569/0.7025, allocations: 1.984 MB / 0.9431 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.7045, allocations: 1.032 MB / 0.9441 GB, free: 9.719 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7045, allocations: 0 / 0.9441 GB, free: 9.719 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.7052, allocations: 427.5 kB / 0.9445 GB, free: 9.301 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.7082, allocations: 0.594 MB / 0.9451 GB, free: 8.723 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.7188, allocations: 7.483 MB / 0.9524 GB, free: 1.078 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.7197, allocations: 1.14 MB / 0.9535 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001085/0.7208, allocations: 271.2 kB / 0.9538 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.7214, allocations: 379.3 kB / 0.9542 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.7214, allocations: 0 / 0.9542 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05986/0.7813, allocations: 25.76 MB / 0.9793 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/9.12, allocations: 9.703 kB / 0.9793 GB, free: 5.848 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)