Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 171.1 kB / 327 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.0009054, allocations: 97.81 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003608, allocations: 11.47 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003085/0.2272, allocations: 2.692 MB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.41, allocations: 149.5 MB / 1.05 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.4108, allocations: 0 / 1.05 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.4113, allocations: 79.44 kB / 1.05 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.4123, allocations: 234.5 kB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.4151, allocations: 0.9364 MB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.416, allocations: 0.7368 MB / 1.052 GB, free: 4.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.4162, allocations: 85.98 kB / 1.052 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.4166, allocations: 291 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.417, allocations: 302.9 kB / 1.052 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.4171, allocations: 32 kB / 1.052 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.419, allocations: 0.877 MB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.4191, allocations: 115.6 kB / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4194, allocations: 292.3 kB / 1.053 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.4207, allocations: 0.9424 MB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4207, allocations: 4 kB / 1.054 GB, free: 1.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4207, allocations: 0 / 1.054 GB, free: 1.664 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4207, allocations: 0 / 1.054 GB, free: 1.664 MB / 0.698 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.002536/0.4233, allocations: 0.9734 MB / 1.055 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4233, allocations: 12.02 kB / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.018e-05/0.4234, allocations: 54.73 kB / 1.055 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.4258, allocations: 271.7 kB / 1.056 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5137/0.9395, allocations: 395.2 kB / 1.056 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.9397, allocations: 94.62 kB / 1.056 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.9398, allocations: 37.75 kB / 1.056 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/0.9407, allocations: 387.7 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.9408, allocations: 1.031 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.9408, allocations: 9.438 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.9408, allocations: 9.719 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.9416, allocations: 278.9 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.9459, allocations: 1.705 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.9466, allocations: 267.6 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.9471, allocations: 183.1 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.9471, allocations: 3.297 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006719/0.9478, allocations: 317.2 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.9478, allocations: 0 / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.008543/0.9564, allocations: 1.567 MB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.9565, allocations: 83.84 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.9571, allocations: 452.9 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.9573, allocations: 41.75 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.9574, allocations: 200.6 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.9575, allocations: 100.4 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.9576, allocations: 14.59 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9577, allocations: 359.4 kB / 1.062 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008077/0.9585, allocations: 284.7 kB / 1.062 GB, free: 154.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000991/0.9595, allocations: 436.8 kB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008123/0.9677, allocations: 1.953 MB / 1.065 GB, free: 154.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9677, allocations: 2.938 kB / 1.065 GB, free: 154.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008152/0.9759, allocations: 1.612 MB / 1.066 GB, free: 153.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.976, allocations: 67.34 kB / 1.066 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.976, allocations: 3.078 kB / 1.066 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.978, allocations: 406.8 kB / 1.067 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.9787, allocations: 95.3 kB / 1.067 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.9847, allocations: 4.475 MB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.9861, allocations: 112.3 kB / 1.071 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.9864, allocations: 40.53 kB / 1.071 GB, free: 150 MB / 0.698 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.evaNor.off,$PRE.pulNor.T_start,$PRE.pulNor.count,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count,$PRE.pulSho.T_start,$PRE.pulSho.count,$PRE.evaSho.off,$whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,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 (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.0005422/0.9869, allocations: 180.8 kB / 1.071 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.9871, allocations: 43.61 kB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.9872, allocations: 40.27 kB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.9873, allocations: 3.75 kB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9873, allocations: 0.8125 kB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9873, allocations: 2.109 kB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.9881, allocations: 479.3 kB / 1.072 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.9882, allocations: 4.531 kB / 1.072 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.9884, allocations: 34.17 kB / 1.072 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/0.9891, allocations: 233.4 kB / 1.072 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.9892, allocations: 15.92 kB / 1.072 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.9911, allocations: 1.499 MB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9911, allocations: 4.812 kB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/0.9982, allocations: 1.337 MB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.9986, allocations: 166.8 kB / 1.075 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.9988, allocations: 7.578 kB / 1.075 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.9994, allocations: 47.91 kB / 1.075 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.9997, allocations: 38.78 kB / 1.075 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.9997, allocations: 16.31 kB / 1.075 GB, free: 148.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005773/1, allocations: 299.2 kB / 1.075 GB, free: 148 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/1, allocations: 4 kB / 1.075 GB, free: 148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001006/1.001, allocations: 159.6 kB / 1.076 GB, free: 148 MB / 0.698 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.003928/1.005, allocations: 1.496 MB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003771/1.009, allocations: 1.045 MB / 1.078 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.009, allocations: 3.938 kB / 1.078 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.011, allocations: 341.2 kB / 1.078 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/1.012, allocations: 103.9 kB / 1.079 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/1.034, allocations: 6.913 MB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/1.034, allocations: 0.8032 MB / 1.086 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004386/1.034, allocations: 55.66 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.035, allocations: 140 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.035, allocations: 4.938 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/1.067, allocations: 15.3 MB / 1.101 GB, free: 130.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/1.067, allocations: 279.5 kB / 1.101 GB, free: 129.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.73, allocations: 3.094 kB / 1.101 GB, free: 129.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)