Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.88/1.88, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001311/0.001311, allocations: 179.7 kB / 371.8 MB, free: 10.26 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.008/2.008, allocations: 205.4 MB / 0.6305 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009301, allocations: 97.72 kB / 0.7439 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 10.75 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.111, allocations: 2.076 GB / 3.055 GB, free: 195 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/6.111, allocations: 90.39 kB / 3.056 GB, free: 194.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.477/8.588, allocations: 0.6044 GB / 3.66 GB, free: 193.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.076e-06/8.589, allocations: 0 / 3.66 GB, free: 193.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001768/8.589, allocations: 25.81 kB / 3.66 GB, free: 193.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.009693/8.598, allocations: 1.671 MB / 3.662 GB, free: 192.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/8.599, allocations: 16.45 kB / 3.662 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000848/8.599, allocations: 160 kB / 3.662 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/8.604, allocations: 340.5 kB / 3.662 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/8.608, allocations: 0.8481 MB / 3.663 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/8.608, allocations: 81.19 kB / 3.663 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/8.609, allocations: 103.9 kB / 3.663 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/8.614, allocations: 1.108 MB / 3.664 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.646e-05/8.614, allocations: 0 / 3.664 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/8.614, allocations: 44.12 kB / 3.664 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/8.614, allocations: 59.91 kB / 3.664 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004055/8.618, allocations: 1.173 MB / 3.665 GB, free: 192.1 MB / 0.948 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.01271/8.631, allocations: 5.038 MB / 3.67 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/8.633, allocations: 0.9642 MB / 3.671 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/8.634, allocations: 16.08 kB / 3.671 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/8.635, allocations: 497.8 kB / 3.672 GB, free: 189.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 5.641e-06/8.635, allocations: 0 / 3.672 GB, free: 189.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.003462/8.638, allocations: 1.178 MB / 3.673 GB, free: 189.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/8.638, allocations: 58.69 kB / 3.673 GB, free: 189.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/8.64, allocations: 0.4985 MB / 3.673 GB, free: 189.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/8.64, allocations: 47.2 kB / 3.674 GB, free: 189.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/8.641, allocations: 459.8 kB / 3.674 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/8.641, allocations: 271.6 kB / 3.674 GB, free: 188.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/8.641, allocations: 15.22 kB / 3.674 GB, free: 188.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000203/8.641, allocations: 382.9 kB / 3.675 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/8.642, allocations: 333.9 kB / 3.675 GB, free: 188.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/8.643, allocations: 464.2 kB / 3.675 GB, free: 188.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/8.644, allocations: 405.1 kB / 3.676 GB, free: 188.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/8.644, allocations: 2.781 kB / 3.676 GB, free: 188.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002513/8.647, allocations: 0.9368 MB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/8.647, allocations: 15.64 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/8.647, allocations: 3.75 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/8.647, allocations: 6.031 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/8.648, allocations: 153.2 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/8.648, allocations: 11.02 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/8.65, allocations: 135.4 kB / 3.677 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/8.65, allocations: 31.25 kB / 3.677 GB, free: 188.2 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 () * 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.001034/8.651, allocations: 332.4 kB / 3.677 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/8.652, allocations: 75.28 kB / 3.677 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/8.652, allocations: 109.2 kB / 3.677 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/8.652, allocations: 7.562 kB / 3.677 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/8.652, allocations: 0 / 3.677 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/8.654, allocations: 1.104 MB / 3.679 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/8.66, allocations: 2.154 MB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/8.66, allocations: 3.812 kB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/8.661, allocations: 175.7 kB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/8.661, allocations: 3.781 kB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/8.662, allocations: 23.47 kB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/8.662, allocations: 3.812 kB / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/8.662, allocations: 0 / 3.681 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/8.665, allocations: 1.513 MB / 3.682 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/8.666, allocations: 266.1 kB / 3.683 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/8.666, allocations: 14.16 kB / 3.683 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/8.668, allocations: 95.97 kB / 3.683 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/8.668, allocations: 44.5 kB / 3.683 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/8.668, allocations: 28.19 kB / 3.683 GB, free: 186.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001012/8.669, allocations: 407.4 kB / 3.683 GB, free: 186.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/8.669, allocations: 0 / 3.683 GB, free: 186.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002822/8.672, allocations: 0.5115 MB / 3.684 GB, free: 186.8 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 () * 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.00719/8.679, allocations: 3.642 MB / 3.687 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002215/8.682, allocations: 0.8138 MB / 3.688 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/8.682, allocations: 3.156 kB / 3.688 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/8.683, allocations: 434.7 kB / 3.688 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/8.687, allocations: 0.5459 MB / 3.689 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/8.704, allocations: 7.488 MB / 3.696 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/8.705, allocations: 1.156 MB / 3.697 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002355/8.707, allocations: 277.2 kB / 3.698 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009917/8.708, allocations: 375.2 kB / 3.698 GB, free: 181.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.054e-06/8.708, allocations: 0 / 3.698 GB, free: 181.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/8.816, allocations: 50.71 MB / 3.748 GB, free: 180 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/8.816, allocations: 183 kB / 3.748 GB, free: 179.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/12.76, allocations: 0 / 3.748 GB, free: 179.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)