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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 148 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.00178/0.00178, allocations: 196.4 kB / 16.53 MB, free: 6.656 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.436/1.436, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.826/1.826, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001513/0.001513, allocations: 74.48 kB / 0.6715 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3019, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004101/0.3061, allocations: 2.399 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7193/1.025, allocations: 150.9 MB / 0.9331 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/1.026, allocations: 1.156 kB / 0.9331 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/1.026, allocations: 90.28 kB / 0.9332 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000894/1.027, allocations: 240.4 kB / 0.9335 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/1.029, allocations: 0.6555 MB / 0.9341 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/1.029, allocations: 431.7 kB / 0.9345 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/1.029, allocations: 52.86 kB / 0.9346 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/1.03, allocations: 182.5 kB / 0.9347 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/1.03, allocations: 196.1 kB / 0.9349 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/1.03, allocations: 29.06 kB / 0.9349 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/1.031, allocations: 0.6211 MB / 0.9356 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/1.031, allocations: 86.94 kB / 0.9356 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/1.032, allocations: 161.1 kB / 0.9358 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009587/1.033, allocations: 0.6387 MB / 0.9364 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.033, allocations: 2.859 kB / 0.9364 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/1.033, allocations: 0 / 0.9364 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.033, allocations: 0 / 0.9364 GB, free: 2.305 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.001777/1.034, allocations: 0.7443 MB / 0.9371 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.034, allocations: 13.28 kB / 0.9372 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/1.036, allocations: 164 kB / 0.9373 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/1.036, allocations: 313.2 kB / 0.9376 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.037, allocations: 43.7 kB / 0.9377 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/1.037, allocations: 16.72 kB / 0.9377 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/1.037, allocations: 216 kB / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.037, allocations: 0 / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/1.037, allocations: 5.328 kB / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.037, allocations: 2.438 kB / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/1.037, allocations: 126.2 kB / 0.938 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/1.04, allocations: 0.999 MB / 0.939 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/1.041, allocations: 167.1 kB / 0.9391 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.041, allocations: 93.3 kB / 0.9392 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/1.041, allocations: 7.859 kB / 0.9392 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/1.041, allocations: 193.7 kB / 0.9394 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/1.041, allocations: 0.9375 kB / 0.9394 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004359/1.046, allocations: 0.8531 MB / 0.9403 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.046, allocations: 82.05 kB / 0.9403 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/1.046, allocations: 341.8 kB / 0.9407 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/1.046, allocations: 35.02 kB / 0.9407 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.047, allocations: 154.4 kB / 0.9408 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/1.047, allocations: 53.88 kB / 0.9409 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.047, allocations: 83.86 kB / 0.941 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.047, allocations: 351 kB / 0.9413 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/1.047, allocations: 139 kB / 0.9414 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/1.048, allocations: 217.2 kB / 0.9416 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/1.049, allocations: 335.3 kB / 0.942 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.049, allocations: 1.188 kB / 0.942 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00378/1.052, allocations: 0.8524 MB / 0.9428 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/1.052, allocations: 38.91 kB / 0.9428 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.052, allocations: 2.656 kB / 0.9428 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.053, allocations: 197.7 kB / 0.943 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/1.054, allocations: 39.33 kB / 0.9431 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/1.057, allocations: 2.347 MB / 0.9454 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/1.058, allocations: 44.53 kB / 0.9454 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/1.058, allocations: 20.03 kB / 0.9454 GB, free: 13.52 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.0002743/1.058, allocations: 188.2 kB / 0.9456 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/1.058, allocations: 30.56 kB / 0.9456 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/1.058, allocations: 30.05 kB / 0.9457 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.058, allocations: 3.047 kB / 0.9457 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.058, allocations: 3.938 kB / 0.9457 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.058, allocations: 0.6562 kB / 0.9457 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.062, allocations: 1.039 MB / 0.9467 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.062, allocations: 2.703 kB / 0.9467 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/1.062, allocations: 5.031 kB / 0.9467 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/1.062, allocations: 118.1 kB / 0.9468 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/1.062, allocations: 13.8 kB / 0.9468 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009183/1.063, allocations: 0.7505 MB / 0.9475 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.063, allocations: 0 / 0.9475 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/1.066, allocations: 0.8678 MB / 0.9484 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.066, allocations: 135.4 kB / 0.9485 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/1.066, allocations: 7.766 kB / 0.9485 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/1.067, allocations: 15.8 kB / 0.9485 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/1.067, allocations: 13.19 kB / 0.9486 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/1.067, allocations: 11.77 kB / 0.9486 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003178/1.067, allocations: 240.1 kB / 0.9488 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.067, allocations: 0 / 0.9488 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006201/1.068, allocations: 107.5 kB / 0.9489 GB, free: 11.93 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.0004/1.068, allocations: 190.6 kB / 0.9491 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001612/1.07, allocations: 0.5668 MB / 0.9496 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.07, allocations: 0 / 0.9496 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/1.071, allocations: 264.2 kB / 0.9499 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/1.071, allocations: 73.02 kB / 0.95 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.073, allocations: 0.607 MB / 0.9505 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.073, allocations: 0.7592 MB / 0.9513 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001722/1.073, allocations: 26.97 kB / 0.9513 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/1.073, allocations: 25.08 kB / 0.9513 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.073, allocations: 4 kB / 0.9513 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.01321/1.086, allocations: 7.196 MB / 0.9584 GB, free: 9.711 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)