Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 180.8 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008751/0.0008749, allocations: 90.47 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.775e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1979, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.548/5.746, allocations: 2.194 GB / 3.08 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/5.746, allocations: 86.7 kB / 3.08 GB, free: 169.8 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.196/7.943, allocations: 0.5834 GB / 3.663 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.452e-06/7.943, allocations: 0 / 3.663 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.025e-05/7.943, allocations: 29.41 kB / 3.663 GB, free: 171.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.005146/7.948, allocations: 1.547 MB / 3.665 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.448e-05/7.948, allocations: 7.781 kB / 3.665 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/7.95, allocations: 348.9 kB / 3.665 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/7.952, allocations: 0.8552 MB / 3.666 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/7.952, allocations: 33.38 kB / 3.666 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/7.952, allocations: 59.09 kB / 3.666 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/7.954, allocations: 1.002 MB / 3.667 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/7.955, allocations: 0.9575 MB / 3.668 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/7.955, allocations: 0 / 3.668 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/7.955, allocations: 3.953 kB / 3.668 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/7.955, allocations: 65.02 kB / 3.668 GB, free: 170.9 MB / 0.8698 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.005163/7.96, allocations: 4.856 MB / 3.673 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/7.962, allocations: 3.386 MB / 3.676 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/7.963, allocations: 448.5 kB / 3.676 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/7.963, allocations: 18.62 kB / 3.676 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/7.963, allocations: 406.2 kB / 3.677 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/7.964, allocations: 0 / 3.677 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001143/7.965, allocations: 0.6846 MB / 3.677 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/7.965, allocations: 65.33 kB / 3.678 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/7.965, allocations: 419.8 kB / 3.678 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/7.965, allocations: 32.7 kB / 3.678 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/7.965, allocations: 463.2 kB / 3.678 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/7.966, allocations: 262 kB / 3.679 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/7.966, allocations: 0 / 3.679 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.966, allocations: 380.3 kB / 3.679 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/7.966, allocations: 256.1 kB / 3.679 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/7.967, allocations: 381.8 kB / 3.68 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/7.967, allocations: 332.6 kB / 3.68 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.967, allocations: 0 / 3.68 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009208/7.968, allocations: 0.7572 MB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/7.968, allocations: 8.281 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/7.968, allocations: 6.938 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/7.968, allocations: 3.75 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/7.968, allocations: 158 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/7.969, allocations: 10.95 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/7.97, allocations: 111.1 kB / 3.681 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/7.97, allocations: 22.28 kB / 3.681 GB, free: 164.2 MB / 0.8698 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.0001232/7.97, allocations: 118 kB / 3.681 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008035/7.97, allocations: 0.6781 MB / 3.682 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/7.971, allocations: 72.53 kB / 3.682 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/7.971, allocations: 83.77 kB / 3.682 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/7.971, allocations: 14.78 kB / 3.682 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/7.971, allocations: 0 / 3.682 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007672/7.972, allocations: 0.9374 MB / 3.683 GB, free: 163.5 MB / 0.8698 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.002742/7.974, allocations: 2.493 MB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/7.974, allocations: 2.75 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/7.975, allocations: 178.7 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/7.975, allocations: 7.891 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/7.975, allocations: 11.17 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/7.975, allocations: 7.938 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/7.975, allocations: 3.781 kB / 3.685 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/7.976, allocations: 1.228 MB / 3.687 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/7.977, allocations: 252.4 kB / 3.687 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/7.977, allocations: 3.781 kB / 3.687 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/7.978, allocations: 105.1 kB / 3.687 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/7.978, allocations: 38.53 kB / 3.687 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/7.978, allocations: 28.48 kB / 3.687 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003496/7.978, allocations: 328 kB / 3.687 GB, free: 162 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/7.978, allocations: 0 / 3.687 GB, free: 162 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001235/7.979, allocations: 454.4 kB / 3.688 GB, free: 162 MB / 0.8698 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.003677/7.983, allocations: 3.55 MB / 3.691 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009569/7.984, allocations: 0.6478 MB / 3.692 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/7.984, allocations: 0 / 3.692 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/7.985, allocations: 351.6 kB / 3.692 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/7.987, allocations: 498.9 kB / 3.693 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/7.99, allocations: 1.936 MB / 3.695 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/7.991, allocations: 1.164 MB / 3.696 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008378/7.992, allocations: 252 kB / 3.696 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/7.992, allocations: 371.2 kB / 3.696 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/7.992, allocations: 0 / 3.696 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06624/8.058, allocations: 35.78 MB / 3.731 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/8.059, allocations: 141.4 kB / 3.731 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/11.12, allocations: 0 / 3.731 GB, free: 157.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)