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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001207/0.001207, allocations: 168.7 kB / 15.95 MB, free: 204 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.344/1.344, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6615, allocations: 142.3 MB / 0.9539 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.002567/0.6641, allocations: 2.567 MB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.8193, allocations: 139.4 MB / 1.093 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.8198, allocations: 7.938 kB / 1.093 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.8201, allocations: 63.53 kB / 1.093 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007303/0.8208, allocations: 242.5 kB / 1.093 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.8229, allocations: 0.7863 MB / 1.094 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.8235, allocations: 0.6744 MB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.8237, allocations: 81.73 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.8241, allocations: 271.1 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.8245, allocations: 302.9 kB / 1.095 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.8246, allocations: 32 kB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.826, allocations: 0.5654 MB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.8261, allocations: 119.5 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.8263, allocations: 109.5 kB / 1.096 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008927/0.8272, allocations: 0.6624 MB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8272, allocations: 0 / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.826e-06/0.8272, allocations: 0 / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.8272, allocations: 0 / 1.096 GB, free: 13.84 MB / 0.8575 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.00243/0.8296, allocations: 0.9734 MB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8297, allocations: 8.031 kB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.932e-05/0.8298, allocations: 58.55 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.8321, allocations: 271.1 kB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.8327, allocations: 393 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.8329, allocations: 103.8 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.833, allocations: 36 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.8337, allocations: 384.2 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8337, allocations: 0 / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.8338, allocations: 8 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8338, allocations: 8 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.8345, allocations: 273.5 kB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.8384, allocations: 1.712 MB / 1.1 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.8392, allocations: 266.7 kB / 1.101 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.8396, allocations: 180.6 kB / 1.101 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.8397, allocations: 8 kB / 1.101 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.8403, allocations: 312.7 kB / 1.101 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.8404, allocations: 0 / 1.101 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.007479/0.8478, allocations: 1.56 MB / 1.103 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.8479, allocations: 96.98 kB / 1.103 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.8485, allocations: 453.7 kB / 1.103 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.8486, allocations: 37.7 kB / 1.103 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.8488, allocations: 200.9 kB / 1.103 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.8489, allocations: 90.73 kB / 1.104 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.8489, allocations: 16 kB / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8491, allocations: 350.8 kB / 1.104 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.8498, allocations: 289.1 kB / 1.104 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.8506, allocations: 433.8 kB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.8515, allocations: 342.5 kB / 1.105 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8515, allocations: 3.984 kB / 1.105 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006709/0.8582, allocations: 1.635 MB / 1.106 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.8583, allocations: 63.44 kB / 1.107 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8583, allocations: 7.984 kB / 1.107 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.8599, allocations: 395 kB / 1.107 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.8605, allocations: 95.86 kB / 1.107 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/0.8658, allocations: 4.472 MB / 1.111 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.8667, allocations: 99.23 kB / 1.111 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.8668, allocations: 43.95 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 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 () * Number of clocked 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.000267/0.8671, allocations: 169.8 kB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.8672, allocations: 43.62 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.8673, allocations: 47.47 kB / 1.112 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8673, allocations: 7.984 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8673, allocations: 0 / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8673, allocations: 3.938 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.8678, allocations: 481.2 kB / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8678, allocations: 4 kB / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.868, allocations: 27.92 kB / 1.112 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.8686, allocations: 229.5 kB / 1.112 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.8687, allocations: 15.94 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.8703, allocations: 1.508 MB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8703, allocations: 0 / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/0.876, allocations: 1.349 MB / 1.115 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.8762, allocations: 164.4 kB / 1.115 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.8763, allocations: 12 kB / 1.115 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.8768, allocations: 43.95 kB / 1.115 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.8769, allocations: 43.92 kB / 1.116 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.877, allocations: 11.98 kB / 1.116 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000349/0.8773, allocations: 303.1 kB / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8773, allocations: 0 / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006611/0.878, allocations: 155.9 kB / 1.116 GB, free: 8.789 MB / 0.8731 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) * Number of clocked states: 0 () * 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.003061/0.8811, allocations: 1.493 MB / 1.117 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.884, allocations: 1.057 MB / 1.118 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.884, allocations: 128 / 1.118 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.8853, allocations: 333.4 kB / 1.119 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.886, allocations: 104.1 kB / 1.119 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.8967, allocations: 4.004 MB / 1.123 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.897, allocations: 0.8035 MB / 1.124 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.8974, allocations: 55.34 kB / 1.124 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.8976, allocations: 143.4 kB / 1.124 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of SimCode: time 8.61e-07/0.8976, allocations: 4 kB / 1.124 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.9277, allocations: 15.21 MB / 1.139 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.9279, allocations: 247.4 kB / 1.139 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.099, allocations: 0 / 1.139 GB, free: 1.449 MB / 0.8887 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