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.008443/0.008443, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002108/0.002108, allocations: 197.1 kB / 16.67 MB, free: 5.52 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.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.354/1.354, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001442/0.001442, allocations: 75.91 kB / 0.7258 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7015, allocations: 104.7 MB / 0.8281 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004002/0.7055, allocations: 2.411 MB / 0.8304 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.8918, allocations: 151 MB / 0.9779 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.8922, allocations: 0 / 0.9779 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.8928, allocations: 91.44 kB / 0.978 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.894, allocations: 238.5 kB / 0.9782 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.8963, allocations: 0.6486 MB / 0.9788 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.8971, allocations: 434.6 kB / 0.9792 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.8973, allocations: 44.73 kB / 0.9793 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.8978, allocations: 179.4 kB / 0.9794 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.8983, allocations: 199.3 kB / 0.9796 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.8984, allocations: 32 kB / 0.9797 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.8999, allocations: 0.6278 MB / 0.9803 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.9, allocations: 83.66 kB / 0.9804 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.9003, allocations: 159.2 kB / 0.9805 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.9017, allocations: 0.6566 MB / 0.9811 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9017, allocations: 0 / 0.9811 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9017, allocations: 0 / 0.9811 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.9017, allocations: 0 / 0.9811 GB, free: 5.254 MB / 0.7794 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.002058/0.9038, allocations: 0.7377 MB / 0.9819 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.9039, allocations: 12.03 kB / 0.9819 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.9056, allocations: 152.4 kB / 0.982 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.9063, allocations: 318.7 kB / 0.9823 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.9064, allocations: 49.69 kB / 0.9824 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.9065, allocations: 19.98 kB / 0.9824 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.9069, allocations: 209.8 kB / 0.9826 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.907, allocations: 7.938 kB / 0.9826 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.907, allocations: 4 kB / 0.9826 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.907, allocations: 4 kB / 0.9826 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.9073, allocations: 124 kB / 0.9827 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.91, allocations: 0.9926 MB / 0.9837 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.9108, allocations: 166.3 kB / 0.9839 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.9111, allocations: 96.81 kB / 0.9839 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.9111, allocations: 4 kB / 0.984 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.9115, allocations: 185 kB / 0.9841 GB, free: 2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.9115, allocations: 0 / 0.9841 GB, free: 2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.004267/0.9158, allocations: 0.8663 MB / 0.985 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.9159, allocations: 81.11 kB / 0.9851 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.9164, allocations: 340.4 kB / 0.9854 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.9164, allocations: 33.7 kB / 0.9854 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.9166, allocations: 156.5 kB / 0.9856 GB, free: 476 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.9167, allocations: 55.2 kB / 0.9856 GB, free: 420 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.9169, allocations: 81.94 kB / 0.9857 GB, free: 332 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.917, allocations: 350.7 kB / 0.986 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.9174, allocations: 136.5 kB / 0.9862 GB, free: 15.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.9179, allocations: 214.1 kB / 0.9864 GB, free: 15.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.9186, allocations: 354.4 kB / 0.9867 GB, free: 15.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9186, allocations: 0 / 0.9867 GB, free: 15.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003756/0.9223, allocations: 0.8435 MB / 0.9875 GB, free: 14.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.9224, allocations: 37.7 kB / 0.9876 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9224, allocations: 3.938 kB / 0.9876 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.9235, allocations: 205.7 kB / 0.9878 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.9237, allocations: 35.92 kB / 0.9878 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.9278, allocations: 2.337 MB / 0.9901 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.9285, allocations: 51.59 kB / 0.9901 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.9286, allocations: 15.98 kB / 0.9901 GB, free: 11.52 MB / 0.795 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.0004396/0.929, allocations: 195.1 kB / 0.9903 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.9292, allocations: 35.56 kB / 0.9904 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.9292, allocations: 27.17 kB / 0.9904 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9292, allocations: 0 / 0.9904 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9293, allocations: 0 / 0.9904 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.9293, allocations: 7.922 kB / 0.9904 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.9327, allocations: 1.036 MB / 0.9914 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.9328, allocations: 0 / 0.9914 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.9328, allocations: 15.88 kB / 0.9914 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003249/0.9332, allocations: 108.8 kB / 0.9915 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.9332, allocations: 11.94 kB / 0.9915 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009215/0.9341, allocations: 0.7532 MB / 0.9923 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9342, allocations: 0 / 0.9923 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.9374, allocations: 0.8605 MB / 0.9931 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.9376, allocations: 140.6 kB / 0.9932 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.9377, allocations: 8 kB / 0.9932 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.938, allocations: 11.98 kB / 0.9933 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.938, allocations: 16.05 kB / 0.9933 GB, free: 8.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.9381, allocations: 4 kB / 0.9933 GB, free: 8.156 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003602/0.9384, allocations: 239 kB / 0.9935 GB, free: 7.922 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9384, allocations: 0 / 0.9935 GB, free: 7.922 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006766/0.9391, allocations: 116 kB / 0.9936 GB, free: 7.809 MB / 0.795 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.0004616/0.9396, allocations: 182.8 kB / 0.9938 GB, free: 7.621 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.9414, allocations: 0.5767 MB / 0.9944 GB, free: 7.016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9414, allocations: 0 / 0.9944 GB, free: 7.016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.9421, allocations: 260.2 kB / 0.9946 GB, free: 6.746 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.9427, allocations: 72.45 kB / 0.9947 GB, free: 6.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.9443, allocations: 0.6038 MB / 0.9953 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.9448, allocations: 0.756 MB / 0.996 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.945, allocations: 34.28 kB / 0.996 GB, free: 5.238 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.945, allocations: 23.42 kB / 0.9961 GB, free: 5.215 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.9451, allocations: 0 / 0.9961 GB, free: 5.215 MB / 0.795 GB Notification: Performance of Templates: time 0.01469/0.9597, allocations: 7.248 MB / 1.003 GB, free: 14.07 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (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)