Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 105.4 kB / 15.7 MB, free: 24 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.001267/0.001267, allocations: 198 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 70.86 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003728/0.2559, allocations: 2.41 MB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7636/1.019, allocations: 150.9 MB / 0.9339 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/1.02, allocations: 2.625 kB / 0.9339 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/1.02, allocations: 98.25 kB / 0.934 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008907/1.021, allocations: 234.9 kB / 0.9342 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/1.023, allocations: 0.6496 MB / 0.9349 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/1.024, allocations: 441.6 kB / 0.9353 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/1.024, allocations: 48.97 kB / 0.9353 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/1.024, allocations: 178.9 kB / 0.9355 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/1.025, allocations: 207.1 kB / 0.9357 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/1.025, allocations: 32.84 kB / 0.9357 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/1.026, allocations: 0.6153 MB / 0.9363 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/1.026, allocations: 82.77 kB / 0.9364 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/1.026, allocations: 159.7 kB / 0.9366 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009936/1.027, allocations: 0.6489 MB / 0.9372 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.027, allocations: 0 / 0.9372 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/1.027, allocations: 1.094 kB / 0.9372 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.027, allocations: 0 / 0.9372 GB, free: 2.715 MB / 0.7169 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.001758/1.029, allocations: 0.7517 MB / 0.9379 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.029, allocations: 10.22 kB / 0.9379 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.031, allocations: 156 kB / 0.9381 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/1.031, allocations: 317.3 kB / 0.9384 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/1.031, allocations: 46.52 kB / 0.9384 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/1.031, allocations: 21.25 kB / 0.9384 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/1.032, allocations: 212 kB / 0.9386 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.032, allocations: 0 / 0.9386 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.032, allocations: 7.578 kB / 0.9387 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.032, allocations: 2.531 kB / 0.9387 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.032, allocations: 123.8 kB / 0.9388 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/1.035, allocations: 0.9946 MB / 0.9397 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/1.035, allocations: 162.7 kB / 0.9399 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.036, allocations: 94.42 kB / 0.94 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/1.036, allocations: 4.906 kB / 0.94 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/1.036, allocations: 193 kB / 0.9402 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/1.036, allocations: 0 / 0.9402 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004323/1.041, allocations: 0.8597 MB / 0.941 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.041, allocations: 80.83 kB / 0.9411 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/1.041, allocations: 338.5 kB / 0.9414 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/1.041, allocations: 35.86 kB / 0.9415 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.041, allocations: 155.3 kB / 0.9416 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/1.041, allocations: 53.31 kB / 0.9417 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.042, allocations: 90.8 kB / 0.9417 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.042, allocations: 345.9 kB / 0.9421 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/1.042, allocations: 137.6 kB / 0.9422 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/1.043, allocations: 222 kB / 0.9424 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/1.043, allocations: 336.1 kB / 0.9427 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.043, allocations: 5.188 kB / 0.9427 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003675/1.047, allocations: 0.8497 MB / 0.9436 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/1.047, allocations: 40.06 kB / 0.9436 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.047, allocations: 0.625 kB / 0.9436 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.048, allocations: 196.8 kB / 0.9438 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/1.048, allocations: 39.58 kB / 0.9438 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/1.052, allocations: 2.351 MB / 0.9461 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/1.052, allocations: 46.12 kB / 0.9462 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/1.053, allocations: 22.7 kB / 0.9462 GB, free: 13.93 MB / 0.7325 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.0003671/1.053, allocations: 186.5 kB / 0.9464 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/1.053, allocations: 30.5 kB / 0.9464 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/1.053, allocations: 30.45 kB / 0.9464 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.053, allocations: 1.594 kB / 0.9464 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.053, allocations: 4.438 kB / 0.9464 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.053, allocations: 0.5938 kB / 0.9464 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.057, allocations: 1.03 MB / 0.9474 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.057, allocations: 1.906 kB / 0.9474 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/1.057, allocations: 6.062 kB / 0.9475 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/1.057, allocations: 113.9 kB / 0.9476 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/1.057, allocations: 13.75 kB / 0.9476 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009956/1.058, allocations: 0.7556 MB / 0.9483 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.058, allocations: 2.344 kB / 0.9483 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.062, allocations: 0.8675 MB / 0.9492 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/1.062, allocations: 137.6 kB / 0.9493 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/1.062, allocations: 7.25 kB / 0.9493 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/1.062, allocations: 16 kB / 0.9493 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/1.062, allocations: 12.05 kB / 0.9493 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/1.062, allocations: 8.938 kB / 0.9493 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005299/1.063, allocations: 239.7 kB / 0.9496 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.063, allocations: 0 / 0.9496 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008666/1.064, allocations: 110 kB / 0.9497 GB, free: 12.34 MB / 0.7325 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.0006273/1.064, allocations: 185.2 kB / 0.9498 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001762/1.066, allocations: 0.5694 MB / 0.9504 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.066, allocations: 1.469 kB / 0.9504 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/1.067, allocations: 258.8 kB / 0.9506 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/1.067, allocations: 56.64 kB / 0.9507 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.069, allocations: 0.6176 MB / 0.9513 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.069, allocations: 0.7571 MB / 0.952 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002062/1.07, allocations: 27.55 kB / 0.9521 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/1.07, allocations: 23.44 kB / 0.9521 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.07, allocations: 0 / 0.9521 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01865/1.088, allocations: 7.22 MB / 0.9591 GB, free: 10.12 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)