Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 248.5 MB / 261.1 MB, free: 6.039 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.001521/0.001521, allocations: 190.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.1 MB / 0.571 GB, free: 11.83 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.001147/0.001147, allocations: 102.7 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.584e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/7.313, allocations: 2.182 GB / 3.073 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004678/7.313, allocations: 100.3 kB / 3.073 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2231/7.536, allocations: 49.86 MB / 3.122 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.605e-06/7.536, allocations: 0 / 3.122 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.499e-05/7.536, allocations: 4 kB / 3.122 GB, free: 107.1 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001755/7.538, allocations: 0.6633 MB / 3.123 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/7.538, allocations: 12.03 kB / 3.123 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/7.538, allocations: 42.56 kB / 3.123 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/7.541, allocations: 151.5 kB / 3.123 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/7.541, allocations: 310.4 kB / 3.123 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/7.541, allocations: 45.7 kB / 3.123 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/7.542, allocations: 27.95 kB / 3.123 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/7.542, allocations: 212.1 kB / 3.123 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/7.542, allocations: 0 / 3.123 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/7.542, allocations: 8 kB / 3.123 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/7.542, allocations: 0 / 3.123 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/7.543, allocations: 116.1 kB / 3.123 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/7.547, allocations: 1.013 MB / 3.124 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/7.548, allocations: 166.5 kB / 3.125 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/7.548, allocations: 96.83 kB / 3.125 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/7.548, allocations: 0 / 3.125 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/7.549, allocations: 208.1 kB / 3.125 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/7.549, allocations: 0 / 3.125 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.005419/7.554, allocations: 0.6408 MB / 3.126 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/7.554, allocations: 85.09 kB / 3.126 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/7.555, allocations: 302.5 kB / 3.126 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/7.555, allocations: 33.7 kB / 3.126 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/7.555, allocations: 148.8 kB / 3.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/7.555, allocations: 59.11 kB / 3.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/7.555, allocations: 8 kB / 3.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/7.555, allocations: 342.8 kB / 3.126 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/7.556, allocations: 136.5 kB / 3.127 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/7.556, allocations: 209.5 kB / 3.127 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/7.557, allocations: 163 kB / 3.127 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/7.557, allocations: 4 kB / 3.127 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006345/7.563, allocations: 0.8571 MB / 3.128 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/7.563, allocations: 33.7 kB / 3.128 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/7.563, allocations: 3.984 kB / 3.128 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/7.564, allocations: 181.7 kB / 3.128 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/7.565, allocations: 43.86 kB / 3.128 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/7.568, allocations: 2.202 MB / 3.13 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/7.569, allocations: 47.66 kB / 3.13 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/7.569, allocations: 19.98 kB / 3.13 GB, free: 98.13 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/7.57, allocations: 172.9 kB / 3.13 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/7.57, allocations: 31.58 kB / 3.13 GB, free: 97.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/7.57, allocations: 26.95 kB / 3.13 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/7.57, allocations: 4 kB / 3.13 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/7.57, allocations: 0 / 3.13 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/7.57, allocations: 0 / 3.13 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/7.575, allocations: 1.048 MB / 3.132 GB, free: 96.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/7.576, allocations: 4 kB / 3.132 GB, free: 96.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/7.576, allocations: 8 kB / 3.132 GB, free: 96.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/7.576, allocations: 96.72 kB / 3.132 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/7.576, allocations: 11.98 kB / 3.132 GB, free: 96.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/7.577, allocations: 0.7225 MB / 3.132 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/7.577, allocations: 0 / 3.132 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/7.583, allocations: 0.8958 MB / 3.133 GB, free: 94.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/7.583, allocations: 132.8 kB / 3.133 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/7.583, allocations: 4 kB / 3.133 GB, free: 94.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/7.583, allocations: 15.98 kB / 3.133 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/7.584, allocations: 7.984 kB / 3.133 GB, free: 94.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/7.584, allocations: 15.98 kB / 3.133 GB, free: 94.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003331/7.584, allocations: 230.2 kB / 3.134 GB, free: 94.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/7.584, allocations: 4.062 kB / 3.134 GB, free: 94.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000922/7.585, allocations: 179.7 kB / 3.134 GB, free: 94.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002638/7.588, allocations: 1.711 MB / 3.135 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002204/7.59, allocations: 0.5343 MB / 3.136 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/7.59, allocations: 3.938 kB / 3.136 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/7.591, allocations: 232.2 kB / 3.136 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/7.592, allocations: 61.11 kB / 3.136 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/7.593, allocations: 0.5123 MB / 3.137 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/7.594, allocations: 0.7638 MB / 3.137 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002467/7.594, allocations: 34.05 kB / 3.138 GB, free: 90.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/7.594, allocations: 83.41 kB / 3.138 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/7.594, allocations: 4 kB / 3.138 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/7.656, allocations: 21.39 MB / 3.158 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/7.656, allocations: 219.6 kB / 3.159 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/11.15, allocations: 0 / 3.159 GB, free: 68.96 MB / 0.8698 GB