Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.83 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.007611/0.007611, allocations: 170.4 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 9.625 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.39, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003109/0.3932, allocations: 2.082 MB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.5785, allocations: 147.1 MB / 1.22 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.5788, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.5791, allocations: 87.55 kB / 1.22 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.5798, allocations: 202.9 kB / 1.22 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.5813, allocations: 0.5827 MB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.5818, allocations: 410.6 kB / 1.221 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.5819, allocations: 48.72 kB / 1.221 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.5822, allocations: 167.4 kB / 1.221 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.5825, allocations: 179.3 kB / 1.221 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.5825, allocations: 16 kB / 1.221 GB, free: 76 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.5837, allocations: 0.6745 MB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5838, allocations: 67.73 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.584, allocations: 184.8 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008331/0.5849, allocations: 0.6466 MB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5849, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5849, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5849, allocations: 0 / 1.223 GB, free: 14.5 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001425/0.5863, allocations: 0.6872 MB / 1.224 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5864, allocations: 11.97 kB / 1.224 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.5879, allocations: 164.4 kB / 1.224 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.5884, allocations: 310.7 kB / 1.224 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.5884, allocations: 45.7 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.5885, allocations: 24 kB / 1.224 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.5889, allocations: 208.1 kB / 1.224 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.5889, allocations: 0 / 1.224 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.589, allocations: 8 kB / 1.224 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.589, allocations: 0 / 1.224 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.5892, allocations: 124.1 kB / 1.225 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.5917, allocations: 1 MB / 1.226 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.5925, allocations: 162.5 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.5927, allocations: 100.8 kB / 1.226 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.5927, allocations: 3.938 kB / 1.226 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.5931, allocations: 193 kB / 1.226 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.5931, allocations: 0 / 1.226 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004325/0.5975, allocations: 0.8734 MB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5975, allocations: 89.05 kB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.5979, allocations: 336.4 kB / 1.227 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.598, allocations: 33.7 kB / 1.227 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5981, allocations: 160.4 kB / 1.227 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.5982, allocations: 55.25 kB / 1.227 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.5983, allocations: 41.7 kB / 1.227 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5984, allocations: 346.7 kB / 1.228 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.5987, allocations: 140.5 kB / 1.228 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.5992, allocations: 225.3 kB / 1.228 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.5998, allocations: 340.6 kB / 1.229 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5998, allocations: 0 / 1.229 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003843/0.6037, allocations: 0.8735 MB / 1.229 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.6037, allocations: 41.69 kB / 1.229 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6037, allocations: 4 kB / 1.229 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/0.6047, allocations: 197.5 kB / 1.23 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.6049, allocations: 43.97 kB / 1.23 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.6078, allocations: 2.239 MB / 1.232 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.6083, allocations: 43.67 kB / 1.232 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.6084, allocations: 23.97 kB / 1.232 GB, free: 4.895 MB / 0.9825 GB Warning: Assuming fixed start value for the following 1 variables: eva.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: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.6088, allocations: 192.1 kB / 1.232 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.6088, allocations: 35.62 kB / 1.232 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.6089, allocations: 27.17 kB / 1.232 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6089, allocations: 0 / 1.232 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6089, allocations: 0 / 1.232 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6089, allocations: 4 kB / 1.232 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.6126, allocations: 1.059 MB / 1.233 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6127, allocations: 0 / 1.233 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.6127, allocations: 8 kB / 1.233 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/0.6131, allocations: 116.8 kB / 1.233 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.6131, allocations: 8 kB / 1.233 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009199/0.614, allocations: 0.7576 MB / 1.234 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6141, allocations: 0 / 1.234 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.6173, allocations: 0.8844 MB / 1.235 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.6175, allocations: 140.6 kB / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.6176, allocations: 11.98 kB / 1.235 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.6178, allocations: 15.94 kB / 1.235 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.6179, allocations: 11.98 kB / 1.235 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.6179, allocations: 11.98 kB / 1.235 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003055/0.6183, allocations: 243.1 kB / 1.235 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6183, allocations: 0 / 1.235 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005966/0.6189, allocations: 116 kB / 1.235 GB, free: 1.133 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.6193, allocations: 183 kB / 1.236 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.621, allocations: 0.5636 MB / 1.236 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.621, allocations: 0 / 1.236 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.6218, allocations: 252.2 kB / 1.236 GB, free: 92 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.6224, allocations: 73.98 kB / 1.236 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.6239, allocations: 0.6964 MB / 1.237 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6243, allocations: 0.7638 MB / 1.238 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.6245, allocations: 34.28 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.6245, allocations: 23.42 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.6245, allocations: 4 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.01358/0.6381, allocations: 6.809 MB / 1.245 GB, free: 7.703 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)