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.152/2.152, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001056/0.001056, allocations: 192.3 kB / 498.1 MB, free: 5.688 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.527/1.527, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.0008984/0.0008984, allocations: 97.17 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004522, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.314, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.52/4.834, allocations: 1.922 GB / 3.145 GB, free: 91.98 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/4.835, allocations: 92.98 kB / 3.145 GB, free: 91.89 MB / 1.167 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.891/7.726, allocations: 0.6161 GB / 3.761 GB, free: 288.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.312e-06/7.726, allocations: 3.281 kB / 3.761 GB, free: 288.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001504/7.726, allocations: 25.72 kB / 3.761 GB, free: 288.9 MB / 1.167 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.006563/7.733, allocations: 1.685 MB / 3.763 GB, free: 288.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/7.733, allocations: 7.875 kB / 3.763 GB, free: 288.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006202/7.733, allocations: 166.5 kB / 3.763 GB, free: 288.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/7.736, allocations: 336.3 kB / 3.763 GB, free: 288.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/7.738, allocations: 0.8665 MB / 3.764 GB, free: 288 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/7.739, allocations: 76.31 kB / 3.764 GB, free: 288 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/7.739, allocations: 104.1 kB / 3.764 GB, free: 288 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/7.741, allocations: 1.112 MB / 3.766 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/7.741, allocations: 0 / 3.766 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/7.741, allocations: 42.53 kB / 3.766 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/7.742, allocations: 64.47 kB / 3.766 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/7.743, allocations: 1.173 MB / 3.767 GB, free: 287.9 MB / 1.167 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.006558/7.75, allocations: 5.055 MB / 3.772 GB, free: 285.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/7.751, allocations: 0.975 MB / 3.773 GB, free: 285.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/7.751, allocations: 17.02 kB / 3.773 GB, free: 285.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007577/7.752, allocations: 492.3 kB / 3.773 GB, free: 285.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.906e-06/7.752, allocations: 0 / 3.773 GB, free: 285.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.00205/7.754, allocations: 1.178 MB / 3.774 GB, free: 285.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/7.754, allocations: 60.72 kB / 3.774 GB, free: 285 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/7.755, allocations: 0.5053 MB / 3.775 GB, free: 284.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/7.755, allocations: 40.14 kB / 3.775 GB, free: 284.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/7.755, allocations: 464.2 kB / 3.775 GB, free: 284.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/7.756, allocations: 264.6 kB / 3.776 GB, free: 284.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/7.756, allocations: 19.97 kB / 3.776 GB, free: 284.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001531/7.756, allocations: 384.2 kB / 3.776 GB, free: 284.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/7.756, allocations: 336.1 kB / 3.776 GB, free: 284.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/7.757, allocations: 457.1 kB / 3.777 GB, free: 284.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/7.758, allocations: 401.2 kB / 3.777 GB, free: 284.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/7.758, allocations: 3.438 kB / 3.777 GB, free: 284.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001429/7.759, allocations: 0.9436 MB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/7.759, allocations: 7.656 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/7.759, allocations: 3 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/7.759, allocations: 9.969 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/7.76, allocations: 155.3 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/7.76, allocations: 15.81 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/7.761, allocations: 158.2 kB / 3.778 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/7.761, allocations: 29.69 kB / 3.778 GB, free: 284 MB / 1.167 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.0006195/7.762, allocations: 327.1 kB / 3.779 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/7.762, allocations: 84.77 kB / 3.779 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/7.762, allocations: 107.6 kB / 3.779 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/7.762, allocations: 10.83 kB / 3.779 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/7.762, allocations: 9.344 kB / 3.779 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/7.764, allocations: 1.107 MB / 3.78 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/7.767, allocations: 2.16 MB / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/7.767, allocations: 0 / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/7.768, allocations: 173.6 kB / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/7.768, allocations: 2.5 kB / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/7.768, allocations: 22.56 kB / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/7.768, allocations: 3.938 kB / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/7.768, allocations: 0 / 3.782 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/7.77, allocations: 1.383 MB / 3.784 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/7.771, allocations: 260.2 kB / 3.784 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/7.771, allocations: 14.62 kB / 3.784 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/7.772, allocations: 94.12 kB / 3.784 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/7.772, allocations: 47.84 kB / 3.784 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/7.772, allocations: 26.81 kB / 3.784 GB, free: 282.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006636/7.773, allocations: 417.2 kB / 3.784 GB, free: 282.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/7.773, allocations: 2.625 kB / 3.784 GB, free: 282.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001968/7.775, allocations: 0.5091 MB / 3.785 GB, free: 282.6 MB / 1.167 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 (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.004881/7.78, allocations: 3.517 MB / 3.788 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001373/7.781, allocations: 0.8082 MB / 3.789 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/7.781, allocations: 3.906 kB / 3.789 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/7.782, allocations: 432.2 kB / 3.79 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/7.784, allocations: 0.5495 MB / 3.79 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/7.795, allocations: 7.544 MB / 3.798 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/7.796, allocations: 1.167 MB / 3.799 GB, free: 277.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001239/7.797, allocations: 272.8 kB / 3.799 GB, free: 277.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/7.798, allocations: 376.4 kB / 3.799 GB, free: 277.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.743e-06/7.798, allocations: 7.344 kB / 3.799 GB, free: 277.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09634/7.894, allocations: 50.77 MB / 3.849 GB, free: 273.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/7.895, allocations: 175.8 kB / 3.849 GB, free: 273.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.731/11.63, allocations: 3.938 kB / 3.849 GB, free: 273.3 MB / 1.167 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