Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001391/0.001391, allocations: 183.3 kB / 371 MB, free: 10.84 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.076/2.076, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008511/0.0008507, allocations: 81.17 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006427, allocations: 16.17 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002886/0.2327, allocations: 2.036 MB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8644/1.097, allocations: 137.2 MB / 1.114 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/1.097, allocations: 1.188 kB / 1.114 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/1.098, allocations: 80.19 kB / 1.114 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000817/1.099, allocations: 203 kB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/1.101, allocations: 0.5139 MB / 1.115 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006951/1.102, allocations: 375.3 kB / 1.116 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/1.102, allocations: 36.38 kB / 1.116 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/1.102, allocations: 152.6 kB / 1.116 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/1.103, allocations: 183.1 kB / 1.116 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/1.103, allocations: 18.2 kB / 1.116 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/1.105, allocations: 0.4971 MB / 1.116 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/1.105, allocations: 64.64 kB / 1.116 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/1.105, allocations: 73.34 kB / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/1.106, allocations: 457.8 kB / 1.117 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.106, allocations: 0 / 1.117 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.106, allocations: 0 / 1.117 GB, free: 17.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.106, allocations: 4 kB / 1.117 GB, free: 17.38 MB / 0.698 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.002112/1.108, allocations: 0.688 MB / 1.118 GB, free: 16.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.108, allocations: 9.781 kB / 1.118 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.597e-05/1.108, allocations: 48.33 kB / 1.118 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/1.111, allocations: 159.6 kB / 1.118 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/1.112, allocations: 310.1 kB / 1.118 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/1.112, allocations: 47.8 kB / 1.118 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/1.112, allocations: 20.38 kB / 1.118 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/1.112, allocations: 211.7 kB / 1.118 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.112, allocations: 0 / 1.118 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/1.112, allocations: 5.906 kB / 1.118 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.112, allocations: 6.312 kB / 1.118 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/1.113, allocations: 121.2 kB / 1.119 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/1.117, allocations: 0.996 MB / 1.119 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.118, allocations: 161.8 kB / 1.12 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/1.119, allocations: 101 kB / 1.12 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/1.119, allocations: 5.594 kB / 1.12 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/1.119, allocations: 198.1 kB / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.615e-06/1.119, allocations: 0 / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.007174/1.127, allocations: 0.8773 MB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/1.127, allocations: 88.34 kB / 1.121 GB, free: 15.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/1.127, allocations: 349.7 kB / 1.121 GB, free: 15.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.128, allocations: 32.2 kB / 1.121 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/1.128, allocations: 149.5 kB / 1.121 GB, free: 15.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/1.128, allocations: 54.42 kB / 1.121 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/1.128, allocations: 9.125 kB / 1.121 GB, free: 15.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.128, allocations: 341.7 kB / 1.122 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/1.129, allocations: 136.3 kB / 1.122 GB, free: 14.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/1.129, allocations: 217.9 kB / 1.122 GB, free: 14.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/1.13, allocations: 181.3 kB / 1.122 GB, free: 14.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.13, allocations: 2.969 kB / 1.122 GB, free: 14.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006367/1.136, allocations: 0.8734 MB / 1.123 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/1.136, allocations: 38.7 kB / 1.123 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.137, allocations: 0 / 1.123 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.138, allocations: 208.2 kB / 1.123 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/1.139, allocations: 40.38 kB / 1.123 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/1.143, allocations: 2.23 MB / 1.126 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/1.144, allocations: 46.55 kB / 1.126 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.144, allocations: 20.5 kB / 1.126 GB, free: 12.75 MB / 0.698 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.0003513/1.144, allocations: 191.5 kB / 1.126 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/1.144, allocations: 33.53 kB / 1.126 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/1.144, allocations: 29.91 kB / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.144, allocations: 6.797 kB / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.144, allocations: 4 kB / 1.126 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/1.144, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/1.15, allocations: 1.05 MB / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.15, allocations: 0 / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.15, allocations: 5.344 kB / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/1.15, allocations: 113.2 kB / 1.127 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/1.151, allocations: 14.36 kB / 1.127 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/1.152, allocations: 0.7494 MB / 1.128 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.152, allocations: 1.156 kB / 1.128 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/1.158, allocations: 0.891 MB / 1.129 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/1.158, allocations: 127.9 kB / 1.129 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/1.158, allocations: 10.16 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/1.158, allocations: 13.95 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/1.159, allocations: 15.5 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/1.159, allocations: 17.38 kB / 1.129 GB, free: 11.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004676/1.159, allocations: 237.4 kB / 1.129 GB, free: 11.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.159, allocations: 0 / 1.129 GB, free: 11.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000852/1.16, allocations: 110 kB / 1.129 GB, free: 11.14 MB / 0.698 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.002536/1.163, allocations: 1.225 MB / 1.13 GB, free: 10.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002495/1.165, allocations: 0.5615 MB / 1.131 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.165, allocations: 0 / 1.131 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.166, allocations: 250 kB / 1.131 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/1.167, allocations: 63.55 kB / 1.131 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.178, allocations: 2.52 MB / 1.134 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/1.179, allocations: 0.7627 MB / 1.134 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002869/1.179, allocations: 33.16 kB / 1.134 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/1.179, allocations: 84.45 kB / 1.135 GB, free: 8.629 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.179, allocations: 0 / 1.135 GB, free: 8.629 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/1.233, allocations: 9.636 MB / 1.144 GB, free: 5.184 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/1.233, allocations: 259.8 kB / 1.144 GB, free: 4.848 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.372, allocations: 3.094 kB / 1.144 GB, free: 4.848 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)