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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007013/0.007013, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00165/0.00165, allocations: 195.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6812, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.00372/0.685, allocations: 3.01 MB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.8471, allocations: 153.4 MB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.8475, allocations: 10.34 kB / 1.24 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.848, allocations: 84.73 kB / 1.24 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009972/0.849, allocations: 276.8 kB / 1.241 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.8515, allocations: 1.003 MB / 1.242 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.8525, allocations: 0.7903 MB / 1.242 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.8527, allocations: 91.09 kB / 1.242 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.8532, allocations: 316.2 kB / 1.243 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.8538, allocations: 333.5 kB / 1.243 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.854, allocations: 63.28 kB / 1.243 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.8557, allocations: 0.7989 MB / 1.244 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.8559, allocations: 149.9 kB / 1.244 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.8563, allocations: 285.6 kB / 1.244 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.8578, allocations: 0.9652 MB / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8578, allocations: 1.062 kB / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8578, allocations: 0 / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.8579, allocations: 0 / 1.245 GB, free: 12.24 MB / 0.9825 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.00284/0.8607, allocations: 1.057 MB / 1.246 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8608, allocations: 8.031 kB / 1.246 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.038e-05/0.8609, allocations: 66.47 kB / 1.246 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.8633, allocations: 271 kB / 1.247 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.8641, allocations: 396.9 kB / 1.247 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.8642, allocations: 99.77 kB / 1.247 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.8643, allocations: 48 kB / 1.247 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.8651, allocations: 360.2 kB / 1.248 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8651, allocations: 7.938 kB / 1.248 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.8651, allocations: 12 kB / 1.248 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.8651, allocations: 8 kB / 1.248 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.8659, allocations: 249.5 kB / 1.248 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.8702, allocations: 1.689 MB / 1.249 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.871, allocations: 242.6 kB / 1.25 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.8715, allocations: 167.2 kB / 1.25 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.8715, allocations: 4 kB / 1.25 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.8722, allocations: 294 kB / 1.25 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.8722, allocations: 0 / 1.25 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008257/0.8805, allocations: 1.502 MB / 1.252 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.8806, allocations: 85.11 kB / 1.252 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.8812, allocations: 453.7 kB / 1.252 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.8813, allocations: 45.64 kB / 1.252 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.8815, allocations: 200.9 kB / 1.252 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.8816, allocations: 102.6 kB / 1.252 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.8819, allocations: 154.2 kB / 1.253 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8821, allocations: 358.7 kB / 1.253 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.8828, allocations: 273.1 kB / 1.253 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.8838, allocations: 421.7 kB / 1.254 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/0.8915, allocations: 1.853 MB / 1.255 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.8915, allocations: 0 / 1.255 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007552/0.8991, allocations: 1.58 MB / 1.257 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.8991, allocations: 55.41 kB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8992, allocations: 8.125 kB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.9009, allocations: 403 kB / 1.257 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.9015, allocations: 91.86 kB / 1.257 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.907, allocations: 4.669 MB / 1.262 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.9081, allocations: 99.23 kB / 1.262 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.9082, allocations: 39.95 kB / 1.262 GB, free: 10.18 MB / 0.9981 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 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.9086, allocations: 165.8 kB / 1.262 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.9087, allocations: 47.61 kB / 1.262 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.9088, allocations: 51.52 kB / 1.262 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9088, allocations: 7.984 kB / 1.262 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.9088, allocations: 7.938 kB / 1.262 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9088, allocations: 0 / 1.262 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.9093, allocations: 473.1 kB / 1.263 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9093, allocations: 0 / 1.263 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.9095, allocations: 23.97 kB / 1.263 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.9101, allocations: 225.5 kB / 1.263 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.9102, allocations: 15.92 kB / 1.263 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.9119, allocations: 1.496 MB / 1.265 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9119, allocations: 3.938 kB / 1.265 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/0.9181, allocations: 1.284 MB / 1.266 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.9184, allocations: 156.5 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.9185, allocations: 19.98 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.919, allocations: 35.95 kB / 1.266 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.9191, allocations: 39.89 kB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.9192, allocations: 15.98 kB / 1.266 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003665/0.9195, allocations: 299.1 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9195, allocations: 0 / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006742/0.9202, allocations: 167.8 kB / 1.267 GB, free: 5.52 MB / 0.9981 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003312/0.9236, allocations: 1.441 MB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003252/0.9268, allocations: 1.041 MB / 1.269 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9269, allocations: 0 / 1.269 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.9284, allocations: 329.5 kB / 1.269 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.9291, allocations: 115.3 kB / 1.269 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.949, allocations: 6.543 MB / 1.276 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.9494, allocations: 0.8074 MB / 1.277 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003441/0.9498, allocations: 59.33 kB / 1.277 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.95, allocations: 135.4 kB / 1.277 GB, free: 10.77 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.95, allocations: 0 / 1.277 GB, free: 10.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.919/2.869, allocations: 16.44 MB / 1.293 GB, free: 10.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/17.67, allocations: 18.56 kB / 1.293 GB, free: 10.62 MB / 1.029 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/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)