Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 387.1 MB / 399.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 180.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 99.88 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.379e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.457/4.727, allocations: 1.722 GB / 2.935 GB, free: 155.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/4.727, allocations: 98.09 kB / 2.935 GB, free: 155.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1047/4.832, allocations: 50.03 MB / 2.984 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.814e-06/4.832, allocations: 0 / 2.984 GB, free: 105.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.984e-05/4.832, allocations: 4 kB / 2.984 GB, free: 105.2 MB / 1.151 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.00157/4.834, allocations: 0.6483 MB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/4.834, allocations: 8.031 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.669e-05/4.834, allocations: 46.55 kB / 2.984 GB, free: 104.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/4.835, allocations: 151.5 kB / 2.984 GB, free: 104.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/4.836, allocations: 302.5 kB / 2.985 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/4.836, allocations: 49.69 kB / 2.985 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/4.836, allocations: 31.95 kB / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/4.837, allocations: 213.5 kB / 2.985 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/4.837, allocations: 0 / 2.985 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/4.837, allocations: 4.219 kB / 2.985 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/4.837, allocations: 4 kB / 2.985 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/4.837, allocations: 120.7 kB / 2.985 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/4.839, allocations: 1.016 MB / 2.986 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/4.84, allocations: 170.5 kB / 2.986 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/4.84, allocations: 88.84 kB / 2.986 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/4.84, allocations: 4.125 kB / 2.986 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/4.841, allocations: 200.9 kB / 2.987 GB, free: 101.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/4.841, allocations: 0 / 2.987 GB, free: 101.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.003031/4.844, allocations: 0.6494 MB / 2.987 GB, free: 101.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/4.844, allocations: 81.11 kB / 2.987 GB, free: 101.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/4.844, allocations: 302.5 kB / 2.988 GB, free: 100.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/4.844, allocations: 33.69 kB / 2.988 GB, free: 100.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/4.844, allocations: 152.7 kB / 2.988 GB, free: 100.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/4.844, allocations: 59.19 kB / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/4.844, allocations: 4 kB / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/4.844, allocations: 342.8 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/4.845, allocations: 132.6 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/4.845, allocations: 209.4 kB / 2.988 GB, free: 99.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/4.845, allocations: 170.7 kB / 2.989 GB, free: 99.73 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/4.845, allocations: 4 kB / 2.989 GB, free: 99.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003288/4.849, allocations: 0.8584 MB / 2.989 GB, free: 98.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/4.849, allocations: 34.78 kB / 2.989 GB, free: 98.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/4.849, allocations: 4 kB / 2.99 GB, free: 98.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007824/4.849, allocations: 177.6 kB / 2.99 GB, free: 98.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/4.85, allocations: 51.84 kB / 2.99 GB, free: 98.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/4.852, allocations: 2.204 MB / 2.992 GB, free: 96.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/4.853, allocations: 47.67 kB / 2.992 GB, free: 96.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/4.853, allocations: 15.98 kB / 2.992 GB, free: 96.14 MB / 1.151 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.0001943/4.853, allocations: 169.1 kB / 2.992 GB, free: 95.97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/4.853, allocations: 35.58 kB / 2.992 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/4.853, allocations: 26.95 kB / 2.992 GB, free: 95.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/4.853, allocations: 0 / 2.992 GB, free: 95.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/4.853, allocations: 4 kB / 2.992 GB, free: 95.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/4.853, allocations: 0 / 2.992 GB, free: 95.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/4.856, allocations: 1.048 MB / 2.993 GB, free: 94.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/4.856, allocations: 0 / 2.993 GB, free: 94.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/4.856, allocations: 7.938 kB / 2.993 GB, free: 94.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/4.856, allocations: 88.81 kB / 2.993 GB, free: 94.69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/4.856, allocations: 11.98 kB / 2.993 GB, free: 94.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/4.857, allocations: 0.7325 MB / 2.994 GB, free: 93.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/4.857, allocations: 0 / 2.994 GB, free: 93.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/4.86, allocations: 0.8953 MB / 2.995 GB, free: 93 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/4.86, allocations: 144.7 kB / 2.995 GB, free: 92.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/4.86, allocations: 0 / 2.995 GB, free: 92.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/4.86, allocations: 19.98 kB / 2.995 GB, free: 92.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/4.86, allocations: 7.984 kB / 2.995 GB, free: 92.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/4.86, allocations: 15.98 kB / 2.995 GB, free: 92.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002487/4.861, allocations: 222.2 kB / 2.995 GB, free: 92.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.861, allocations: 4.062 kB / 2.995 GB, free: 92.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007789/4.861, allocations: 175.8 kB / 2.995 GB, free: 92.41 MB / 1.151 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.001927/4.863, allocations: 1.714 MB / 2.997 GB, free: 90.67 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001413/4.865, allocations: 0.5261 MB / 2.998 GB, free: 90.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/4.865, allocations: 4 kB / 2.998 GB, free: 90.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/4.865, allocations: 236.1 kB / 2.998 GB, free: 89.87 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/4.866, allocations: 70.11 kB / 2.998 GB, free: 89.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/4.867, allocations: 0.5238 MB / 2.998 GB, free: 89.23 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/4.867, allocations: 0.7677 MB / 2.999 GB, free: 88.44 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001854/4.867, allocations: 26.02 kB / 2.999 GB, free: 88.42 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/4.868, allocations: 87.39 kB / 2.999 GB, free: 88.34 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/4.868, allocations: 4 kB / 2.999 GB, free: 88.33 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/4.909, allocations: 21.4 MB / 3.02 GB, free: 67.19 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/4.909, allocations: 222.5 kB / 3.02 GB, free: 66.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/7.761, allocations: 2.062 kB / 3.02 GB, free: 66.96 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat