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.121/2.121, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 184.6 kB / 325.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.4 MB / 0.5764 GB, free: 20.73 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.001103/0.001102, allocations: 82.3 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004826, allocations: 15.78 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.679/6.899, allocations: 2.183 GB / 3.081 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/6.899, allocations: 100.3 kB / 3.081 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7954/7.695, allocations: 49.95 MB / 3.13 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/7.695, allocations: 0 / 3.13 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.292e-05/7.695, allocations: 11.94 kB / 3.13 GB, free: 322.5 MB / 0.8855 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.001863/7.697, allocations: 0.71 MB / 3.131 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/7.697, allocations: 12.03 kB / 3.131 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/7.697, allocations: 46.55 kB / 3.131 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/7.699, allocations: 151.5 kB / 3.131 GB, free: 321.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/7.7, allocations: 310.4 kB / 3.131 GB, free: 321.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/7.7, allocations: 46.14 kB / 3.131 GB, free: 321.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/7.7, allocations: 27.95 kB / 3.131 GB, free: 321.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/7.701, allocations: 225.1 kB / 3.132 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/7.701, allocations: 0 / 3.132 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/7.701, allocations: 4 kB / 3.132 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/7.701, allocations: 4 kB / 3.132 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/7.701, allocations: 128.1 kB / 3.132 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/7.705, allocations: 1.013 MB / 3.133 GB, free: 319.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/7.706, allocations: 182.4 kB / 3.133 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/7.706, allocations: 4 kB / 3.133 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/7.707, allocations: 202.7 kB / 3.133 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 3.797e-06/7.707, allocations: 4 kB / 3.133 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.007603/7.714, allocations: 0.9993 MB / 3.134 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/7.715, allocations: 85.06 kB / 3.134 GB, free: 318.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/7.715, allocations: 299.6 kB / 3.135 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/7.715, allocations: 33.7 kB / 3.135 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/7.715, allocations: 148.6 kB / 3.135 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/7.716, allocations: 59.25 kB / 3.135 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/7.716, allocations: 8 kB / 3.135 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000114/7.716, allocations: 342.8 kB / 3.135 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/7.716, allocations: 144.5 kB / 3.135 GB, free: 317 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/7.717, allocations: 217.4 kB / 3.135 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/7.718, allocations: 182.8 kB / 3.136 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/7.718, allocations: 4 kB / 3.136 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006716/7.724, allocations: 0.904 MB / 3.137 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/7.724, allocations: 35.48 kB / 3.137 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.724, allocations: 4 kB / 3.137 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/7.726, allocations: 205.6 kB / 3.137 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/7.727, allocations: 43.91 kB / 3.137 GB, free: 315.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/7.731, allocations: 2.24 MB / 3.139 GB, free: 313 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/7.732, allocations: 43.58 kB / 3.139 GB, free: 313 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/7.732, allocations: 31.91 kB / 3.139 GB, free: 312.9 MB / 0.8855 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true 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 () * Number of clocked 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.0003388/7.732, allocations: 187.5 kB / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/7.732, allocations: 31.62 kB / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/7.732, allocations: 31.17 kB / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/7.732, allocations: 0 / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/7.732, allocations: 0 / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/7.732, allocations: 0 / 3.139 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007452/7.74, allocations: 1.083 MB / 3.14 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/7.74, allocations: 3.938 kB / 3.14 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/7.74, allocations: 8 kB / 3.14 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000937/7.741, allocations: 112.8 kB / 3.14 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.781e-05/7.741, allocations: 11.95 kB / 3.14 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/7.743, allocations: 0.768 MB / 3.141 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.743, allocations: 0 / 3.141 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009121/7.753, allocations: 0.9242 MB / 3.142 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/7.753, allocations: 136.7 kB / 3.142 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/7.753, allocations: 11.94 kB / 3.142 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/7.754, allocations: 11.98 kB / 3.142 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/7.754, allocations: 16.05 kB / 3.142 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/7.754, allocations: 15.94 kB / 3.142 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006244/7.755, allocations: 235 kB / 3.143 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.81e-07/7.755, allocations: 4 kB / 3.143 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001496/7.756, allocations: 163.9 kB / 3.143 GB, free: 309.1 MB / 0.8855 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) * Number of clocked states: 0 () * 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.004787/7.761, allocations: 1.757 MB / 3.144 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004273/7.765, allocations: 0.5579 MB / 3.145 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/7.766, allocations: 4 kB / 3.145 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002228/7.768, allocations: 244.2 kB / 3.145 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/7.769, allocations: 65.14 kB / 3.145 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/7.773, allocations: 1.664 MB / 3.147 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/7.773, allocations: 0.7599 MB / 3.148 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003779/7.773, allocations: 34.28 kB / 3.148 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/7.774, allocations: 79.41 kB / 3.148 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.883e-06/7.774, allocations: 0 / 3.148 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/7.834, allocations: 19.46 MB / 3.167 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/7.834, allocations: 244.8 kB / 3.167 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/11.24, allocations: 0 / 3.167 GB, free: 284.2 MB / 0.8855 GB