Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 183.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 91.66 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 15.94 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7666, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.386/4.153, allocations: 1.714 GB / 2.741 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/4.153, allocations: 105.7 kB / 2.741 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1003/4.253, allocations: 49.82 MB / 2.789 GB, free: 77 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.106e-06/4.253, allocations: 2.25 kB / 2.789 GB, free: 77 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.631e-05/4.253, allocations: 4 kB / 2.789 GB, free: 77 MB / 0.9792 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.001432/4.255, allocations: 0.6995 MB / 2.79 GB, free: 76.24 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/4.255, allocations: 12.03 kB / 2.79 GB, free: 76.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/4.256, allocations: 152.4 kB / 2.79 GB, free: 76.08 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/4.257, allocations: 321.2 kB / 2.791 GB, free: 75.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/4.257, allocations: 50.25 kB / 2.791 GB, free: 75.68 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/4.257, allocations: 16.38 kB / 2.791 GB, free: 75.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/4.257, allocations: 225 kB / 2.791 GB, free: 75.43 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/4.257, allocations: 3.938 kB / 2.791 GB, free: 75.42 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/4.258, allocations: 8 kB / 2.791 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/4.258, allocations: 4 kB / 2.791 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/4.258, allocations: 124.2 kB / 2.791 GB, free: 75.29 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/4.26, allocations: 1.028 MB / 2.792 GB, free: 74.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007197/4.261, allocations: 174.5 kB / 2.792 GB, free: 74.02 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/4.261, allocations: 100.8 kB / 2.792 GB, free: 73.92 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/4.261, allocations: 4 kB / 2.792 GB, free: 73.92 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/4.261, allocations: 202.3 kB / 2.792 GB, free: 73.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 4.067e-06/4.261, allocations: 0 / 2.792 GB, free: 73.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.003847/4.265, allocations: 0.9254 MB / 2.793 GB, free: 72.75 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/4.265, allocations: 81.11 kB / 2.793 GB, free: 72.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/4.266, allocations: 344.4 kB / 2.794 GB, free: 72.31 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/4.266, allocations: 33.7 kB / 2.794 GB, free: 72.27 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/4.266, allocations: 152.6 kB / 2.794 GB, free: 72.12 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/4.266, allocations: 66.38 kB / 2.794 GB, free: 72.06 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/4.266, allocations: 4 kB / 2.794 GB, free: 72.05 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/4.266, allocations: 338.8 kB / 2.794 GB, free: 71.71 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/4.266, allocations: 148.5 kB / 2.795 GB, free: 71.56 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/4.267, allocations: 229.3 kB / 2.795 GB, free: 71.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/4.267, allocations: 361.8 kB / 2.795 GB, free: 70.95 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/4.267, allocations: 0 / 2.795 GB, free: 70.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003375/4.271, allocations: 0.8871 MB / 2.796 GB, free: 70.05 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/4.271, allocations: 37.69 kB / 2.796 GB, free: 70 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/4.271, allocations: 4 kB / 2.796 GB, free: 70 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/4.272, allocations: 201.6 kB / 2.796 GB, free: 69.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/4.272, allocations: 47.91 kB / 2.796 GB, free: 69.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/4.274, allocations: 2.235 MB / 2.798 GB, free: 67.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/4.275, allocations: 43.67 kB / 2.798 GB, free: 67.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/4.275, allocations: 19.98 kB / 2.798 GB, free: 67.29 MB / 0.9792 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,$whenCondition2,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.0002828/4.275, allocations: 188.3 kB / 2.799 GB, free: 67.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/4.275, allocations: 35.62 kB / 2.799 GB, free: 67.06 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/4.275, allocations: 31.17 kB / 2.799 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/4.275, allocations: 7.938 kB / 2.799 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/4.275, allocations: 0 / 2.799 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/4.275, allocations: 0 / 2.799 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/4.278, allocations: 1.08 MB / 2.8 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/4.278, allocations: 0 / 2.8 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/4.278, allocations: 11.88 kB / 2.8 GB, free: 65.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/4.279, allocations: 120.8 kB / 2.8 GB, free: 65.75 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/4.279, allocations: 8 kB / 2.8 GB, free: 65.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000723/4.28, allocations: 0.7503 MB / 2.801 GB, free: 64.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/4.28, allocations: 4 kB / 2.801 GB, free: 64.96 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/4.282, allocations: 0.9306 MB / 2.802 GB, free: 64.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/4.283, allocations: 140.7 kB / 2.802 GB, free: 63.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/4.283, allocations: 4 kB / 2.802 GB, free: 63.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/4.283, allocations: 18.05 kB / 2.802 GB, free: 63.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/4.283, allocations: 7.984 kB / 2.802 GB, free: 63.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/4.283, allocations: 20.05 kB / 2.802 GB, free: 63.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002733/4.283, allocations: 238.9 kB / 2.802 GB, free: 63.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/4.283, allocations: 0 / 2.802 GB, free: 63.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007981/4.284, allocations: 167.9 kB / 2.802 GB, free: 63.42 MB / 0.9792 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.001087/4.285, allocations: 0.6973 MB / 2.803 GB, free: 62.72 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001481/4.287, allocations: 0.5602 MB / 2.803 GB, free: 62.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/4.287, allocations: 0 / 2.803 GB, free: 62.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/4.287, allocations: 264.2 kB / 2.804 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/4.288, allocations: 55.38 kB / 2.804 GB, free: 61.81 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/4.289, allocations: 0.704 MB / 2.804 GB, free: 61.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/4.289, allocations: 0.756 MB / 2.805 GB, free: 60.31 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001824/4.29, allocations: 31.22 kB / 2.805 GB, free: 60.29 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/4.29, allocations: 23.42 kB / 2.805 GB, free: 60.26 MB / 0.9792 GB Notification: Performance of SimCode: time 3.91e-07/4.29, allocations: 0 / 2.805 GB, free: 60.26 MB / 0.9792 GB Notification: Performance of Templates: time 0.01908/4.309, allocations: 14.62 MB / 2.819 GB, free: 45.79 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)