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.8552/0.8552, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 175.7 kB / 191.5 MB, free: 5.773 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.693/1.693, allocations: 223.2 MB / 447.7 MB, free: 4.758 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.0009905/0.0009907, allocations: 96.33 kB / 0.5187 GB, free: 1.105 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001845, allocations: 278.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005321, allocations: 14 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.706, allocations: 1.882 GB / 2.656 GB, free: 95.22 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/4.706, allocations: 88.94 kB / 2.656 GB, free: 95.14 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 1.933/6.639, allocations: 0.6125 GB / 3.269 GB, free: 8.516 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/6.639, allocations: 0 / 3.269 GB, free: 8.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.213e-05/6.64, allocations: 27.98 kB / 3.269 GB, free: 8.488 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.006219/6.646, allocations: 1.662 MB / 3.27 GB, free: 6.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/6.646, allocations: 12.03 kB / 3.27 GB, free: 6.762 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003221/6.646, allocations: 160.5 kB / 3.27 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/6.649, allocations: 346.1 kB / 3.271 GB, free: 6.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/6.652, allocations: 0.8433 MB / 3.272 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/6.652, allocations: 82 kB / 3.272 GB, free: 5.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/6.652, allocations: 96 kB / 3.272 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/6.655, allocations: 1.117 MB / 3.273 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/6.655, allocations: 0 / 3.273 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/6.655, allocations: 40 kB / 3.273 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/6.655, allocations: 62.06 kB / 3.273 GB, free: 3.941 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/6.658, allocations: 1.16 MB / 3.274 GB, free: 2.773 MB / 0.698 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.4027/7.061, allocations: 5.044 MB / 3.279 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/7.062, allocations: 0.9685 MB / 3.28 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/7.062, allocations: 19.41 kB / 3.28 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/7.062, allocations: 495.9 kB / 3.281 GB, free: 109.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/7.062, allocations: 0 / 3.281 GB, free: 109.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001749/7.064, allocations: 1.169 MB / 3.282 GB, free: 109.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/7.064, allocations: 60.22 kB / 3.282 GB, free: 109.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/7.065, allocations: 0.505 MB / 3.282 GB, free: 109.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/7.065, allocations: 42.67 kB / 3.282 GB, free: 109.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/7.065, allocations: 457.9 kB / 3.283 GB, free: 108.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/7.065, allocations: 268.3 kB / 3.283 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/7.065, allocations: 16.69 kB / 3.283 GB, free: 108.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/7.065, allocations: 384.5 kB / 3.283 GB, free: 108.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/7.066, allocations: 334.8 kB / 3.284 GB, free: 108.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/7.066, allocations: 464.9 kB / 3.284 GB, free: 108.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/7.067, allocations: 410.8 kB / 3.284 GB, free: 108.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/7.067, allocations: 2.844 kB / 3.284 GB, free: 108.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00139/7.068, allocations: 0.9354 MB / 3.285 GB, free: 108.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/7.068, allocations: 5.781 kB / 3.285 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/7.069, allocations: 3.484 kB / 3.285 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/7.069, allocations: 9.25 kB / 3.285 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/7.069, allocations: 156.4 kB / 3.286 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/7.069, allocations: 12.69 kB / 3.286 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/7.07, allocations: 136.4 kB / 3.286 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/7.07, allocations: 30.83 kB / 3.286 GB, free: 108.2 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 () * 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.0006131/7.071, allocations: 328.8 kB / 3.286 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/7.071, allocations: 88.41 kB / 3.286 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/7.071, allocations: 106 kB / 3.286 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/7.071, allocations: 8.281 kB / 3.286 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/7.071, allocations: 3.562 kB / 3.286 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/7.073, allocations: 1.096 MB / 3.287 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/7.076, allocations: 2.15 MB / 3.289 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/7.076, allocations: 3.219 kB / 3.289 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/7.077, allocations: 178.2 kB / 3.29 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/7.077, allocations: 3.344 kB / 3.29 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/7.077, allocations: 17.64 kB / 3.29 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/7.077, allocations: 8.297 kB / 3.29 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.077, allocations: 1 kB / 3.29 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/7.079, allocations: 1.517 MB / 3.291 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/7.08, allocations: 258.1 kB / 3.291 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/7.08, allocations: 23.84 kB / 3.291 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/7.081, allocations: 98.73 kB / 3.291 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/7.081, allocations: 45.61 kB / 3.291 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/7.081, allocations: 26.89 kB / 3.292 GB, free: 106.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006331/7.082, allocations: 406.5 kB / 3.292 GB, free: 106.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.082, allocations: 0 / 3.292 GB, free: 106.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001657/7.084, allocations: 0.5078 MB / 3.292 GB, free: 106.8 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 () * 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.005224/7.089, allocations: 3.636 MB / 3.296 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001487/7.09, allocations: 0.8184 MB / 3.297 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/7.09, allocations: 1.375 kB / 3.297 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007166/7.091, allocations: 441.7 kB / 3.297 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/7.094, allocations: 0.5527 MB / 3.298 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/7.103, allocations: 7.475 MB / 3.305 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/7.103, allocations: 1.16 MB / 3.306 GB, free: 101.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001212/7.105, allocations: 276.7 kB / 3.306 GB, free: 101.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/7.105, allocations: 373.1 kB / 3.307 GB, free: 101.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/7.105, allocations: 0 / 3.307 GB, free: 101.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07936/7.185, allocations: 50.76 MB / 3.356 GB, free: 100.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/7.185, allocations: 181.1 kB / 3.357 GB, free: 100.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/10.95, allocations: 0 / 3.357 GB, free: 100.3 MB / 0.698 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)