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/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 187.7 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 441.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.000987, allocations: 97.09 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 274.5 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 6.45e-05/6.482e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4805, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.607, allocations: 1.882 GB / 2.647 GB, free: 165.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/5.607, allocations: 84.73 kB / 2.647 GB, free: 165.5 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.354/7.961, allocations: 0.612 GB / 3.259 GB, free: 75.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/7.961, allocations: 192 / 3.259 GB, free: 75.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001222/7.961, allocations: 31.94 kB / 3.259 GB, free: 75.57 MB / 0.698 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.005654/7.967, allocations: 1.542 MB / 3.26 GB, free: 73.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/7.967, allocations: 8.031 kB / 3.26 GB, free: 73.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000546/7.967, allocations: 160.6 kB / 3.26 GB, free: 73.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/7.97, allocations: 334.2 kB / 3.261 GB, free: 73.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/7.973, allocations: 0.8394 MB / 3.262 GB, free: 72.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/7.973, allocations: 86 kB / 3.262 GB, free: 72.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/7.973, allocations: 96 kB / 3.262 GB, free: 72.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/7.976, allocations: 1.105 MB / 3.263 GB, free: 71.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/7.976, allocations: 3.906 kB / 3.263 GB, free: 71.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/7.976, allocations: 43.98 kB / 3.263 GB, free: 71.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.608e-05/7.977, allocations: 58.08 kB / 3.263 GB, free: 71.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/7.979, allocations: 1.141 MB / 3.264 GB, free: 70.02 MB / 0.698 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.008467/7.987, allocations: 5.044 MB / 3.269 GB, free: 64.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/7.988, allocations: 0.9541 MB / 3.27 GB, free: 63.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/7.989, allocations: 0.4944 MB / 3.27 GB, free: 63.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/7.989, allocations: 16.91 kB / 3.27 GB, free: 63.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/7.99, allocations: 486.1 kB / 3.271 GB, free: 62.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.288e-06/7.99, allocations: 0 / 3.271 GB, free: 62.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001668/7.992, allocations: 0.839 MB / 3.272 GB, free: 61.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/7.992, allocations: 60.19 kB / 3.272 GB, free: 61.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/7.993, allocations: 0.4917 MB / 3.272 GB, free: 61.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.948e-05/7.993, allocations: 41.7 kB / 3.272 GB, free: 61.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/7.993, allocations: 463.6 kB / 3.273 GB, free: 60.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/7.993, allocations: 268.1 kB / 3.273 GB, free: 60.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/7.993, allocations: 16 kB / 3.273 GB, free: 60.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001514/7.993, allocations: 386.7 kB / 3.273 GB, free: 59.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/7.994, allocations: 329.4 kB / 3.274 GB, free: 59.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/7.995, allocations: 452.5 kB / 3.274 GB, free: 59.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/7.995, allocations: 405.9 kB / 3.274 GB, free: 58.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/7.995, allocations: 3.938 kB / 3.274 GB, free: 58.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001467/7.997, allocations: 0.9289 MB / 3.275 GB, free: 57.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/7.997, allocations: 4 kB / 3.275 GB, free: 57.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/7.997, allocations: 4 kB / 3.275 GB, free: 57.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/7.997, allocations: 8 kB / 3.275 GB, free: 57.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/7.997, allocations: 163.7 kB / 3.275 GB, free: 57.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/7.997, allocations: 8 kB / 3.275 GB, free: 57.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/7.999, allocations: 123.4 kB / 3.276 GB, free: 57.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/7.999, allocations: 28 kB / 3.276 GB, free: 57.46 MB / 0.698 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.0001512/7.999, allocations: 156.7 kB / 3.276 GB, free: 57.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/7.999, allocations: 87.06 kB / 3.276 GB, free: 57.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/7.999, allocations: 107.6 kB / 3.276 GB, free: 57.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/7.999, allocations: 8 kB / 3.276 GB, free: 57.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/7.999, allocations: 0 / 3.276 GB, free: 57.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/8, allocations: 1.08 MB / 3.277 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/8.004, allocations: 2.183 MB / 3.279 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/8.004, allocations: 4.031 kB / 3.279 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/8.004, allocations: 179.8 kB / 3.279 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/8.004, allocations: 4 kB / 3.279 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/8.005, allocations: 15.98 kB / 3.279 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/8.005, allocations: 4 kB / 3.279 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/8.005, allocations: 7.891 kB / 3.279 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/8.006, allocations: 1.501 MB / 3.281 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/8.007, allocations: 252 kB / 3.281 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/8.007, allocations: 15.98 kB / 3.281 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/8.008, allocations: 99.81 kB / 3.281 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/8.008, allocations: 40.72 kB / 3.281 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/8.008, allocations: 27.98 kB / 3.281 GB, free: 51.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004692/8.009, allocations: 403.2 kB / 3.282 GB, free: 51.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.009, allocations: 4 kB / 3.282 GB, free: 51.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001725/8.01, allocations: 0.5068 MB / 3.282 GB, free: 50.59 MB / 0.698 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 () * 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.004195/8.015, allocations: 3.622 MB / 3.286 GB, free: 46.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001194/8.016, allocations: 0.8052 MB / 3.286 GB, free: 46.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/8.016, allocations: 0 / 3.286 GB, free: 46.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/8.016, allocations: 428.4 kB / 3.287 GB, free: 45.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/8.019, allocations: 0.5437 MB / 3.287 GB, free: 45.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/8.023, allocations: 2.047 MB / 3.289 GB, free: 43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/8.024, allocations: 1.163 MB / 3.291 GB, free: 41.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001102/8.025, allocations: 271.1 kB / 3.291 GB, free: 41.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/8.026, allocations: 383.2 kB / 3.291 GB, free: 41.17 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/8.026, allocations: 0 / 3.291 GB, free: 41.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08941/8.115, allocations: 55.22 MB / 3.345 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/8.115, allocations: 157.7 kB / 3.345 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/12.02, allocations: 0 / 3.345 GB, free: 1.984 MB / 0.7136 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)