Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.717/2.717, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7487, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003/0.7518, allocations: 2.015 MB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1504/0.9022, allocations: 137.1 MB / 1.117 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.9024, allocations: 0 / 1.117 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.9028, allocations: 83.56 kB / 1.117 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.9034, allocations: 210.9 kB / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.9048, allocations: 0.5152 MB / 1.118 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000427/0.9053, allocations: 370.6 kB / 1.118 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.9054, allocations: 36.72 kB / 1.118 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.9056, allocations: 159.5 kB / 1.118 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.9059, allocations: 183.4 kB / 1.119 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.906, allocations: 16 kB / 1.119 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009957/0.907, allocations: 0.4992 MB / 1.119 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.9071, allocations: 67.72 kB / 1.119 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.9072, allocations: 77.58 kB / 1.119 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.9077, allocations: 462.8 kB / 1.12 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9077, allocations: 0 / 1.12 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9077, allocations: 4 kB / 1.12 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9077, allocations: 0 / 1.12 GB, free: 8.047 MB / 0.8731 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.001329/0.9091, allocations: 0.6845 MB / 1.12 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9091, allocations: 12.03 kB / 1.12 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.9092, allocations: 46.55 kB / 1.12 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.9106, allocations: 163.4 kB / 1.121 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.9111, allocations: 298.5 kB / 1.121 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.9111, allocations: 45.7 kB / 1.121 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.9112, allocations: 16 kB / 1.121 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.9116, allocations: 211.9 kB / 1.121 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9116, allocations: 3.938 kB / 1.121 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.9116, allocations: 12 kB / 1.121 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9116, allocations: 4 kB / 1.121 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.9119, allocations: 120.1 kB / 1.121 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.9141, allocations: 1 MB / 1.122 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.9148, allocations: 162.5 kB / 1.122 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.9151, allocations: 100.9 kB / 1.122 GB, free: 5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.9151, allocations: 8 kB / 1.122 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.9155, allocations: 188.9 kB / 1.123 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.9155, allocations: 0 / 1.123 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.003779/0.9193, allocations: 0.8761 MB / 1.123 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.9193, allocations: 85.09 kB / 1.124 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.9198, allocations: 348.3 kB / 1.124 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.9198, allocations: 33.69 kB / 1.124 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.92, allocations: 152.6 kB / 1.124 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.92, allocations: 55.19 kB / 1.124 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.9201, allocations: 8 kB / 1.124 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9202, allocations: 342.8 kB / 1.124 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.9205, allocations: 140.5 kB / 1.125 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.9209, allocations: 213.4 kB / 1.125 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.9213, allocations: 178.8 kB / 1.125 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9213, allocations: 0 / 1.125 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003371/0.9246, allocations: 0.8722 MB / 1.126 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.9247, allocations: 41.62 kB / 1.126 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9247, allocations: 0 / 1.126 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/0.9256, allocations: 205.6 kB / 1.126 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.9259, allocations: 35.97 kB / 1.126 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.9287, allocations: 2.247 MB / 1.128 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.9292, allocations: 43.67 kB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.9292, allocations: 23.97 kB / 1.128 GB, free: 14.64 MB / 0.8887 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.0002336/0.9295, allocations: 188.8 kB / 1.129 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.9295, allocations: 31.62 kB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.9296, allocations: 31.17 kB / 1.129 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9296, allocations: 0 / 1.129 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9296, allocations: 3.953 kB / 1.129 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9296, allocations: 0 / 1.129 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.9327, allocations: 1.052 MB / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.9327, allocations: 0 / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.9328, allocations: 8 kB / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.9331, allocations: 116.8 kB / 1.13 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.9331, allocations: 4 kB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008358/0.934, allocations: 0.7614 MB / 1.13 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.934, allocations: 3.953 kB / 1.13 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.9369, allocations: 0.8902 MB / 1.131 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.9371, allocations: 132.6 kB / 1.131 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.9371, allocations: 8 kB / 1.131 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.9374, allocations: 12 kB / 1.131 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.9375, allocations: 16.03 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.9375, allocations: 8 kB / 1.132 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002957/0.9378, allocations: 239 kB / 1.132 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9378, allocations: 0 / 1.132 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005528/0.9384, allocations: 108 kB / 1.132 GB, free: 10.9 MB / 0.8887 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.001532/0.9399, allocations: 1.234 MB / 1.133 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.9413, allocations: 0.5667 MB / 1.134 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.9414, allocations: 0 / 1.134 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.9421, allocations: 248.2 kB / 1.134 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.9426, allocations: 61.61 kB / 1.134 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.949, allocations: 2.517 MB / 1.136 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.9493, allocations: 0.7599 MB / 1.137 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.9495, allocations: 30.28 kB / 1.137 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.9497, allocations: 83.41 kB / 1.137 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.9497, allocations: 0 / 1.137 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.9739, allocations: 9.621 MB / 1.147 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.9743, allocations: 259.5 kB / 1.147 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.021, allocations: 5.578 kB / 1.147 GB, free: 11.57 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: