Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 252.6 MB / 265.2 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 173.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.5754 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 109.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.729e-05, allocations: 7.984 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.137/7.37, allocations: 2.182 GB / 3.077 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/7.371, allocations: 100.1 kB / 3.077 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1815/7.552, allocations: 49.86 MB / 3.126 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/7.552, allocations: 0 / 3.126 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.327e-05/7.552, allocations: 4 kB / 3.126 GB, free: 100.8 MB / 0.8698 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.001649/7.554, allocations: 0.6555 MB / 3.127 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/7.554, allocations: 8.031 kB / 3.127 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/7.556, allocations: 155.5 kB / 3.127 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/7.557, allocations: 302.5 kB / 3.127 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/7.557, allocations: 41.7 kB / 3.127 GB, free: 99.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/7.557, allocations: 31.94 kB / 3.127 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/7.558, allocations: 212.1 kB / 3.127 GB, free: 99.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/7.558, allocations: 4 kB / 3.127 GB, free: 99.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/7.558, allocations: 4 kB / 3.127 GB, free: 99.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/7.558, allocations: 4 kB / 3.127 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/7.558, allocations: 116.2 kB / 3.128 GB, free: 99.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/7.562, allocations: 1.024 MB / 3.129 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/7.563, allocations: 158.5 kB / 3.129 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/7.564, allocations: 96.83 kB / 3.129 GB, free: 97.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/7.564, allocations: 8 kB / 3.129 GB, free: 97.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/7.564, allocations: 187.4 kB / 3.129 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 4.067e-06/7.564, allocations: 0 / 3.129 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.005428/7.57, allocations: 0.6564 MB / 3.13 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/7.57, allocations: 85.11 kB / 3.13 GB, free: 96.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/7.57, allocations: 302.6 kB / 3.13 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/7.57, allocations: 33.64 kB / 3.13 GB, free: 96.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/7.571, allocations: 148.8 kB / 3.13 GB, free: 96.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/7.571, allocations: 55.2 kB / 3.13 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/7.571, allocations: 4 kB / 3.13 GB, free: 96.31 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/7.571, allocations: 354.8 kB / 3.131 GB, free: 95.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/7.571, allocations: 132.6 kB / 3.131 GB, free: 95.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/7.572, allocations: 201.4 kB / 3.131 GB, free: 95.61 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/7.572, allocations: 178.9 kB / 3.131 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/7.572, allocations: 4 kB / 3.131 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006217/7.578, allocations: 0.8454 MB / 3.132 GB, free: 94.56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/7.578, allocations: 33.7 kB / 3.132 GB, free: 94.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/7.578, allocations: 4 kB / 3.132 GB, free: 94.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/7.58, allocations: 185.7 kB / 3.132 GB, free: 94.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/7.58, allocations: 35.92 kB / 3.132 GB, free: 94.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/7.584, allocations: 2.214 MB / 3.134 GB, free: 91.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/7.585, allocations: 43.67 kB / 3.134 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/7.585, allocations: 23.97 kB / 3.134 GB, free: 91.86 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = false 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 () * 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.0002599/7.585, allocations: 159.4 kB / 3.135 GB, free: 91.69 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/7.585, allocations: 35.58 kB / 3.135 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/7.585, allocations: 30.94 kB / 3.135 GB, free: 91.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/7.585, allocations: 0 / 3.135 GB, free: 91.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/7.585, allocations: 4 kB / 3.135 GB, free: 91.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/7.585, allocations: 0 / 3.135 GB, free: 91.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/7.591, allocations: 1.044 MB / 3.136 GB, free: 90.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/7.591, allocations: 7.938 kB / 3.136 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/7.591, allocations: 7.938 kB / 3.136 GB, free: 90.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/7.591, allocations: 100.8 kB / 3.136 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/7.591, allocations: 4 kB / 3.136 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00098/7.592, allocations: 0.7332 MB / 3.136 GB, free: 89.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/7.592, allocations: 0 / 3.136 GB, free: 89.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/7.598, allocations: 0.8905 MB / 3.137 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/7.598, allocations: 132.7 kB / 3.137 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/7.598, allocations: 4 kB / 3.137 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/7.599, allocations: 19.98 kB / 3.138 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/7.599, allocations: 7.984 kB / 3.138 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/7.599, allocations: 19.92 kB / 3.138 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003558/7.599, allocations: 230.2 kB / 3.138 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/7.599, allocations: 64 / 3.138 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009102/7.6, allocations: 171.9 kB / 3.138 GB, free: 88.13 MB / 0.8698 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) * 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.001208/7.601, allocations: 0.7095 MB / 3.139 GB, free: 87.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002179/7.604, allocations: 0.5382 MB / 3.139 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.604, allocations: 0 / 3.139 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/7.605, allocations: 236.1 kB / 3.139 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/7.606, allocations: 61.91 kB / 3.139 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/7.607, allocations: 424.7 kB / 3.14 GB, free: 86.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/7.607, allocations: 0.7754 MB / 3.141 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000304/7.607, allocations: 30.06 kB / 3.141 GB, free: 85.28 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/7.607, allocations: 27.36 kB / 3.141 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/7.607, allocations: 0 / 3.141 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.03672/7.644, allocations: 16.32 MB / 3.157 GB, free: 68.99 MB / 0.8698 GB