Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.509/2.509, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001519/0.001519, allocations: 188.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001128/0.001126, allocations: 84.56 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.151e-05, allocations: 0 / 0.8508 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.818, allocations: 115.3 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.911/6.729, allocations: 2.075 GB / 3.038 GB, free: 44.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/6.73, allocations: 85.45 kB / 3.039 GB, free: 44.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 3.266/9.996, allocations: 0.5974 GB / 3.636 GB, free: 194.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/9.996, allocations: 0 / 3.636 GB, free: 194.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.268e-05/9.996, allocations: 20 kB / 3.636 GB, free: 194.1 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.006449/10, allocations: 1.548 MB / 3.637 GB, free: 192.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/10, allocations: 12.03 kB / 3.638 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/10.01, allocations: 335.4 kB / 3.638 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/10.01, allocations: 0.8411 MB / 3.639 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/10.01, allocations: 39.89 kB / 3.639 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/10.01, allocations: 60 kB / 3.639 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002422/10.01, allocations: 0.9881 MB / 3.64 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/10.01, allocations: 0.9529 MB / 3.641 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/10.01, allocations: 0 / 3.641 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/10.01, allocations: 0 / 3.641 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/10.01, allocations: 58.08 kB / 3.641 GB, free: 189.2 MB / 0.948 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.009338/10.02, allocations: 4.842 MB / 3.645 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/10.03, allocations: 3.399 MB / 3.649 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/10.03, allocations: 445.5 kB / 3.649 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/10.03, allocations: 28.52 kB / 3.649 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008222/10.03, allocations: 388.6 kB / 3.65 GB, free: 179.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.606e-06/10.03, allocations: 0 / 3.65 GB, free: 179.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001813/10.03, allocations: 0.6946 MB / 3.65 GB, free: 178.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/10.03, allocations: 60.19 kB / 3.65 GB, free: 178.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/10.03, allocations: 418.1 kB / 3.651 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/10.03, allocations: 33.09 kB / 3.651 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/10.03, allocations: 451.6 kB / 3.651 GB, free: 177.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/10.03, allocations: 264 kB / 3.651 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/10.03, allocations: 0 / 3.651 GB, free: 177.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001227/10.03, allocations: 382.7 kB / 3.652 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/10.03, allocations: 257.5 kB / 3.652 GB, free: 176.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/10.03, allocations: 383.6 kB / 3.652 GB, free: 176.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/10.03, allocations: 336.4 kB / 3.653 GB, free: 175.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/10.03, allocations: 4 kB / 3.653 GB, free: 175.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001669/10.04, allocations: 0.7572 MB / 3.653 GB, free: 175.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/10.04, allocations: 8 kB / 3.653 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/10.04, allocations: 4 kB / 3.653 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/10.04, allocations: 4 kB / 3.653 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/10.04, allocations: 159.7 kB / 3.654 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/10.04, allocations: 8 kB / 3.654 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/10.04, allocations: 111.4 kB / 3.654 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/10.04, allocations: 31.98 kB / 3.654 GB, free: 174.7 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 () * 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.0002224/10.04, allocations: 120.8 kB / 3.654 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001453/10.04, allocations: 0.683 MB / 3.655 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/10.04, allocations: 75.16 kB / 3.655 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/10.04, allocations: 79.31 kB / 3.655 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/10.04, allocations: 8 kB / 3.655 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/10.04, allocations: 3.938 kB / 3.655 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/10.04, allocations: 0.9514 MB / 3.656 GB, free: 172.7 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004338/10.05, allocations: 2.491 MB / 3.658 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/10.05, allocations: 0 / 3.658 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/10.05, allocations: 183.8 kB / 3.658 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/10.05, allocations: 4 kB / 3.658 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/10.05, allocations: 7.984 kB / 3.658 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/10.05, allocations: 4 kB / 3.658 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/10.05, allocations: 0 / 3.658 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/10.05, allocations: 1.247 MB / 3.659 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/10.05, allocations: 240.1 kB / 3.66 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/10.05, allocations: 7.984 kB / 3.66 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/10.05, allocations: 91.81 kB / 3.66 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/10.05, allocations: 40.72 kB / 3.66 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/10.05, allocations: 23.98 kB / 3.66 GB, free: 168.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005165/10.05, allocations: 318.9 kB / 3.66 GB, free: 167.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/10.05, allocations: 0 / 3.66 GB, free: 167.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001669/10.06, allocations: 458.9 kB / 3.661 GB, free: 167.4 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 () * 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.004946/10.06, allocations: 3.544 MB / 3.664 GB, free: 164 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00149/10.06, allocations: 0.6538 MB / 3.665 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/10.06, allocations: 8.062 kB / 3.665 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/10.06, allocations: 354.8 kB / 3.665 GB, free: 163 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/10.07, allocations: 0.4908 MB / 3.666 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/10.07, allocations: 1.921 MB / 3.667 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/10.07, allocations: 1.155 MB / 3.669 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001436/10.07, allocations: 245.8 kB / 3.669 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/10.07, allocations: 367.3 kB / 3.669 GB, free: 158.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/10.07, allocations: 0 / 3.669 GB, free: 158.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/10.2, allocations: 35.52 MB / 3.704 GB, free: 123.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/10.2, allocations: 133.7 kB / 3.704 GB, free: 123.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.894/14.1, allocations: 0 / 3.704 GB, free: 123.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)