Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 387.1 MB / 399.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 188.1 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001242, allocations: 95.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.361e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3597, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.217/6.577, allocations: 1.922 GB / 3.135 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/6.577, allocations: 85.17 kB / 3.135 GB, free: 345 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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.121/8.698, allocations: 0.6156 GB / 3.75 GB, free: 175.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/8.698, allocations: 0 / 3.75 GB, free: 175.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001269/8.698, allocations: 36.11 kB / 3.75 GB, free: 175.1 MB / 1.151 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.00568/8.704, allocations: 1.552 MB / 3.752 GB, free: 173.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/8.704, allocations: 8.031 kB / 3.752 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005514/8.704, allocations: 160.6 kB / 3.752 GB, free: 173.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/8.707, allocations: 338.2 kB / 3.752 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/8.709, allocations: 0.8588 MB / 3.753 GB, free: 172.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/8.71, allocations: 78 kB / 3.753 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/8.71, allocations: 103.9 kB / 3.753 GB, free: 171.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/8.712, allocations: 1.097 MB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/8.712, allocations: 7.984 kB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/8.712, allocations: 43.98 kB / 3.754 GB, free: 170.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/8.712, allocations: 58.08 kB / 3.754 GB, free: 170.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/8.714, allocations: 1.141 MB / 3.756 GB, free: 169.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006867/8.721, allocations: 5.06 MB / 3.761 GB, free: 164 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/8.723, allocations: 0.9627 MB / 3.761 GB, free: 163 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/8.723, allocations: 0.4911 MB / 3.762 GB, free: 162.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/8.723, allocations: 20.69 kB / 3.762 GB, free: 162.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007946/8.724, allocations: 494 kB / 3.762 GB, free: 162 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 4.779e-06/8.724, allocations: 4 kB / 3.762 GB, free: 162 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001735/8.726, allocations: 0.843 MB / 3.763 GB, free: 161.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/8.726, allocations: 64.12 kB / 3.763 GB, free: 161.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/8.727, allocations: 0.5072 MB / 3.764 GB, free: 160.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/8.727, allocations: 41.7 kB / 3.764 GB, free: 160.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/8.727, allocations: 459.7 kB / 3.764 GB, free: 160 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/8.728, allocations: 272.1 kB / 3.765 GB, free: 159.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/8.728, allocations: 16 kB / 3.765 GB, free: 159.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001833/8.728, allocations: 386.8 kB / 3.765 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/8.729, allocations: 325.5 kB / 3.765 GB, free: 159 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/8.729, allocations: 442.8 kB / 3.766 GB, free: 158.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/8.73, allocations: 405.9 kB / 3.766 GB, free: 158.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/8.73, allocations: 4 kB / 3.766 GB, free: 158.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001537/8.731, allocations: 0.9208 MB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/8.731, allocations: 7.953 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/8.731, allocations: 4 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/8.731, allocations: 8.344 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/8.732, allocations: 159.8 kB / 3.767 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/8.732, allocations: 11.94 kB / 3.767 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/8.734, allocations: 155.2 kB / 3.767 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/8.734, allocations: 28 kB / 3.767 GB, free: 156.9 MB / 1.151 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 () * 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.0002186/8.734, allocations: 146 kB / 3.767 GB, free: 156.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/8.734, allocations: 79.06 kB / 3.768 GB, free: 156.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/8.734, allocations: 115.7 kB / 3.768 GB, free: 156.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/8.734, allocations: 4 kB / 3.768 GB, free: 156.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/8.734, allocations: 4 kB / 3.768 GB, free: 156.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/8.736, allocations: 1.096 MB / 3.769 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/8.739, allocations: 2.187 MB / 3.771 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/8.74, allocations: 0 / 3.771 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/8.74, allocations: 175.8 kB / 3.771 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/8.74, allocations: 4 kB / 3.771 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/8.74, allocations: 19.98 kB / 3.771 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/8.74, allocations: 4 kB / 3.771 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/8.741, allocations: 4.031 kB / 3.771 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/8.742, allocations: 1.364 MB / 3.772 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/8.743, allocations: 260 kB / 3.773 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/8.743, allocations: 16 kB / 3.773 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.744, allocations: 95.84 kB / 3.773 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/8.744, allocations: 40.72 kB / 3.773 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/8.744, allocations: 31.98 kB / 3.773 GB, free: 151 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004815/8.745, allocations: 411.2 kB / 3.773 GB, free: 150.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.745, allocations: 0 / 3.773 GB, free: 150.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00182/8.747, allocations: 0.5029 MB / 3.774 GB, free: 150.1 MB / 1.151 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 () * 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.004328/8.751, allocations: 3.488 MB / 3.777 GB, free: 146.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001175/8.752, allocations: 0.7935 MB / 3.778 GB, free: 145.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/8.752, allocations: 8.125 kB / 3.778 GB, free: 145.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/8.753, allocations: 428.4 kB / 3.778 GB, free: 145.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/8.756, allocations: 0.5459 MB / 3.779 GB, free: 144.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/8.76, allocations: 2.067 MB / 3.781 GB, free: 142.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/8.761, allocations: 1.163 MB / 3.782 GB, free: 141.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00115/8.762, allocations: 275.2 kB / 3.782 GB, free: 141.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/8.763, allocations: 383.3 kB / 3.783 GB, free: 140.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/8.763, allocations: 0 / 3.783 GB, free: 140.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/8.848, allocations: 55.22 MB / 3.837 GB, free: 85.86 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/8.848, allocations: 143 kB / 3.837 GB, free: 85.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.668/12.52, allocations: 4 kB / 3.837 GB, free: 85.64 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat does not exist to compare? outputFormat=mat