Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",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.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001658/0.001658, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.519/1.519, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008825/0.0008826, allocations: 95.83 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.449e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/4.997, allocations: 1.722 GB / 2.935 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/4.997, allocations: 106 kB / 2.935 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1415/5.139, allocations: 66.25 MB / 3 GB, free: 56.34 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/5.139, allocations: 4 kB / 3 GB, free: 56.34 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.937e-05/5.139, allocations: 8 kB / 3 GB, free: 56.33 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002475/5.141, allocations: 0.897 MB / 3.001 GB, free: 55.38 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/5.141, allocations: 8.031 kB / 3.001 GB, free: 55.37 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/5.141, allocations: 62.53 kB / 3.001 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/5.144, allocations: 247.1 kB / 3.001 GB, free: 55.06 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/5.145, allocations: 393.1 kB / 3.001 GB, free: 54.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/5.145, allocations: 91.84 kB / 3.001 GB, free: 54.54 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/5.145, allocations: 47.98 kB / 3.001 GB, free: 54.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/5.145, allocations: 320.3 kB / 3.002 GB, free: 54.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/5.145, allocations: 0 / 3.002 GB, free: 54.15 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/5.145, allocations: 8 kB / 3.002 GB, free: 54.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/5.145, allocations: 8 kB / 3.002 GB, free: 54.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/5.146, allocations: 181.6 kB / 3.002 GB, free: 53.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/5.15, allocations: 1.745 MB / 3.004 GB, free: 52.15 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/5.151, allocations: 178.7 kB / 3.004 GB, free: 51.96 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/5.151, allocations: 112.8 kB / 3.004 GB, free: 51.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/5.151, allocations: 11.98 kB / 3.004 GB, free: 51.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/5.151, allocations: 262.5 kB / 3.004 GB, free: 51.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 3.577e-06/5.151, allocations: 0 / 3.004 GB, free: 51.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.005342/5.157, allocations: 0.991 MB / 3.005 GB, free: 50.56 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/5.157, allocations: 81.11 kB / 3.005 GB, free: 50.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/5.157, allocations: 398.9 kB / 3.006 GB, free: 50.07 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/5.157, allocations: 37.7 kB / 3.006 GB, free: 50.03 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/5.158, allocations: 196.9 kB / 3.006 GB, free: 49.83 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/5.158, allocations: 94.78 kB / 3.006 GB, free: 49.74 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/5.158, allocations: 16 kB / 3.006 GB, free: 49.72 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/5.158, allocations: 354.8 kB / 3.006 GB, free: 49.37 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/5.158, allocations: 221.5 kB / 3.006 GB, free: 49.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/5.159, allocations: 363.1 kB / 3.007 GB, free: 48.77 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/5.159, allocations: 277.3 kB / 3.007 GB, free: 48.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/5.159, allocations: 0 / 3.007 GB, free: 48.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00613/5.165, allocations: 1.472 MB / 3.008 GB, free: 46.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/5.165, allocations: 59.39 kB / 3.009 GB, free: 46.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/5.165, allocations: 4 kB / 3.009 GB, free: 46.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/5.167, allocations: 363.2 kB / 3.009 GB, free: 46.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/5.167, allocations: 103.8 kB / 3.009 GB, free: 46.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/5.172, allocations: 4.407 MB / 3.013 GB, free: 41.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/5.173, allocations: 119.2 kB / 3.013 GB, free: 41.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/5.173, allocations: 35.95 kB / 3.013 GB, free: 41.55 MB / 1.151 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002615/5.173, allocations: 137.3 kB / 3.014 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/5.173, allocations: 43.44 kB / 3.014 GB, free: 41.37 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/5.174, allocations: 43.69 kB / 3.014 GB, free: 41.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/5.174, allocations: 8 kB / 3.014 GB, free: 41.32 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/5.174, allocations: 0 / 3.014 GB, free: 41.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/5.174, allocations: 4 kB / 3.014 GB, free: 41.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/5.174, allocations: 481.2 kB / 3.014 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/5.174, allocations: 0 / 3.014 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/5.174, allocations: 27.97 kB / 3.014 GB, free: 40.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/5.175, allocations: 201.5 kB / 3.014 GB, free: 40.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/5.175, allocations: 11.98 kB / 3.014 GB, free: 40.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/5.176, allocations: 1.449 MB / 3.016 GB, free: 39.06 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/5.176, allocations: 0 / 3.016 GB, free: 39.06 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/5.181, allocations: 1.187 MB / 3.017 GB, free: 37.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/5.182, allocations: 160.5 kB / 3.017 GB, free: 37.67 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/5.182, allocations: 8 kB / 3.017 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/5.182, allocations: 47.95 kB / 3.017 GB, free: 37.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/5.182, allocations: 47.86 kB / 3.017 GB, free: 37.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/5.182, allocations: 19.92 kB / 3.017 GB, free: 37.55 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003353/5.183, allocations: 285.2 kB / 3.017 GB, free: 37.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.183, allocations: 7.938 kB / 3.017 GB, free: 37.26 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001087/5.184, allocations: 211.9 kB / 3.018 GB, free: 37.05 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003318/5.187, allocations: 1.94 MB / 3.02 GB, free: 35.07 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002538/5.19, allocations: 0.9209 MB / 3.02 GB, free: 34.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/5.19, allocations: 0 / 3.02 GB, free: 34.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/5.191, allocations: 273.5 kB / 3.021 GB, free: 33.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/5.192, allocations: 110.9 kB / 3.021 GB, free: 33.72 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/5.193, allocations: 0.745 MB / 3.022 GB, free: 32.93 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/5.194, allocations: 0.819 MB / 3.022 GB, free: 32.09 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003555/5.194, allocations: 59.31 kB / 3.022 GB, free: 32.03 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/5.194, allocations: 141.9 kB / 3.023 GB, free: 31.89 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/5.194, allocations: 0 / 3.023 GB, free: 31.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/5.24, allocations: 27.87 MB / 3.05 GB, free: 4.305 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/5.24, allocations: 200.6 kB / 3.05 GB, free: 4.086 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/8.373, allocations: 5.594 kB / 3.05 GB, free: 4.086 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat does not exist to compare? outputFormat=mat