Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.834/3.834, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002627/0.002627, allocations: 178.1 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.825/3.825, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001555/0.001554, allocations: 95.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006822/0.0006825, allocations: 14.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2412, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.99/7.231, allocations: 2.183 GB / 3.082 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/7.232, allocations: 102.6 kB / 3.082 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7968/8.029, allocations: 49.77 MB / 3.131 GB, free: 324.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.254e-06/8.029, allocations: 0 / 3.131 GB, free: 324.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.267e-05/8.029, allocations: 4 kB / 3.131 GB, free: 324.1 MB / 0.8855 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.001936/8.031, allocations: 0.7027 MB / 3.131 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/8.031, allocations: 8.031 kB / 3.131 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/8.033, allocations: 156.4 kB / 3.132 GB, free: 323.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/8.034, allocations: 315.6 kB / 3.132 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/8.034, allocations: 50.27 kB / 3.132 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/8.034, allocations: 20.38 kB / 3.132 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/8.035, allocations: 226.1 kB / 3.132 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/8.035, allocations: 3.938 kB / 3.132 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/8.035, allocations: 8 kB / 3.132 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/8.035, allocations: 4 kB / 3.132 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/8.035, allocations: 128.1 kB / 3.132 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/8.039, allocations: 1.009 MB / 3.133 GB, free: 321.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/8.041, allocations: 174.4 kB / 3.133 GB, free: 321.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/8.041, allocations: 112.8 kB / 3.134 GB, free: 321 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/8.041, allocations: 3.984 kB / 3.134 GB, free: 321 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/8.042, allocations: 203.1 kB / 3.134 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 3.146e-06/8.042, allocations: 8 kB / 3.134 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.00795/8.05, allocations: 0.9226 MB / 3.135 GB, free: 319.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/8.05, allocations: 89.05 kB / 3.135 GB, free: 319.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/8.05, allocations: 336.5 kB / 3.135 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/8.051, allocations: 33.7 kB / 3.135 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/8.051, allocations: 152.6 kB / 3.135 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/8.051, allocations: 59.19 kB / 3.135 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/8.051, allocations: 4 kB / 3.135 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/8.051, allocations: 342.8 kB / 3.136 GB, free: 318.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/8.052, allocations: 144.5 kB / 3.136 GB, free: 318.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/8.052, allocations: 225.4 kB / 3.136 GB, free: 318.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/8.053, allocations: 182.8 kB / 3.136 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/8.053, allocations: 0 / 3.136 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006819/8.06, allocations: 0.9079 MB / 3.137 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/8.06, allocations: 41.77 kB / 3.137 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/8.06, allocations: 4 kB / 3.137 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/8.062, allocations: 193.6 kB / 3.137 GB, free: 317 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/8.062, allocations: 47.91 kB / 3.137 GB, free: 317 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/8.066, allocations: 2.225 MB / 3.139 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/8.067, allocations: 47.58 kB / 3.14 GB, free: 314.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/8.067, allocations: 23.97 kB / 3.14 GB, free: 314.5 MB / 0.8855 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.0003532/8.067, allocations: 187.3 kB / 3.14 GB, free: 314.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/8.068, allocations: 35.62 kB / 3.14 GB, free: 314.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/8.068, allocations: 27.36 kB / 3.14 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/8.068, allocations: 7.922 kB / 3.14 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/8.068, allocations: 0 / 3.14 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/8.068, allocations: 4 kB / 3.14 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/8.074, allocations: 1.085 MB / 3.141 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/8.074, allocations: 0 / 3.141 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/8.074, allocations: 7.938 kB / 3.141 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/8.074, allocations: 112.8 kB / 3.141 GB, free: 313 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/8.074, allocations: 11.98 kB / 3.141 GB, free: 313 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/8.076, allocations: 0.7615 MB / 3.142 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/8.076, allocations: 0 / 3.142 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/8.084, allocations: 0.9308 MB / 3.143 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/8.085, allocations: 140.7 kB / 3.143 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/8.085, allocations: 4 kB / 3.143 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/8.086, allocations: 19.92 kB / 3.143 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.086, allocations: 15.98 kB / 3.143 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/8.086, allocations: 15.98 kB / 3.143 GB, free: 311 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007359/8.087, allocations: 239 kB / 3.143 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.01e-07/8.087, allocations: 0 / 3.143 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001516/8.088, allocations: 171.8 kB / 3.143 GB, free: 310.6 MB / 0.8855 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.002062/8.09, allocations: 0.704 MB / 3.144 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003866/8.094, allocations: 0.5657 MB / 3.144 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/8.094, allocations: 4 kB / 3.144 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/8.096, allocations: 248.1 kB / 3.145 GB, free: 309 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/8.098, allocations: 53.05 kB / 3.145 GB, free: 309 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/8.101, allocations: 0.7028 MB / 3.145 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/8.101, allocations: 0.756 MB / 3.146 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000419/8.102, allocations: 33.91 kB / 3.146 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/8.102, allocations: 23.44 kB / 3.146 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/8.102, allocations: 0 / 3.146 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.04598/8.148, allocations: 14.53 MB / 3.16 GB, free: 293 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)