Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 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.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.0008715/0.0008716, allocations: 86.33 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.00114/0.00114, 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.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.604/2.604, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003744, allocations: 19.92 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003488/0.7145, allocations: 2.553 MB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.8743, allocations: 139.4 MB / 1.12 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.8748, allocations: 0 / 1.12 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.8753, allocations: 75.5 kB / 1.12 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.8763, allocations: 238.5 kB / 1.12 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.8788, allocations: 0.7901 MB / 1.121 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.88, allocations: 0.6743 MB / 1.122 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.8802, allocations: 81.7 kB / 1.122 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.8809, allocations: 279.1 kB / 1.122 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007085/0.8816, allocations: 306.9 kB / 1.122 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.8818, allocations: 32 kB / 1.122 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.8833, allocations: 0.5537 MB / 1.123 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.8835, allocations: 119.6 kB / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.8838, allocations: 113.4 kB / 1.123 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.8848, allocations: 0.6702 MB / 1.124 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.8848, allocations: 0 / 1.124 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8848, allocations: 4 kB / 1.124 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.8848, allocations: 0 / 1.124 GB, free: 3.969 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00281/0.8877, allocations: 0.9734 MB / 1.125 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8877, allocations: 12.03 kB / 1.125 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.8879, allocations: 62.53 kB / 1.125 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.8903, allocations: 263.1 kB / 1.125 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.8912, allocations: 389.1 kB / 1.125 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.8913, allocations: 91.83 kB / 1.125 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.8915, allocations: 39.91 kB / 1.125 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.8925, allocations: 388.2 kB / 1.126 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.8925, allocations: 0 / 1.126 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.8925, allocations: 15.98 kB / 1.126 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.8926, allocations: 4 kB / 1.126 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.8933, allocations: 273.5 kB / 1.126 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.8978, allocations: 1.704 MB / 1.128 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.8985, allocations: 274.6 kB / 1.128 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.899, allocations: 176.7 kB / 1.128 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.899, allocations: 4 kB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000726/0.8998, allocations: 320.7 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.8998, allocations: 0 / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.007655/0.9074, allocations: 1.565 MB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.9075, allocations: 89.05 kB / 1.13 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.9081, allocations: 457.6 kB / 1.13 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.9083, allocations: 37.7 kB / 1.131 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.9085, allocations: 200.9 kB / 1.131 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/0.9086, allocations: 94.73 kB / 1.131 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.9086, allocations: 12 kB / 1.131 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9088, allocations: 350.8 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/0.9095, allocations: 285.1 kB / 1.131 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.9104, allocations: 433.8 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.9112, allocations: 361.6 kB / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.9112, allocations: 0 / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006761/0.918, allocations: 1.619 MB / 1.134 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.9181, allocations: 63.39 kB / 1.134 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.9181, allocations: 0 / 1.134 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.9198, allocations: 407.1 kB / 1.134 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.9203, allocations: 95.86 kB / 1.134 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.9255, allocations: 4.472 MB / 1.139 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.9264, allocations: 107.2 kB / 1.139 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-05/0.9265, allocations: 39.97 kB / 1.139 GB, free: 3.648 MB / 0.8887 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.0003034/0.9268, allocations: 177.8 kB / 1.139 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.9269, allocations: 47.39 kB / 1.139 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.927, allocations: 39.58 kB / 1.139 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.927, allocations: 4 kB / 1.139 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.927, allocations: 0 / 1.139 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.927, allocations: 3.984 kB / 1.139 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.9276, allocations: 477.2 kB / 1.14 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9276, allocations: 4 kB / 1.14 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.9278, allocations: 39.91 kB / 1.14 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.9284, allocations: 233.5 kB / 1.14 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.9284, allocations: 7.984 kB / 1.14 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.9301, allocations: 1.5 MB / 1.141 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9301, allocations: 0 / 1.141 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.9359, allocations: 1.342 MB / 1.143 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.9361, allocations: 164.5 kB / 1.143 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.9362, allocations: 8 kB / 1.143 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.9366, allocations: 47.95 kB / 1.143 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9368, allocations: 43.92 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.9368, allocations: 19.88 kB / 1.143 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003539/0.9372, allocations: 299.1 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9372, allocations: 4 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00064/0.9378, allocations: 163.8 kB / 1.143 GB, free: 14.9 MB / 0.9044 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.003201/0.941, allocations: 1.481 MB / 1.145 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002977/0.944, allocations: 1.053 MB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9441, allocations: 0 / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9454, allocations: 336.6 kB / 1.146 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.9461, allocations: 101.8 kB / 1.146 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.9572, allocations: 4.016 MB / 1.15 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.9576, allocations: 0.8113 MB / 1.151 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.958, allocations: 51.39 kB / 1.151 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.9582, allocations: 139.4 kB / 1.151 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.9582, allocations: 0 / 1.151 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.991, allocations: 15.19 MB / 1.166 GB, free: 7.871 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.9912, allocations: 240.5 kB / 1.166 GB, free: 7.609 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.304, allocations: 3.938 kB / 1.166 GB, free: 7.605 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat does not exist to compare? outputFormat=mat