Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_10_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.001193/0.001193, allocations: 107.3 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.001158/0.001158, allocations: 193.6 kB / 16.26 MB, free: 6.152 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.255/1.255, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5573, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00391/0.5612, allocations: 3.028 MB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.7141, allocations: 151.2 MB / 1.168 GB, free: 7.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.7145, allocations: 4 kB / 1.168 GB, free: 7.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.715, allocations: 83.38 kB / 1.168 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009611/0.716, allocations: 238.5 kB / 1.168 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.7184, allocations: 0.9397 MB / 1.169 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007664/0.7192, allocations: 0.7876 MB / 1.17 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.7194, allocations: 90.03 kB / 1.17 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.7197, allocations: 323 kB / 1.17 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.7201, allocations: 330.8 kB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.573e-05/0.7202, allocations: 60 kB / 1.17 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.7215, allocations: 0.838 MB / 1.171 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.7216, allocations: 143.6 kB / 1.171 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.7219, allocations: 294.7 kB / 1.172 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.723, allocations: 0.9971 MB / 1.173 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.723, allocations: 0 / 1.173 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.723, allocations: 0 / 1.173 GB, free: 2.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.723, allocations: 0 / 1.173 GB, free: 2.762 MB / 0.92 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.002562/0.7256, allocations: 1.059 MB / 1.174 GB, free: 1.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7256, allocations: 8.031 kB / 1.174 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.7257, allocations: 62.67 kB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.7283, allocations: 263.7 kB / 1.174 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.7288, allocations: 404.8 kB / 1.174 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/0.7289, allocations: 103.7 kB / 1.174 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.729, allocations: 40 kB / 1.174 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.7298, allocations: 372.2 kB / 1.175 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7298, allocations: 0 / 1.175 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.7299, allocations: 8 kB / 1.175 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7299, allocations: 15.94 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.7306, allocations: 249.5 kB / 1.175 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.735, allocations: 1.685 MB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.7357, allocations: 250.6 kB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.7362, allocations: 160.8 kB / 1.177 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.7362, allocations: 4 kB / 1.177 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.7369, allocations: 292.7 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.7369, allocations: 4 kB / 1.177 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008478/0.7454, allocations: 1.513 MB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.7455, allocations: 85.11 kB / 1.179 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.746, allocations: 457.7 kB / 1.179 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.57e-05/0.7461, allocations: 37.7 kB / 1.179 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.7463, allocations: 197 kB / 1.18 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.7464, allocations: 90.67 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.7467, allocations: 162.1 kB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7468, allocations: 358.7 kB / 1.18 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/0.7476, allocations: 273.1 kB / 1.18 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.7485, allocations: 417.8 kB / 1.181 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/0.7562, allocations: 1.86 MB / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7562, allocations: 0 / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007539/0.7638, allocations: 1.584 MB / 1.184 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.7638, allocations: 59.41 kB / 1.184 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7638, allocations: 3.938 kB / 1.184 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.7656, allocations: 395.2 kB / 1.185 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.7661, allocations: 91.8 kB / 1.185 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005579/0.7717, allocations: 4.688 MB / 1.189 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/0.7726, allocations: 99.25 kB / 1.189 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.7727, allocations: 43.95 kB / 1.189 GB, free: 0.6484 MB / 0.9356 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.0002603/0.773, allocations: 172.9 kB / 1.19 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.7731, allocations: 47.44 kB / 1.19 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.7732, allocations: 39.58 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7732, allocations: 11.98 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7732, allocations: 3.938 kB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7732, allocations: 0 / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.7737, allocations: 473.2 kB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7737, allocations: 0 / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7739, allocations: 31.91 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.7745, allocations: 225.5 kB / 1.19 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.7746, allocations: 15.98 kB / 1.19 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.7764, allocations: 1.492 MB / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7764, allocations: 0 / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/0.7829, allocations: 1.293 MB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.7831, allocations: 160.5 kB / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.7832, allocations: 12 kB / 1.193 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.7837, allocations: 39.95 kB / 1.193 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7839, allocations: 39.94 kB / 1.193 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.7839, allocations: 15.98 kB / 1.193 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003633/0.7843, allocations: 303.1 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7843, allocations: 0 / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006162/0.7849, allocations: 159.9 kB / 1.194 GB, free: 11.99 MB / 0.9512 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.003294/0.7882, allocations: 1.434 MB / 1.195 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.7914, allocations: 1.053 MB / 1.196 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7914, allocations: 4 kB / 1.196 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.793, allocations: 329.5 kB / 1.197 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.7936, allocations: 128.7 kB / 1.197 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.8138, allocations: 6.756 MB / 1.203 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.8142, allocations: 0.8074 MB / 1.204 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.8145, allocations: 63.27 kB / 1.204 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.8147, allocations: 139.4 kB / 1.204 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/0.8147, allocations: 0 / 1.204 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7897/1.604, allocations: 16 MB / 1.22 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/1.605, allocations: 261.1 kB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/4.945, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)