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.001432/0.001432, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001719/0.001719, allocations: 200 kB / 16.26 MB, free: 6.625 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.229/2.229, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5738, allocations: 140.4 MB / 0.9493 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003797/0.5776, allocations: 3.037 MB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1587/0.7363, allocations: 151.2 MB / 1.1 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.7368, allocations: 0 / 1.1 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.7372, allocations: 79.39 kB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.7382, allocations: 242.5 kB / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.7406, allocations: 0.9423 MB / 1.101 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009423/0.7415, allocations: 0.7876 MB / 1.102 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.7417, allocations: 82 kB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.7422, allocations: 327 kB / 1.102 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.7427, allocations: 338.8 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.7429, allocations: 60 kB / 1.103 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.7444, allocations: 0.8342 MB / 1.103 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.7446, allocations: 151.5 kB / 1.104 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.7449, allocations: 286.8 kB / 1.104 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.7463, allocations: 0.9971 MB / 1.105 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7463, allocations: 0 / 1.105 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7464, allocations: 4 kB / 1.105 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.7464, allocations: 0 / 1.105 GB, free: 2.145 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.002831/0.7492, allocations: 1.048 MB / 1.106 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7493, allocations: 11.97 kB / 1.106 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.278e-05/0.7493, allocations: 58.73 kB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.7521, allocations: 271.1 kB / 1.106 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.7528, allocations: 400.8 kB / 1.107 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.7529, allocations: 99.83 kB / 1.107 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.7531, allocations: 40 kB / 1.107 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.754, allocations: 372.2 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.754, allocations: 0 / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.754, allocations: 15.94 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7541, allocations: 4 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.7548, allocations: 249.5 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.7596, allocations: 1.689 MB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.7604, allocations: 242.6 kB / 1.109 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.7609, allocations: 168.8 kB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.7609, allocations: 7.969 kB / 1.109 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/0.7617, allocations: 296.8 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.7617, allocations: 0 / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008942/0.7706, allocations: 1.499 MB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.7707, allocations: 93.05 kB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.7713, allocations: 453.7 kB / 1.112 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.7715, allocations: 37.7 kB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.7716, allocations: 197 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.7717, allocations: 102.6 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.772, allocations: 162.1 kB / 1.112 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7722, allocations: 358.7 kB / 1.112 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/0.773, allocations: 269.1 kB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.7739, allocations: 421.8 kB / 1.113 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/0.7819, allocations: 1.852 MB / 1.115 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7819, allocations: 0 / 1.115 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007992/0.7899, allocations: 1.584 MB / 1.116 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.79, allocations: 59.41 kB / 1.117 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.79, allocations: 4 kB / 1.117 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.7919, allocations: 387.2 kB / 1.117 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.7925, allocations: 99.8 kB / 1.117 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.7986, allocations: 4.681 MB / 1.122 GB, free: 200 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7997, allocations: 99.31 kB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.7998, allocations: 39.95 kB / 1.122 GB, free: 60 kB / 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 ($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.0003615/0.8002, allocations: 170 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.8003, allocations: 47.44 kB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.8004, allocations: 47.5 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8004, allocations: 4 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8004, allocations: 0 / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8004, allocations: 0 / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.801, allocations: 477.2 kB / 1.122 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8011, allocations: 0 / 1.122 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.8012, allocations: 23.97 kB / 1.122 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/0.8019, allocations: 233.5 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.802, allocations: 15.92 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.8039, allocations: 1.488 MB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8039, allocations: 7.922 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006768/0.8107, allocations: 1.293 MB / 1.125 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.8111, allocations: 156.5 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.8112, allocations: 8 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.8118, allocations: 35.95 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.812, allocations: 51.81 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.8121, allocations: 11.98 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004128/0.8125, allocations: 307.1 kB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8125, allocations: 0 / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007294/0.8132, allocations: 155.9 kB / 1.126 GB, free: 11.41 MB / 0.8887 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.00354/0.8168, allocations: 1.451 MB / 1.128 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.8204, allocations: 1.06 MB / 1.129 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.8204, allocations: 0 / 1.129 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.8221, allocations: 331.5 kB / 1.129 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.8229, allocations: 110.7 kB / 1.129 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.8452, allocations: 6.754 MB / 1.136 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.8457, allocations: 0.8035 MB / 1.136 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003568/0.8461, allocations: 55.34 kB / 1.136 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.8463, allocations: 143.4 kB / 1.137 GB, free: 436 kB / 0.8887 GB Notification: Performance of SimCode: time 2.785e-06/0.8464, allocations: 0 / 1.137 GB, free: 436 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7398/1.586, allocations: 16.04 MB / 1.152 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/1.586, allocations: 265.8 kB / 1.152 GB, free: 392 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/4.115, allocations: 0 / 1.152 GB, free: 392 kB / 0.9044 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)