Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001815/0.001815, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001168/0.001169, allocations: 91.7 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.816e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/4.832, allocations: 1.723 GB / 2.942 GB, free: 113.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/4.832, allocations: 95.94 kB / 2.942 GB, free: 113.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1028/4.935, allocations: 50.03 MB / 2.991 GB, free: 62.73 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/4.935, allocations: 0 / 2.991 GB, free: 62.73 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.626e-05/4.935, allocations: 4 kB / 2.991 GB, free: 62.72 MB / 1.167 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.001497/4.936, allocations: 0.6522 MB / 2.991 GB, free: 62.02 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/4.936, allocations: 8.031 kB / 2.991 GB, free: 62.01 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.033e-05/4.937, allocations: 50.77 kB / 2.991 GB, free: 61.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/4.938, allocations: 151.5 kB / 2.992 GB, free: 61.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/4.939, allocations: 302.4 kB / 2.992 GB, free: 61.47 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/4.939, allocations: 57.64 kB / 2.992 GB, free: 61.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/4.939, allocations: 20 kB / 2.992 GB, free: 61.39 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/4.939, allocations: 209.7 kB / 2.992 GB, free: 61.17 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/4.939, allocations: 3.984 kB / 2.992 GB, free: 61.16 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/4.939, allocations: 0 / 2.992 GB, free: 61.16 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/4.939, allocations: 7.938 kB / 2.992 GB, free: 61.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/4.939, allocations: 120.1 kB / 2.992 GB, free: 61.04 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/4.942, allocations: 1.024 MB / 2.993 GB, free: 59.95 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/4.943, allocations: 166.5 kB / 2.993 GB, free: 59.78 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/4.943, allocations: 96.92 kB / 2.994 GB, free: 59.68 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/4.943, allocations: 4 kB / 2.994 GB, free: 59.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/4.943, allocations: 190.9 kB / 2.994 GB, free: 59.48 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/4.943, allocations: 3.938 kB / 2.994 GB, free: 59.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.003109/4.946, allocations: 0.6499 MB / 2.994 GB, free: 58.81 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/4.946, allocations: 85.06 kB / 2.994 GB, free: 58.71 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/4.947, allocations: 298.6 kB / 2.995 GB, free: 58.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/4.947, allocations: 37.64 kB / 2.995 GB, free: 58.37 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/4.947, allocations: 152.7 kB / 2.995 GB, free: 58.21 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/4.947, allocations: 59.19 kB / 2.995 GB, free: 58.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/4.947, allocations: 8 kB / 2.995 GB, free: 58.15 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/4.947, allocations: 342.8 kB / 2.995 GB, free: 57.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/4.947, allocations: 132.6 kB / 2.995 GB, free: 57.67 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/4.948, allocations: 209.4 kB / 2.996 GB, free: 57.45 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/4.948, allocations: 170.8 kB / 2.996 GB, free: 57.28 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/4.948, allocations: 0 / 2.996 GB, free: 57.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003297/4.951, allocations: 0.8535 MB / 2.997 GB, free: 56.41 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/4.951, allocations: 37.69 kB / 2.997 GB, free: 56.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/4.951, allocations: 0 / 2.997 GB, free: 56.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/4.952, allocations: 185.6 kB / 2.997 GB, free: 56.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/4.952, allocations: 47.97 kB / 2.997 GB, free: 56.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/4.955, allocations: 2.197 MB / 2.999 GB, free: 53.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/4.955, allocations: 43.67 kB / 2.999 GB, free: 53.72 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/4.955, allocations: 19.98 kB / 2.999 GB, free: 53.7 MB / 1.167 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.0002047/4.955, allocations: 163.6 kB / 2.999 GB, free: 53.53 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/4.956, allocations: 31.62 kB / 2.999 GB, free: 53.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/4.956, allocations: 30.95 kB / 2.999 GB, free: 53.47 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/4.956, allocations: 4.188 kB / 2.999 GB, free: 53.46 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/4.956, allocations: 0 / 2.999 GB, free: 53.46 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/4.956, allocations: 3.984 kB / 2.999 GB, free: 53.46 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/4.959, allocations: 1.056 MB / 3 GB, free: 52.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/4.959, allocations: 3.938 kB / 3 GB, free: 52.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/4.959, allocations: 4 kB / 3 GB, free: 52.33 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/4.959, allocations: 88.81 kB / 3 GB, free: 52.24 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/4.959, allocations: 19.94 kB / 3 GB, free: 52.22 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006355/4.96, allocations: 0.7218 MB / 3.001 GB, free: 51.48 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/4.96, allocations: 0 / 3.001 GB, free: 51.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/4.963, allocations: 0.896 MB / 3.002 GB, free: 50.55 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/4.963, allocations: 140.7 kB / 3.002 GB, free: 50.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/4.963, allocations: 8 kB / 3.002 GB, free: 50.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/4.963, allocations: 11.98 kB / 3.002 GB, free: 50.38 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/4.963, allocations: 11.98 kB / 3.002 GB, free: 50.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/4.963, allocations: 11.95 kB / 3.002 GB, free: 50.36 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002853/4.963, allocations: 238.2 kB / 3.002 GB, free: 50.12 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/4.963, allocations: 3.938 kB / 3.002 GB, free: 50.12 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008316/4.964, allocations: 167.8 kB / 3.003 GB, free: 49.96 MB / 1.167 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.002473/4.967, allocations: 1.708 MB / 3.004 GB, free: 48.23 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001603/4.968, allocations: 0.5347 MB / 3.005 GB, free: 47.66 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/4.968, allocations: 4.062 kB / 3.005 GB, free: 47.66 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/4.969, allocations: 234.5 kB / 3.005 GB, free: 47.42 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/4.97, allocations: 59.05 kB / 3.005 GB, free: 47.36 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/4.971, allocations: 0.5216 MB / 3.006 GB, free: 46.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/4.971, allocations: 0.7677 MB / 3.006 GB, free: 46.01 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001966/4.971, allocations: 30 kB / 3.006 GB, free: 45.98 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/4.971, allocations: 83.39 kB / 3.006 GB, free: 45.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/4.971, allocations: 4 kB / 3.006 GB, free: 45.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/5.016, allocations: 21.41 MB / 3.027 GB, free: 24.77 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/5.016, allocations: 220.2 kB / 3.028 GB, free: 24.55 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/7.754, allocations: 0 / 3.028 GB, free: 24.55 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat