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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001544/0.001544, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001695/0.001696, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6117, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.00408/0.6158, allocations: 3.052 MB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.7786, allocations: 151.2 MB / 1.1 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.779, allocations: 0 / 1.1 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.7793, allocations: 67.47 kB / 1.1 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.7801, allocations: 238.5 kB / 1.1 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.7821, allocations: 0.9354 MB / 1.101 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.7827, allocations: 0.7368 MB / 1.102 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.7829, allocations: 93.97 kB / 1.102 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.7831, allocations: 299 kB / 1.102 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.7835, allocations: 322.8 kB / 1.102 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.182e-05/0.7836, allocations: 36 kB / 1.102 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.7851, allocations: 0.8732 MB / 1.103 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7852, allocations: 131.5 kB / 1.103 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.7855, allocations: 270.7 kB / 1.104 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.7865, allocations: 0.962 MB / 1.104 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7865, allocations: 7.938 kB / 1.104 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7865, allocations: 4 kB / 1.104 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7866, allocations: 0 / 1.104 GB, free: 2.367 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.002575/0.7891, allocations: 1.048 MB / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7892, allocations: 12.02 kB / 1.106 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.7893, allocations: 62.73 kB / 1.106 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.7918, allocations: 263.1 kB / 1.106 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.7924, allocations: 404.9 kB / 1.106 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.7925, allocations: 91.78 kB / 1.106 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7926, allocations: 43.98 kB / 1.106 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.7934, allocations: 368.3 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7934, allocations: 0 / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.7935, allocations: 11.94 kB / 1.107 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7935, allocations: 11.94 kB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007319/0.7942, allocations: 253.4 kB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.7986, allocations: 1.685 MB / 1.109 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.7994, allocations: 258.6 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.7999, allocations: 156.8 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.7999, allocations: 4 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007527/0.8007, allocations: 304.7 kB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.8007, allocations: 0 / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.00866/0.8093, allocations: 1.504 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8094, allocations: 81.11 kB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.8099, allocations: 449.7 kB / 1.111 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.81, allocations: 45.69 kB / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.8102, allocations: 193 kB / 1.111 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.8103, allocations: 98.64 kB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.8105, allocations: 158.2 kB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8107, allocations: 366.7 kB / 1.112 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.8114, allocations: 269.1 kB / 1.112 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.8123, allocations: 421.7 kB / 1.113 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007562/0.8199, allocations: 1.841 MB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8199, allocations: 4 kB / 1.115 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007528/0.8275, allocations: 1.58 MB / 1.116 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.8275, allocations: 59.41 kB / 1.116 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8275, allocations: 0 / 1.116 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.8293, allocations: 395.1 kB / 1.117 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.8298, allocations: 95.86 kB / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.8352, allocations: 4.474 MB / 1.121 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.8361, allocations: 103.3 kB / 1.121 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.8362, allocations: 39.95 kB / 1.121 GB, free: 0.5078 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 ($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.0002471/0.8365, allocations: 169.7 kB / 1.121 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.8366, allocations: 43.44 kB / 1.121 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.8366, allocations: 39.58 kB / 1.121 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8367, allocations: 7.984 kB / 1.121 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8367, allocations: 0 / 1.121 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8367, allocations: 0 / 1.121 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.8372, allocations: 485.1 kB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8372, allocations: 0 / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.8374, allocations: 31.91 kB / 1.122 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.838, allocations: 229.6 kB / 1.122 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.838, allocations: 15.98 kB / 1.122 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.8398, allocations: 1.492 MB / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8398, allocations: 4 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.8459, allocations: 1.289 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.8461, allocations: 160.5 kB / 1.125 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.8461, allocations: 4 kB / 1.125 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.8466, allocations: 39.95 kB / 1.125 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.8467, allocations: 35.94 kB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.8468, allocations: 23.98 kB / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003379/0.8471, allocations: 295.1 kB / 1.125 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8471, allocations: 0 / 1.125 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000534/0.8477, allocations: 163.9 kB / 1.126 GB, free: 11.87 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.003238/0.8509, allocations: 1.445 MB / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.854, allocations: 1.033 MB / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.854, allocations: 0 / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.8555, allocations: 314.7 kB / 1.128 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.8561, allocations: 103.9 kB / 1.128 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.8754, allocations: 6.765 MB / 1.135 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8757, allocations: 0.8035 MB / 1.136 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000256/0.876, allocations: 51.39 kB / 1.136 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.8762, allocations: 143.4 kB / 1.136 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.8762, allocations: 0 / 1.136 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5453/1.422, allocations: 15.47 MB / 1.151 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/1.422, allocations: 265.8 kB / 1.151 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.971, allocations: 4.062 kB / 1.151 GB, free: 1.43 MB / 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)