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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.538/2.538, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5278, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004169/0.532, allocations: 2.99 MB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.68, allocations: 153.4 MB / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.6803, allocations: 0 / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.6807, allocations: 103.1 kB / 1.17 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007779/0.6815, allocations: 274.1 kB / 1.171 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.6837, allocations: 1.012 MB / 1.172 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008071/0.6846, allocations: 0.7798 MB / 1.172 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.6847, allocations: 86.05 kB / 1.172 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.6851, allocations: 315 kB / 1.173 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.6856, allocations: 342.8 kB / 1.173 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.6857, allocations: 63.94 kB / 1.173 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6871, allocations: 0.7836 MB / 1.174 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.6873, allocations: 155.5 kB / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.6876, allocations: 286.7 kB / 1.174 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.6887, allocations: 0.9582 MB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6887, allocations: 0 / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6888, allocations: 4 kB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.6888, allocations: 0 / 1.175 GB, free: 308 kB / 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.00261/0.6914, allocations: 1.052 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6914, allocations: 8.031 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.6915, allocations: 58.73 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.6941, allocations: 267.7 kB / 1.177 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.6947, allocations: 404.8 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.744e-05/0.6948, allocations: 91.83 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6949, allocations: 43.94 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.6957, allocations: 372.2 kB / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6958, allocations: 0 / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.6958, allocations: 8 kB / 1.177 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.6958, allocations: 19.86 kB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.6966, allocations: 253.5 kB / 1.178 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.7011, allocations: 1.689 MB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.7018, allocations: 252.1 kB / 1.18 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.7023, allocations: 160.8 kB / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.7024, allocations: 0 / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/0.7031, allocations: 302.5 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.7031, allocations: 4 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008483/0.7116, allocations: 1.501 MB / 1.181 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.7117, allocations: 81.11 kB / 1.182 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.7122, allocations: 457.7 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.7123, allocations: 41.7 kB / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.7125, allocations: 197 kB / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.7126, allocations: 98.64 kB / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.7129, allocations: 158.2 kB / 1.182 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.713, allocations: 354.7 kB / 1.183 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007977/0.7138, allocations: 281.1 kB / 1.183 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/0.7147, allocations: 421.8 kB / 1.183 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007851/0.7226, allocations: 1.852 MB / 1.185 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.7226, allocations: 0 / 1.185 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007489/0.7301, allocations: 1.576 MB / 1.187 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.7302, allocations: 59.41 kB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7302, allocations: 7.938 kB / 1.187 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.7319, allocations: 403.1 kB / 1.187 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.7324, allocations: 83.88 kB / 1.187 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06186/0.7943, allocations: 4.693 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7953, allocations: 103.2 kB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.7955, allocations: 39.95 kB / 1.192 GB, free: 14.2 MB / 0.9512 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.0003003/0.7958, allocations: 170.8 kB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.7959, allocations: 43.44 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.796, allocations: 39.58 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.796, allocations: 4 kB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.796, allocations: 11.92 kB / 1.192 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.796, allocations: 0 / 1.192 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.7965, allocations: 481.1 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7965, allocations: 0 / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7967, allocations: 27.97 kB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006193/0.7974, allocations: 225.6 kB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.7974, allocations: 11.98 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.7992, allocations: 1.496 MB / 1.194 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7992, allocations: 0 / 1.194 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.8055, allocations: 1.291 MB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.8057, allocations: 160.5 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.8058, allocations: 8 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.8062, allocations: 43.95 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.8064, allocations: 39.94 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.8064, allocations: 15.98 kB / 1.196 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003486/0.8068, allocations: 307.1 kB / 1.196 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8068, allocations: 3.938 kB / 1.196 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005494/0.8073, allocations: 151.9 kB / 1.196 GB, free: 9.543 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.003277/0.8106, allocations: 1.437 MB / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.8137, allocations: 1.061 MB / 1.199 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8137, allocations: 0 / 1.199 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.8152, allocations: 325.5 kB / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.8158, allocations: 122.8 kB / 1.199 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.8351, allocations: 6.653 MB / 1.206 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.8354, allocations: 0.8074 MB / 1.207 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.8357, allocations: 51.34 kB / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.8359, allocations: 143.4 kB / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.8359, allocations: 0 / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/1.007, allocations: 16.26 MB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.05, allocations: 3.75 kB / 1.223 GB, free: 14.69 MB / 0.9825 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)