Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.556/2.556, allocations: 287.9 MB / 302.9 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 172.3 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.41 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004629, allocations: 17 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002276/0.1535, allocations: 1.976 MB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7359/0.8894, allocations: 127.5 MB / 1.105 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.8897, allocations: 2.469 kB / 1.105 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.89, allocations: 73.14 kB / 1.105 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007292/0.8907, allocations: 237.2 kB / 1.106 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.8926, allocations: 0.5213 MB / 1.106 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.8931, allocations: 262.9 kB / 1.106 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.8932, allocations: 43.33 kB / 1.106 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.8934, allocations: 159.8 kB / 1.106 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.8938, allocations: 173.3 kB / 1.107 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.8939, allocations: 16.16 kB / 1.107 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.8953, allocations: 0.5207 MB / 1.107 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.8954, allocations: 67.83 kB / 1.107 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.8956, allocations: 79.3 kB / 1.107 GB, free: 17.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.8964, allocations: 447.6 kB / 1.108 GB, free: 17.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.8964, allocations: 3.938 kB / 1.108 GB, free: 17.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8964, allocations: 1.031 kB / 1.108 GB, free: 17.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.968e-06/0.8964, allocations: 0 / 1.108 GB, free: 17.69 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.001569/0.898, allocations: 0.6891 MB / 1.108 GB, free: 17.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.898, allocations: 12.48 kB / 1.108 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.8999, allocations: 157.5 kB / 1.109 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.9005, allocations: 298.7 kB / 1.109 GB, free: 16.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/0.9006, allocations: 50.19 kB / 1.109 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.9007, allocations: 21.25 kB / 1.109 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.9012, allocations: 211.2 kB / 1.109 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.9013, allocations: 4.734 kB / 1.109 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.9013, allocations: 3.625 kB / 1.109 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-06/0.9013, allocations: 2.938 kB / 1.109 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.9017, allocations: 121.5 kB / 1.109 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.9048, allocations: 0.9908 MB / 1.11 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.9058, allocations: 174.2 kB / 1.11 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.9058, allocations: 1.156 kB / 1.11 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.9064, allocations: 196.1 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.56e-06/0.9064, allocations: 2.891 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.005341/0.9118, allocations: 0.9524 MB / 1.112 GB, free: 15.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.9119, allocations: 86.45 kB / 1.112 GB, free: 15.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.9125, allocations: 343.4 kB / 1.112 GB, free: 15.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.9126, allocations: 32.5 kB / 1.112 GB, free: 15.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.9128, allocations: 148.3 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.9129, allocations: 62.84 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.9129, allocations: 4.281 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.9131, allocations: 341.2 kB / 1.112 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.9136, allocations: 142.1 kB / 1.113 GB, free: 15.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.9142, allocations: 211.2 kB / 1.113 GB, free: 15.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.9147, allocations: 183.6 kB / 1.113 GB, free: 15.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.387e-06/0.9148, allocations: 0 / 1.113 GB, free: 15.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004826/0.9196, allocations: 0.8702 MB / 1.114 GB, free: 15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/0.9197, allocations: 36.42 kB / 1.114 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9197, allocations: 0.9062 kB / 1.114 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.9209, allocations: 201.8 kB / 1.114 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.9213, allocations: 40.28 kB / 1.114 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.9252, allocations: 2.254 MB / 1.116 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.9259, allocations: 47.42 kB / 1.116 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.926, allocations: 20.03 kB / 1.116 GB, free: 13.01 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.0003713/0.9264, allocations: 187.2 kB / 1.117 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.9265, allocations: 34.41 kB / 1.117 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.9265, allocations: 27.22 kB / 1.117 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-06/0.9265, allocations: 2.125 kB / 1.117 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.415e-06/0.9265, allocations: 0.6562 kB / 1.117 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-06/0.9266, allocations: 1.859 kB / 1.117 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004903/0.9315, allocations: 1.049 MB / 1.118 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.224e-06/0.9315, allocations: 5.156 kB / 1.118 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.9316, allocations: 10.78 kB / 1.118 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.9321, allocations: 120.9 kB / 1.118 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.9322, allocations: 8.391 kB / 1.118 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.9334, allocations: 0.7533 MB / 1.119 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9335, allocations: 1.312 kB / 1.119 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.9378, allocations: 0.8793 MB / 1.119 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.9381, allocations: 133.4 kB / 1.119 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.9382, allocations: 7.25 kB / 1.12 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.9385, allocations: 17.09 kB / 1.12 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.9386, allocations: 9.031 kB / 1.12 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.9387, allocations: 10.61 kB / 1.12 GB, free: 11.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004141/0.9391, allocations: 238.8 kB / 1.12 GB, free: 11.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.45e-07/0.9391, allocations: 0 / 1.12 GB, free: 11.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007232/0.9399, allocations: 117.5 kB / 1.12 GB, free: 11.41 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.0004395/0.9403, allocations: 183.3 kB / 1.12 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.9423, allocations: 0.5703 MB / 1.121 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.902e-06/0.9423, allocations: 0 / 1.121 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.9432, allocations: 247.8 kB / 1.121 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.9438, allocations: 65.22 kB / 1.121 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.9454, allocations: 0.7064 MB / 1.122 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.9459, allocations: 0.7652 MB / 1.122 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.9462, allocations: 36.77 kB / 1.122 GB, free: 9.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.9463, allocations: 19.89 kB / 1.122 GB, free: 9.922 MB / 0.698 GB Notification: Performance of SimCode: time 1.671e-06/0.9463, allocations: 0 / 1.122 GB, free: 9.922 MB / 0.698 GB Notification: Performance of Templates: time 0.01643/0.9627, allocations: 6.63 MB / 1.129 GB, free: 8.262 MB / 0.698 GB