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.001021/0.001021, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.453/1.453, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.544/1.544, allocations: 251.6 MB / 0.5089 GB, free: 3.258 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.001458/0.001458, allocations: 64.28 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6133, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004155/0.6175, allocations: 2.463 MB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.7949, allocations: 148.8 MB / 0.8717 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.7953, allocations: 8 kB / 0.8717 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.7958, allocations: 85.45 kB / 0.8718 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007611/0.7966, allocations: 214.9 kB / 0.872 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.7983, allocations: 0.6009 MB / 0.8726 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.7988, allocations: 438.6 kB / 0.873 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.7989, allocations: 44.72 kB / 0.873 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.7991, allocations: 183.4 kB / 0.8732 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.7995, allocations: 195.4 kB / 0.8734 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.7995, allocations: 28 kB / 0.8734 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.8007, allocations: 0.6472 MB / 0.8741 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.8008, allocations: 91.7 kB / 0.8742 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.801, allocations: 159.2 kB / 0.8743 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.8019, allocations: 0.6622 MB / 0.875 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.802, allocations: 7.984 kB / 0.875 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/0.802, allocations: 0 / 0.875 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.802, allocations: 0 / 0.875 GB, free: 1.961 MB / 0.6856 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.00159/0.8036, allocations: 0.7338 MB / 0.8757 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8036, allocations: 8.031 kB / 0.8757 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.8053, allocations: 160.4 kB / 0.8758 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.8057, allocations: 322.6 kB / 0.8761 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.8058, allocations: 45.69 kB / 0.8762 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.8059, allocations: 20 kB / 0.8762 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.8063, allocations: 204.9 kB / 0.8764 GB, free: 380 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8063, allocations: 4 kB / 0.8764 GB, free: 376 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.8064, allocations: 11.92 kB / 0.8764 GB, free: 364 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.8064, allocations: 4 kB / 0.8764 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.8067, allocations: 112.2 kB / 0.8765 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.8092, allocations: 0.9848 MB / 0.8775 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.81, allocations: 166.4 kB / 0.8777 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.8102, allocations: 96.81 kB / 0.8777 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.8103, allocations: 7.984 kB / 0.8778 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.8106, allocations: 193 kB / 0.8779 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 3.377e-06/0.8107, allocations: 0 / 0.8779 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.004276/0.8149, allocations: 0.8664 MB / 0.8788 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.815, allocations: 85.11 kB / 0.8789 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.8155, allocations: 340.4 kB / 0.8792 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.8155, allocations: 33.7 kB / 0.8792 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.8157, allocations: 156.5 kB / 0.8794 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.8157, allocations: 55.23 kB / 0.8794 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.8159, allocations: 81.94 kB / 0.8795 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.816, allocations: 346.8 kB / 0.8798 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.8163, allocations: 140.5 kB / 0.88 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.8168, allocations: 213.4 kB / 0.8802 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.8174, allocations: 348.8 kB / 0.8805 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8174, allocations: 0 / 0.8805 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003804/0.8212, allocations: 0.8513 MB / 0.8813 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.8213, allocations: 37.69 kB / 0.8814 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8213, allocations: 4 kB / 0.8814 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/0.8222, allocations: 189.6 kB / 0.8816 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.8225, allocations: 47.91 kB / 0.8816 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.8255, allocations: 2.339 MB / 0.8839 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.8261, allocations: 43.61 kB / 0.8839 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.8261, allocations: 19.98 kB / 0.8839 GB, free: 8.234 MB / 0.7012 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.0002616/0.8264, allocations: 185.8 kB / 0.8841 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.8265, allocations: 31.62 kB / 0.8841 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.8265, allocations: 31.17 kB / 0.8842 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8265, allocations: 0 / 0.8842 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.8265, allocations: 3.938 kB / 0.8842 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8265, allocations: 3.938 kB / 0.8842 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.8299, allocations: 1.028 MB / 0.8852 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8299, allocations: 0 / 0.8852 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.83, allocations: 4 kB / 0.8852 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.8304, allocations: 124.7 kB / 0.8853 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.8304, allocations: 11.94 kB / 0.8853 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009659/0.8314, allocations: 0.7498 MB / 0.8861 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8314, allocations: 0 / 0.8861 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.8347, allocations: 0.8684 MB / 0.8869 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.8349, allocations: 140.6 kB / 0.887 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.8349, allocations: 11.94 kB / 0.8871 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.8352, allocations: 12.05 kB / 0.8871 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.8353, allocations: 11.98 kB / 0.8871 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.8353, allocations: 8 kB / 0.8871 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002835/0.8356, allocations: 247 kB / 0.8873 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8356, allocations: 0 / 0.8873 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005373/0.8362, allocations: 108 kB / 0.8874 GB, free: 4.527 MB / 0.7012 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.0003789/0.8365, allocations: 187.2 kB / 0.8876 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.8381, allocations: 0.5685 MB / 0.8882 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8381, allocations: 0 / 0.8882 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.8389, allocations: 256.2 kB / 0.8884 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.8395, allocations: 56.98 kB / 0.8885 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.8408, allocations: 0.685 MB / 0.8891 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.8411, allocations: 0.7599 MB / 0.8899 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.8413, allocations: 22.3 kB / 0.8899 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.8414, allocations: 23.42 kB / 0.8899 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of SimCode: time 2e-07/0.8414, allocations: 3.938 kB / 0.8899 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of Templates: time 0.01212/0.8535, allocations: 7.181 MB / 0.8969 GB, free: 10.79 MB / 0.7169 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)