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.005083/0.005083, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001161/0.001161, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.544/1.544, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.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.642/1.642, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.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.001577/0.001577, allocations: 71.89 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2774, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004459/0.2819, allocations: 2.413 MB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.8219/1.104, allocations: 151 MB / 0.9779 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/1.104, allocations: 2.906 kB / 0.9779 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003927/1.104, allocations: 88.78 kB / 0.978 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006978/1.105, allocations: 245.5 kB / 0.9782 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/1.107, allocations: 0.6526 MB / 0.9788 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005675/1.107, allocations: 453.2 kB / 0.9793 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/1.108, allocations: 40.94 kB / 0.9793 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/1.108, allocations: 183.1 kB / 0.9795 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/1.108, allocations: 204.3 kB / 0.9797 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/1.108, allocations: 29.69 kB / 0.9797 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/1.11, allocations: 0.6233 MB / 0.9803 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.11, allocations: 82.02 kB / 0.9804 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/1.11, allocations: 161.7 kB / 0.9805 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/1.111, allocations: 0.6514 MB / 0.9812 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.111, allocations: 0 / 0.9812 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/1.111, allocations: 5.875 kB / 0.9812 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.111, allocations: 0 / 0.9812 GB, free: 4.129 MB / 0.7325 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.001708/1.113, allocations: 0.7529 MB / 0.9819 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.113, allocations: 9.375 kB / 0.9819 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/1.115, allocations: 165.1 kB / 0.9821 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/1.115, allocations: 318.8 kB / 0.9824 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/1.115, allocations: 51.5 kB / 0.9824 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/1.115, allocations: 17.75 kB / 0.9825 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/1.116, allocations: 215.1 kB / 0.9827 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.116, allocations: 1.469 kB / 0.9827 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/1.116, allocations: 5.562 kB / 0.9827 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.116, allocations: 6.719 kB / 0.9827 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/1.116, allocations: 121.5 kB / 0.9828 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/1.119, allocations: 0.99 MB / 0.9838 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/1.119, allocations: 162 kB / 0.9839 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/1.12, allocations: 101.7 kB / 0.984 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/1.12, allocations: 1.375 kB / 0.984 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/1.12, allocations: 197.5 kB / 0.9842 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/1.12, allocations: 0 / 0.9842 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004118/1.124, allocations: 0.8544 MB / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.124, allocations: 84.45 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/1.125, allocations: 341.9 kB / 0.9854 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/1.125, allocations: 36.11 kB / 0.9855 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.125, allocations: 157.8 kB / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.125, allocations: 62.66 kB / 0.9857 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.125, allocations: 88.8 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.125, allocations: 342.8 kB / 0.9861 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/1.126, allocations: 140.9 kB / 0.9862 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/1.126, allocations: 217.3 kB / 0.9864 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/1.127, allocations: 336.7 kB / 0.9868 GB, free: 436 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.127, allocations: 3.984 kB / 0.9868 GB, free: 432 kB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0037/1.131, allocations: 0.8505 MB / 0.9876 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/1.131, allocations: 37.31 kB / 0.9876 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.131, allocations: 0 / 0.9876 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/1.132, allocations: 197.2 kB / 0.9878 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.132, allocations: 40.72 kB / 0.9879 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/1.135, allocations: 2.344 MB / 0.9901 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/1.136, allocations: 50.09 kB / 0.9902 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/1.136, allocations: 21.67 kB / 0.9902 GB, free: 13.53 MB / 0.7481 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.0002743/1.136, allocations: 191.1 kB / 0.9904 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/1.136, allocations: 31.72 kB / 0.9904 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/1.136, allocations: 35.02 kB / 0.9905 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.136, allocations: 0 / 0.9905 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.136, allocations: 2.594 kB / 0.9905 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.136, allocations: 7.938 kB / 0.9905 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.14, allocations: 1.025 MB / 0.9915 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.14, allocations: 0 / 0.9915 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/1.14, allocations: 10.41 kB / 0.9915 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/1.14, allocations: 110.7 kB / 0.9916 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/1.14, allocations: 9.281 kB / 0.9916 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009308/1.141, allocations: 0.7481 MB / 0.9923 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.141, allocations: 3.938 kB / 0.9923 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/1.144, allocations: 0.8684 MB / 0.9932 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/1.144, allocations: 144.9 kB / 0.9933 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/1.144, allocations: 5.562 kB / 0.9933 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/1.145, allocations: 14.86 kB / 0.9933 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.145, allocations: 9.766 kB / 0.9933 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/1.145, allocations: 16.64 kB / 0.9934 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003134/1.145, allocations: 233.5 kB / 0.9936 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.145, allocations: 0 / 0.9936 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005662/1.146, allocations: 112.4 kB / 0.9937 GB, free: 11 MB / 0.7481 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.0003644/1.146, allocations: 204.4 kB / 0.9939 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001577/1.148, allocations: 0.5614 MB / 0.9944 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.148, allocations: 2.75 kB / 0.9944 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/1.148, allocations: 254.9 kB / 0.9947 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/1.149, allocations: 66.17 kB / 0.9947 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.15, allocations: 0.6034 MB / 0.9953 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/1.151, allocations: 0.7601 MB / 0.9961 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001925/1.151, allocations: 29.84 kB / 0.9961 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/1.151, allocations: 28.23 kB / 0.9961 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.151, allocations: 0 / 0.9961 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of Templates: time 0.01288/1.164, allocations: 7.264 MB / 1.003 GB, free: 5.504 MB / 0.7481 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)