Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001878/0.001878, allocations: 189 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.6366 GB, free: 9.566 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 90.66 kB / 0.7509 GB, free: 62.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 16 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 116.3 MB / 0.9884 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.185/6.504, allocations: 2.077 GB / 3.065 GB, free: 105 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/6.504, allocations: 95.72 kB / 3.065 GB, free: 105 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 2.535/9.04, allocations: 0.6044 GB / 3.67 GB, free: 165.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/9.04, allocations: 1.641 kB / 3.67 GB, free: 165.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001378/9.04, allocations: 21.75 kB / 3.67 GB, free: 165.5 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.007037/9.047, allocations: 1.673 MB / 3.671 GB, free: 164.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/9.047, allocations: 15.67 kB / 3.672 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006533/9.048, allocations: 165.7 kB / 3.672 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/9.05, allocations: 336.1 kB / 3.672 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/9.052, allocations: 0.8463 MB / 3.673 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/9.053, allocations: 78.8 kB / 3.673 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/9.053, allocations: 104.7 kB / 3.673 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/9.055, allocations: 1.113 MB / 3.674 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/9.055, allocations: 3.953 kB / 3.674 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/9.055, allocations: 41.44 kB / 3.674 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/9.055, allocations: 61.55 kB / 3.674 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/9.057, allocations: 1.169 MB / 3.675 GB, free: 164.2 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.006142/9.063, allocations: 5.036 MB / 3.68 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/9.064, allocations: 0.966 MB / 3.681 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/9.064, allocations: 14.95 kB / 3.681 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/9.065, allocations: 489 kB / 3.682 GB, free: 160.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/9.065, allocations: 0 / 3.682 GB, free: 160.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001804/9.067, allocations: 1.178 MB / 3.683 GB, free: 159.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/9.067, allocations: 64.97 kB / 3.683 GB, free: 159.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/9.068, allocations: 0.4903 MB / 3.683 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/9.068, allocations: 43.67 kB / 3.683 GB, free: 159.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/9.068, allocations: 460.5 kB / 3.684 GB, free: 159 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/9.068, allocations: 269.1 kB / 3.684 GB, free: 158.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/9.068, allocations: 13.09 kB / 3.684 GB, free: 158.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/9.068, allocations: 395.6 kB / 3.684 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/9.069, allocations: 335.2 kB / 3.685 GB, free: 158.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/9.069, allocations: 465.4 kB / 3.685 GB, free: 158 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/9.07, allocations: 407.1 kB / 3.686 GB, free: 157.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/9.07, allocations: 0 / 3.686 GB, free: 157.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001159/9.071, allocations: 0.9333 MB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/9.071, allocations: 9.469 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/9.071, allocations: 2.719 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/9.071, allocations: 5.312 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/9.072, allocations: 155.2 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/9.072, allocations: 2.938 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/9.073, allocations: 142.2 kB / 3.687 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/9.073, allocations: 28.69 kB / 3.687 GB, free: 157.4 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.0005047/9.073, allocations: 338.1 kB / 3.687 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/9.073, allocations: 80.94 kB / 3.687 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/9.074, allocations: 108.4 kB / 3.687 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/9.074, allocations: 6.25 kB / 3.687 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/9.074, allocations: 0 / 3.687 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/9.075, allocations: 1.096 MB / 3.688 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/9.078, allocations: 2.158 MB / 3.691 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/9.078, allocations: 0 / 3.691 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/9.078, allocations: 182.2 kB / 3.691 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/9.078, allocations: 3.125 kB / 3.691 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/9.078, allocations: 18.56 kB / 3.691 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/9.079, allocations: 7.125 kB / 3.691 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.079, allocations: 10.88 kB / 3.691 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/9.08, allocations: 1.513 MB / 3.692 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/9.081, allocations: 261.4 kB / 3.692 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/9.081, allocations: 11.44 kB / 3.693 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/9.082, allocations: 99.33 kB / 3.693 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/9.082, allocations: 44.36 kB / 3.693 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/9.082, allocations: 28.95 kB / 3.693 GB, free: 154.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004479/9.082, allocations: 406 kB / 3.693 GB, free: 154.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/9.082, allocations: 0 / 3.693 GB, free: 154.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001607/9.084, allocations: 0.5064 MB / 3.694 GB, free: 153.9 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.003899/9.088, allocations: 3.641 MB / 3.697 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001133/9.089, allocations: 0.8146 MB / 3.698 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/9.089, allocations: 2.781 kB / 3.698 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004792/9.089, allocations: 434.8 kB / 3.698 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/9.092, allocations: 0.5612 MB / 3.699 GB, free: 151.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/9.1, allocations: 7.478 MB / 3.706 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/9.1, allocations: 1.155 MB / 3.707 GB, free: 146.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001068/9.101, allocations: 273.7 kB / 3.708 GB, free: 146.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/9.102, allocations: 377.1 kB / 3.708 GB, free: 146 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/9.102, allocations: 0 / 3.708 GB, free: 146 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/9.176, allocations: 50.7 MB / 3.757 GB, free: 132.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/9.176, allocations: 172.8 kB / 3.758 GB, free: 132.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/13.23, allocations: 0 / 3.758 GB, free: 132.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)