Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001182/0.001182, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001784/0.001785, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 0.5102 GB, free: 4.773 MB / 414.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.0005765/0.0005767, allocations: 20 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.531, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003339/0.5344, allocations: 2.051 MB / 0.7301 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1538/0.6882, allocations: 137.1 MB / 0.8641 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.6885, allocations: 0 / 0.8641 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.6889, allocations: 79.58 kB / 0.8641 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.6895, allocations: 210.9 kB / 0.8643 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.6912, allocations: 0.5052 MB / 0.8648 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00048/0.6917, allocations: 378.6 kB / 0.8652 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.6918, allocations: 42.67 kB / 0.8652 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.692, allocations: 147.5 kB / 0.8654 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.6923, allocations: 191.3 kB / 0.8656 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.6924, allocations: 16 kB / 0.8656 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.6934, allocations: 0.4991 MB / 0.8661 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.6935, allocations: 67.78 kB / 0.8661 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.6936, allocations: 73.52 kB / 0.8662 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.6941, allocations: 454.9 kB / 0.8666 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6941, allocations: 0 / 0.8666 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of FrontEnd: time 6.031e-06/0.6942, allocations: 0 / 0.8666 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6942, allocations: 7.938 kB / 0.8666 GB, free: 13.18 MB / 0.6856 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.001369/0.6955, allocations: 0.6792 MB / 0.8673 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6956, allocations: 12.03 kB / 0.8673 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.697, allocations: 155.5 kB / 0.8675 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.6975, allocations: 310.4 kB / 0.8678 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.6976, allocations: 45.7 kB / 0.8678 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.6976, allocations: 23.95 kB / 0.8678 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.698, allocations: 208.9 kB / 0.868 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6981, allocations: 0 / 0.868 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.6981, allocations: 4 kB / 0.868 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6981, allocations: 0 / 0.868 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.6984, allocations: 132 kB / 0.8682 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.7009, allocations: 0.9927 MB / 0.8691 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.7016, allocations: 162.5 kB / 0.8693 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.7018, allocations: 100.8 kB / 0.8694 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.7019, allocations: 4 kB / 0.8694 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.7024, allocations: 196.2 kB / 0.8696 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.7024, allocations: 0 / 0.8696 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.003824/0.7062, allocations: 0.8751 MB / 0.8704 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.7063, allocations: 81.11 kB / 0.8705 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.7067, allocations: 340.4 kB / 0.8708 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.7068, allocations: 41.64 kB / 0.8709 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.7069, allocations: 144.7 kB / 0.871 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.707, allocations: 55.2 kB / 0.8711 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.707, allocations: 8 kB / 0.8711 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7072, allocations: 346.8 kB / 0.8714 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.7075, allocations: 132.5 kB / 0.8715 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.708, allocations: 217.4 kB / 0.8717 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.7084, allocations: 179 kB / 0.8719 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7084, allocations: 0 / 0.8719 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003333/0.7117, allocations: 0.8671 MB / 0.8727 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.7118, allocations: 41.69 kB / 0.8728 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7118, allocations: 3.953 kB / 0.8728 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008343/0.7126, allocations: 201.7 kB / 0.873 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.7129, allocations: 43.84 kB / 0.873 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.7156, allocations: 2.235 MB / 0.8752 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.7161, allocations: 47.58 kB / 0.8752 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.7162, allocations: 19.97 kB / 0.8753 GB, free: 3.844 MB / 0.6856 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.7164, allocations: 187.4 kB / 0.8754 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.7165, allocations: 31.62 kB / 0.8755 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.7165, allocations: 35.17 kB / 0.8755 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7165, allocations: 0 / 0.8755 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7165, allocations: 0 / 0.8755 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7165, allocations: 4 kB / 0.8755 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7196, allocations: 1.043 MB / 0.8765 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7196, allocations: 3.984 kB / 0.8765 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.7196, allocations: 4 kB / 0.8765 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002974/0.72, allocations: 116.7 kB / 0.8767 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.72, allocations: 11.98 kB / 0.8767 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/0.7209, allocations: 0.7459 MB / 0.8774 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7209, allocations: 4 kB / 0.8774 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.7238, allocations: 0.8792 MB / 0.8783 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.724, allocations: 132.7 kB / 0.8784 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.7241, allocations: 8 kB / 0.8784 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.7243, allocations: 11.98 kB / 0.8784 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7244, allocations: 19.88 kB / 0.8784 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.7244, allocations: 15.92 kB / 0.8784 GB, free: 464 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002791/0.7247, allocations: 239.1 kB / 0.8787 GB, free: 228 kB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7247, allocations: 0 / 0.8787 GB, free: 228 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005008/0.7252, allocations: 108 kB / 0.8788 GB, free: 120 kB / 0.6856 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003699/0.7256, allocations: 195.1 kB / 0.879 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.7271, allocations: 0.5619 MB / 0.8795 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.7271, allocations: 4 kB / 0.8795 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.7278, allocations: 254.9 kB / 0.8797 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.7283, allocations: 59.83 kB / 0.8798 GB, free: 15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.7296, allocations: 0.7044 MB / 0.8805 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.73, allocations: 0.756 MB / 0.8812 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.7301, allocations: 38.16 kB / 0.8813 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.7302, allocations: 19.44 kB / 0.8813 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.7302, allocations: 4 kB / 0.8813 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of Templates: time 0.01203/0.7423, allocations: 6.629 MB / 0.8878 GB, free: 6.898 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: