Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008946/0.008946, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 10.66 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.395, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004044/0.3991, allocations: 2.678 MB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.584, allocations: 149.5 MB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.5847, allocations: 7.938 kB / 1.223 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.5852, allocations: 71.5 kB / 1.223 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.5863, allocations: 242.5 kB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.5891, allocations: 0.9398 MB / 1.224 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.5904, allocations: 0.7407 MB / 1.225 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.5908, allocations: 86 kB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007663/0.5915, allocations: 287 kB / 1.225 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.5924, allocations: 314.8 kB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.5925, allocations: 32 kB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.595, allocations: 0.8653 MB / 1.226 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.5952, allocations: 127.5 kB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.5957, allocations: 288.5 kB / 1.227 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.5979, allocations: 0.9657 MB / 1.228 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.598, allocations: 0 / 1.228 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.49e-05/0.598, allocations: 0 / 1.228 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.598, allocations: 4 kB / 1.228 GB, free: 9.832 MB / 0.9825 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.003792/0.6018, allocations: 0.9596 MB / 1.229 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.6019, allocations: 8.031 kB / 1.229 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.6057, allocations: 275.7 kB / 1.229 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.6068, allocations: 396.9 kB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.6069, allocations: 95.83 kB / 1.229 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.6072, allocations: 39.94 kB / 1.229 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6084, allocations: 380.2 kB / 1.23 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6085, allocations: 0 / 1.23 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.6085, allocations: 16 kB / 1.23 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.6086, allocations: 4 kB / 1.23 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6097, allocations: 289.3 kB / 1.23 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006592/0.6163, allocations: 1.697 MB / 1.232 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.6175, allocations: 278.5 kB / 1.232 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.6183, allocations: 177.8 kB / 1.232 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.6184, allocations: 11.92 kB / 1.232 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.6195, allocations: 309.2 kB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 3.337e-06/0.6195, allocations: 0 / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.01046/0.63, allocations: 1.572 MB / 1.234 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.6301, allocations: 89.05 kB / 1.234 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.631, allocations: 457.7 kB / 1.234 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.6313, allocations: 37.7 kB / 1.234 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6316, allocations: 204.8 kB / 1.235 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.6317, allocations: 94.69 kB / 1.235 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.632, allocations: 69.69 kB / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.6322, allocations: 354.8 kB / 1.235 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/0.6331, allocations: 285.1 kB / 1.235 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6342, allocations: 437.7 kB / 1.236 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008463/0.6427, allocations: 1.962 MB / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6427, allocations: 8 kB / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008063/0.6508, allocations: 1.627 MB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.6509, allocations: 55.41 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.6509, allocations: 7.984 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.6528, allocations: 399.1 kB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.6535, allocations: 99.86 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.66, allocations: 4.476 MB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.6612, allocations: 107.2 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.6615, allocations: 43.95 kB / 1.244 GB, free: 7.82 MB / 0.9981 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.0004479/0.6619, allocations: 168.3 kB / 1.245 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6621, allocations: 43.44 kB / 1.245 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.6622, allocations: 39.58 kB / 1.245 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.6622, allocations: 7.984 kB / 1.245 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6622, allocations: 4 kB / 1.245 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6622, allocations: 4 kB / 1.245 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.6629, allocations: 477.1 kB / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6629, allocations: 4 kB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.6631, allocations: 35.91 kB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.6637, allocations: 229.5 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.6638, allocations: 11.98 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.6657, allocations: 1.5 MB / 1.247 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6657, allocations: 0 / 1.247 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.6725, allocations: 1.362 MB / 1.248 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.6728, allocations: 160.5 kB / 1.248 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6729, allocations: 7.938 kB / 1.248 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.6735, allocations: 43.95 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.6736, allocations: 47.88 kB / 1.248 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.6737, allocations: 15.92 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004557/0.6742, allocations: 303.1 kB / 1.249 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6742, allocations: 0 / 1.249 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007691/0.675, allocations: 160 kB / 1.249 GB, free: 3.066 MB / 0.9981 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.0004026/0.6754, allocations: 179.6 kB / 1.249 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003548/0.6789, allocations: 1.056 MB / 1.25 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.679, allocations: 0 / 1.25 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.6806, allocations: 333.5 kB / 1.25 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.6814, allocations: 110.4 kB / 1.251 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.6835, allocations: 1.068 MB / 1.252 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.62/1.304, allocations: 0.8035 MB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005086/1.304, allocations: 55.27 kB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.304, allocations: 34.66 kB / 1.252 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.304, allocations: 0.8125 kB / 1.252 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02703/1.331, allocations: 11.47 MB / 1.264 GB, free: 180.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)