Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.3 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 189 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 0.6306 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 86.88 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004386, allocations: 17.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002279/0.2153, allocations: 1.968 MB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5599/0.7753, allocations: 127.5 MB / 1.106 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.7756, allocations: 6.438 kB / 1.106 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.7759, allocations: 74.41 kB / 1.106 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.7767, allocations: 229.2 kB / 1.106 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.7783, allocations: 0.5197 MB / 1.107 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.7787, allocations: 262 kB / 1.107 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.7788, allocations: 45.33 kB / 1.107 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.7791, allocations: 160.3 kB / 1.107 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.7794, allocations: 174.4 kB / 1.107 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.7794, allocations: 16.16 kB / 1.107 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.7806, allocations: 0.5155 MB / 1.108 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.7808, allocations: 74.72 kB / 1.108 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.781, allocations: 79.16 kB / 1.108 GB, free: 18.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.7819, allocations: 450.7 kB / 1.108 GB, free: 18.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.7819, allocations: 0 / 1.108 GB, free: 18.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7819, allocations: 1 kB / 1.108 GB, free: 18.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.7819, allocations: 0 / 1.108 GB, free: 18.25 MB / 0.698 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.001468/0.7834, allocations: 0.6854 MB / 1.109 GB, free: 17.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7834, allocations: 12.7 kB / 1.109 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.7849, allocations: 157.8 kB / 1.109 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.7854, allocations: 298.7 kB / 1.109 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.7855, allocations: 52.14 kB / 1.11 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.7855, allocations: 23.25 kB / 1.11 GB, free: 17.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.786, allocations: 210.8 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.786, allocations: 0 / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.786, allocations: 8.125 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.786, allocations: 5.781 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.7863, allocations: 118.2 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.7889, allocations: 0.9952 MB / 1.111 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.7897, allocations: 166.6 kB / 1.111 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.7897, allocations: 4.609 kB / 1.111 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.7901, allocations: 194.4 kB / 1.111 GB, free: 16.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.7901, allocations: 0 / 1.111 GB, free: 16.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00419/0.7943, allocations: 0.9488 MB / 1.112 GB, free: 16.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.7944, allocations: 81.23 kB / 1.112 GB, free: 16.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.7949, allocations: 350.2 kB / 1.113 GB, free: 16.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.7949, allocations: 31.8 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.795, allocations: 149.3 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.7951, allocations: 65.19 kB / 1.113 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.7951, allocations: 4.125 kB / 1.113 GB, free: 16.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7953, allocations: 344.9 kB / 1.113 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.7956, allocations: 134.7 kB / 1.113 GB, free: 15.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.796, allocations: 216.2 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.7965, allocations: 185.1 kB / 1.114 GB, free: 15.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7965, allocations: 0 / 1.114 GB, free: 15.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003597/0.8001, allocations: 0.8609 MB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.8001, allocations: 39.81 kB / 1.114 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8001, allocations: 1.438 kB / 1.114 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.8011, allocations: 196.4 kB / 1.115 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.8013, allocations: 45.36 kB / 1.115 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.804, allocations: 2.254 MB / 1.117 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.8046, allocations: 45.94 kB / 1.117 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.8046, allocations: 21.92 kB / 1.117 GB, free: 13.58 MB / 0.698 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.0002476/0.8049, allocations: 179.6 kB / 1.117 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.8049, allocations: 40.62 kB / 1.117 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.805, allocations: 29.42 kB / 1.117 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.805, allocations: 0.9688 kB / 1.117 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.805, allocations: 1.125 kB / 1.117 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.805, allocations: 4.172 kB / 1.117 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.8083, allocations: 1.051 MB / 1.118 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8083, allocations: 0 / 1.118 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.8083, allocations: 8.156 kB / 1.118 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.8087, allocations: 124.8 kB / 1.118 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.8087, allocations: 9.625 kB / 1.118 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008794/0.8096, allocations: 0.7471 MB / 1.119 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8096, allocations: 0 / 1.119 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.8127, allocations: 0.8895 MB / 1.12 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.8129, allocations: 129.8 kB / 1.12 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.813, allocations: 7.938 kB / 1.12 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.8133, allocations: 15.34 kB / 1.12 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.8134, allocations: 9.25 kB / 1.12 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.8134, allocations: 15.77 kB / 1.12 GB, free: 12.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000412/0.8138, allocations: 240 kB / 1.12 GB, free: 11.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8138, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008407/0.8147, allocations: 110.6 kB / 1.121 GB, free: 11.96 MB / 0.698 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.0005059/0.8152, allocations: 192.5 kB / 1.121 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.817, allocations: 0.5629 MB / 1.121 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.817, allocations: 1.062 kB / 1.121 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.8177, allocations: 252.6 kB / 1.121 GB, free: 11.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.8182, allocations: 64.12 kB / 1.122 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.8197, allocations: 0.6931 MB / 1.122 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.8202, allocations: 0.7744 MB / 1.123 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.8204, allocations: 29.91 kB / 1.123 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.8204, allocations: 26.44 kB / 1.123 GB, free: 10.47 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8204, allocations: 1.859 kB / 1.123 GB, free: 10.47 MB / 0.698 GB Notification: Performance of Templates: time 0.01153/0.832, allocations: 6.615 MB / 1.129 GB, free: 8.137 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)