Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.562/2.562, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 185.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 102.3 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005296, allocations: 10.88 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2146, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.628/6.843, allocations: 2.076 GB / 3.054 GB, free: 199.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.843, allocations: 94.69 kB / 3.054 GB, free: 199.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 3.399/10.24, allocations: 0.6044 GB / 3.659 GB, free: 193.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.235e-06/10.24, allocations: 0 / 3.659 GB, free: 193.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001156/10.24, allocations: 28 kB / 3.659 GB, free: 193.9 MB / 0.948 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.008239/10.25, allocations: 1.67 MB / 3.66 GB, free: 193.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/10.25, allocations: 13.77 kB / 3.66 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006885/10.25, allocations: 164.4 kB / 3.66 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/10.26, allocations: 345.8 kB / 3.661 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/10.26, allocations: 0.8418 MB / 3.662 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/10.26, allocations: 75.58 kB / 3.662 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/10.26, allocations: 101.2 kB / 3.662 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/10.26, allocations: 1.116 MB / 3.663 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/10.26, allocations: 1.562 kB / 3.663 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/10.26, allocations: 44.42 kB / 3.663 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/10.26, allocations: 55.5 kB / 3.663 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/10.27, allocations: 1.168 MB / 3.664 GB, free: 193 MB / 0.948 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.01137/10.28, allocations: 5.042 MB / 3.669 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/10.28, allocations: 0.9755 MB / 3.67 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/10.28, allocations: 24.38 kB / 3.67 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/10.28, allocations: 488.5 kB / 3.67 GB, free: 190.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.93e-06/10.28, allocations: 0 / 3.67 GB, free: 190.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.003447/10.29, allocations: 1.173 MB / 3.672 GB, free: 190.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/10.29, allocations: 61.69 kB / 3.672 GB, free: 190.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/10.29, allocations: 0.5042 MB / 3.672 GB, free: 190 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/10.29, allocations: 43.61 kB / 3.672 GB, free: 190 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/10.29, allocations: 463.8 kB / 3.673 GB, free: 189.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/10.29, allocations: 263.2 kB / 3.673 GB, free: 189.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/10.29, allocations: 12.28 kB / 3.673 GB, free: 189.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001587/10.29, allocations: 384.3 kB / 3.673 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/10.29, allocations: 333.1 kB / 3.674 GB, free: 189.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/10.29, allocations: 462.9 kB / 3.674 GB, free: 189.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/10.29, allocations: 408.9 kB / 3.674 GB, free: 189.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/10.29, allocations: 4.625 kB / 3.674 GB, free: 189.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00257/10.29, allocations: 0.938 MB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/10.29, allocations: 6.688 kB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/10.29, allocations: 2.719 kB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/10.29, allocations: 9.75 kB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/10.29, allocations: 153.8 kB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/10.29, allocations: 10.03 kB / 3.675 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/10.3, allocations: 137.1 kB / 3.676 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/10.3, allocations: 26.25 kB / 3.676 GB, free: 189.2 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009471/10.3, allocations: 332.5 kB / 3.676 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/10.3, allocations: 79.92 kB / 3.676 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/10.3, allocations: 107.1 kB / 3.676 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/10.3, allocations: 8.188 kB / 3.676 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/10.3, allocations: 0 / 3.676 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/10.3, allocations: 1.102 MB / 3.677 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/10.31, allocations: 2.16 MB / 3.679 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/10.31, allocations: 0 / 3.679 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/10.31, allocations: 178 kB / 3.679 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/10.31, allocations: 3.312 kB / 3.679 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/10.31, allocations: 21 kB / 3.68 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/10.31, allocations: 2.875 kB / 3.68 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/10.31, allocations: 1.969 kB / 3.68 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/10.31, allocations: 1.528 MB / 3.681 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/10.31, allocations: 251.7 kB / 3.681 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/10.31, allocations: 14.22 kB / 3.681 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/10.31, allocations: 98.03 kB / 3.681 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/10.31, allocations: 48.91 kB / 3.681 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/10.31, allocations: 22.89 kB / 3.681 GB, free: 187.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007455/10.32, allocations: 409.4 kB / 3.682 GB, free: 187.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/10.32, allocations: 3.75 kB / 3.682 GB, free: 187.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002291/10.32, allocations: 0.5032 MB / 3.682 GB, free: 187.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0059/10.32, allocations: 3.645 MB / 3.686 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002092/10.33, allocations: 0.8153 MB / 3.687 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/10.33, allocations: 3.656 kB / 3.687 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/10.33, allocations: 434.9 kB / 3.687 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/10.33, allocations: 0.5458 MB / 3.688 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/10.35, allocations: 7.48 MB / 3.695 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/10.35, allocations: 1.161 MB / 3.696 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001918/10.35, allocations: 273.4 kB / 3.696 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009714/10.35, allocations: 373.9 kB / 3.697 GB, free: 182.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/10.35, allocations: 0 / 3.697 GB, free: 182.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/10.47, allocations: 50.71 MB / 3.746 GB, free: 181.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/10.47, allocations: 183 kB / 3.746 GB, free: 180.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.524/14.99, allocations: 0 / 3.746 GB, free: 180.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)