Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003317/0.003317, allocations: 233.9 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.165/1.165, allocations: 138.5 MB / 454.7 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.55e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2852/0.2852, allocations: 73.23 MB / 0.6258 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.3073, allocations: 19.55 MB / 0.6449 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.3097, allocations: 99.25 kB / 0.645 GB, free: 57.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.3117, allocations: 0.8342 MB / 0.6458 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007156/0.3188, allocations: 3.109 MB / 0.6489 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.3225, allocations: 1.767 MB / 0.6506 GB, free: 54.35 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00473/0.3273, allocations: 4.081 MB / 0.6546 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.3288, allocations: 1.18 MB / 0.6557 GB, free: 51.44 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.3329, allocations: 2.433 MB / 0.6581 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3345, allocations: 1.064 MB / 0.6591 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.3347, allocations: 178.7 kB / 0.6593 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.3371, allocations: 1.172 MB / 0.6605 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.3373, allocations: 410.3 kB / 0.6608 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.3379, allocations: 0.6035 MB / 0.6614 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.3412, allocations: 3.144 MB / 0.6645 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3412, allocations: 0 / 0.6645 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3412, allocations: 0.6562 kB / 0.6645 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.3412, allocations: 0 / 0.6645 GB, free: 46.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003435/0.3447, allocations: 2.307 MB / 0.6668 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3447, allocations: 10.19 kB / 0.6668 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.3466, allocations: 470.5 kB / 0.6672 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.3488, allocations: 1.594 MB / 0.6688 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.3488, allocations: 81.16 kB / 0.6689 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.349, allocations: 102.9 kB / 0.6689 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.3509, allocations: 1.505 MB / 0.6704 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3509, allocations: 17.34 kB / 0.6704 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/0.351, allocations: 42.34 kB / 0.6705 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3511, allocations: 25.91 kB / 0.6705 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.353, allocations: 0.9757 MB / 0.6715 GB, free: 41.86 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006622/0.3596, allocations: 7.965 MB / 0.6792 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.362, allocations: 0.6933 MB / 0.6799 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.3624, allocations: 233.1 kB / 0.6801 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.3628, allocations: 158.9 kB / 0.6803 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3629, allocations: 46.62 kB / 0.6803 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.214e-06/0.3629, allocations: 0 / 0.6803 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.003508/0.3664, allocations: 1.074 MB / 0.6814 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.3664, allocations: 59.91 kB / 0.6814 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.3681, allocations: 1.615 MB / 0.683 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3681, allocations: 37.7 kB / 0.683 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.3686, allocations: 0.8702 MB / 0.6839 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3687, allocations: 194.5 kB / 0.6841 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.3689, allocations: 220.1 kB / 0.6843 GB, free: 29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.369, allocations: 0.5356 MB / 0.6848 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.3697, allocations: 301.8 kB / 0.6851 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008762/0.3706, allocations: 1.082 MB / 0.6862 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3718, allocations: 0.9322 MB / 0.6871 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3718, allocations: 4 kB / 0.6871 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002084/0.3739, allocations: 1.083 MB / 0.6881 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3739, allocations: 9.562 kB / 0.6881 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3739, allocations: 12.06 kB / 0.6882 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.3746, allocations: 215.9 kB / 0.6884 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.3753, allocations: 171.8 kB / 0.6885 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005932/0.3759, allocations: 0.9868 MB / 0.6895 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/0.3769, allocations: 142.4 kB / 0.6896 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.377, allocations: 40.73 kB / 0.6897 GB, free: 23.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004102/0.3774, allocations: 392.3 kB / 0.69 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.3776, allocations: 139.2 kB / 0.6902 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.3793, allocations: 1.001 MB / 0.6911 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3793, allocations: 11.92 kB / 0.6912 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3793, allocations: 0 / 0.6912 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3793, allocations: 3.984 kB / 0.6912 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.3833, allocations: 2.431 MB / 0.6935 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3833, allocations: 4 kB / 0.6935 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.3836, allocations: 83.83 kB / 0.6936 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005993/0.3842, allocations: 201.4 kB / 0.6938 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.3843, allocations: 19.98 kB / 0.6938 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008661/0.3851, allocations: 1.01 MB / 0.6948 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3851, allocations: 0 / 0.6948 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.3874, allocations: 1.078 MB / 0.6959 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.3878, allocations: 238.9 kB / 0.6961 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.388, allocations: 23.92 kB / 0.6961 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.3886, allocations: 39.97 kB / 0.6962 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.3887, allocations: 48.36 kB / 0.6962 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.3887, allocations: 27.92 kB / 0.6962 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001112/0.3898, allocations: 0.9837 MB / 0.6972 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3898, allocations: 0 / 0.6972 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001173/0.391, allocations: 482.7 kB / 0.6977 GB, free: 14.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006219/0.3916, allocations: 473.7 kB / 0.6981 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.3931, allocations: 0.763 MB / 0.6988 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3931, allocations: 0 / 0.6988 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.394, allocations: 369.5 kB / 0.6992 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.3958, allocations: 491.9 kB / 0.6997 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3987, allocations: 2.257 MB / 0.7019 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3991, allocations: 0.5783 MB / 0.7024 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000591/0.3997, allocations: 216.6 kB / 0.7026 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.3999, allocations: 100.5 kB / 0.7027 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/0.3999, allocations: 0 / 0.7027 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of Templates: time 0.04002/0.4399, allocations: 25.11 MB / 0.7273 GB, free: 0.8789 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.011787646100856]