Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001343/0.001343, allocations: 176.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0009329/0.0009329, allocations: 77.39 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.808e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7981, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/6.386, allocations: 2.076 GB / 3.05 GB, free: 7.664 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/6.386, allocations: 84.08 kB / 3.05 GB, free: 7.621 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.519/8.905, allocations: 0.5974 GB / 3.647 GB, free: 150.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/8.905, allocations: 0 / 3.647 GB, free: 150.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001609/8.905, allocations: 28 kB / 3.647 GB, free: 150.9 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.005852/8.911, allocations: 1.547 MB / 3.649 GB, free: 149.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/8.911, allocations: 8.031 kB / 3.649 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/8.914, allocations: 334.2 kB / 3.649 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/8.916, allocations: 0.8317 MB / 3.65 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/8.916, allocations: 39.98 kB / 3.65 GB, free: 148 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/8.916, allocations: 59.95 kB / 3.65 GB, free: 148 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001925/8.918, allocations: 0.9919 MB / 3.651 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/8.92, allocations: 0.9529 MB / 3.652 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/8.92, allocations: 4 kB / 3.652 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/8.92, allocations: 0 / 3.652 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/8.92, allocations: 58.08 kB / 3.652 GB, free: 145.9 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.00618/8.927, allocations: 4.844 MB / 3.656 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/8.929, allocations: 3.391 MB / 3.66 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/8.929, allocations: 447.3 kB / 3.66 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/8.929, allocations: 24.91 kB / 3.66 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/8.93, allocations: 396.4 kB / 3.661 GB, free: 135.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/8.93, allocations: 0 / 3.661 GB, free: 135.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001247/8.931, allocations: 0.6908 MB / 3.661 GB, free: 135.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/8.931, allocations: 60.19 kB / 3.661 GB, free: 135 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/8.932, allocations: 410.3 kB / 3.662 GB, free: 134.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/8.932, allocations: 25.7 kB / 3.662 GB, free: 134.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/8.932, allocations: 467.4 kB / 3.662 GB, free: 134.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/8.932, allocations: 260.1 kB / 3.662 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/8.932, allocations: 0 / 3.662 GB, free: 133.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000101/8.932, allocations: 378.7 kB / 3.663 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/8.933, allocations: 265.4 kB / 3.663 GB, free: 133.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/8.933, allocations: 383 kB / 3.663 GB, free: 132.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/8.933, allocations: 340.4 kB / 3.664 GB, free: 132.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/8.933, allocations: 0 / 3.664 GB, free: 132.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001005/8.934, allocations: 0.761 MB / 3.665 GB, free: 131.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/8.934, allocations: 8.781 kB / 3.665 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/8.934, allocations: 0 / 3.665 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/8.934, allocations: 8 kB / 3.665 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/8.935, allocations: 155.8 kB / 3.665 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/8.935, allocations: 7.938 kB / 3.665 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/8.936, allocations: 111.5 kB / 3.665 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/8.936, allocations: 35.97 kB / 3.665 GB, free: 131.4 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.000142/8.936, allocations: 120.8 kB / 3.665 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008858/8.937, allocations: 0.679 MB / 3.666 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/8.937, allocations: 79.14 kB / 3.666 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/8.938, allocations: 79.33 kB / 3.666 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/8.938, allocations: 8 kB / 3.666 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/8.938, allocations: 4 kB / 3.666 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008082/8.938, allocations: 0.9475 MB / 3.667 GB, free: 129.4 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.003036/8.941, allocations: 2.487 MB / 3.669 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/8.942, allocations: 4 kB / 3.669 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/8.942, allocations: 179.9 kB / 3.669 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/8.942, allocations: 0 / 3.669 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/8.942, allocations: 8 kB / 3.669 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/8.942, allocations: 3.938 kB / 3.669 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/8.942, allocations: 3.984 kB / 3.669 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/8.944, allocations: 1.247 MB / 3.671 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/8.944, allocations: 232.1 kB / 3.671 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/8.944, allocations: 4 kB / 3.671 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/8.945, allocations: 99.73 kB / 3.671 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/8.945, allocations: 44.72 kB / 3.671 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/8.945, allocations: 23.98 kB / 3.671 GB, free: 124.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000332/8.946, allocations: 318.9 kB / 3.671 GB, free: 124.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.946, allocations: 4 kB / 3.671 GB, free: 124.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001467/8.947, allocations: 450.9 kB / 3.672 GB, free: 124.1 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.004383/8.952, allocations: 3.551 MB / 3.675 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009294/8.953, allocations: 0.6572 MB / 3.676 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/8.953, allocations: 0 / 3.676 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/8.953, allocations: 358.8 kB / 3.676 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/8.956, allocations: 495.6 kB / 3.677 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/8.96, allocations: 1.93 MB / 3.678 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/8.96, allocations: 1.159 MB / 3.68 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001086/8.961, allocations: 246.5 kB / 3.68 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/8.962, allocations: 367.3 kB / 3.68 GB, free: 115.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.913e-06/8.962, allocations: 0 / 3.68 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/9.031, allocations: 35.53 MB / 3.715 GB, free: 79.77 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/9.031, allocations: 133.3 kB / 3.715 GB, free: 79.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/12.27, allocations: 7.938 kB / 3.715 GB, free: 79.57 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)