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.0008834/0.0008834, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009708/0.0009708, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9273/0.9273, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.002717/0.002717, allocations: 235.2 kB / 260.5 MB, free: 12.68 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 0.8015/0.8015, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.954e-06/1.954e-06, allocations: 0.8438 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.122e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01548/0.0155, allocations: 18.32 MB / 480.7 MB, free: 300 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02651, allocations: 7.169 MB / 487.8 MB, free: 9.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.028, allocations: 96.5 kB / 487.9 MB, free: 9.074 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.02887, allocations: 436.6 kB / 488.4 MB, free: 8.645 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.03206, allocations: 1.749 MB / 490.1 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.03437, allocations: 1.552 MB / 491.7 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.03852, allocations: 3.98 MB / 495.6 MB, free: 1.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.0411, allocations: 1.203 MB / 496.8 MB, free: 152 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.04423, allocations: 1.917 MB / 498.8 MB, free: 14.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.04591, allocations: 0.9577 MB / 499.7 MB, free: 13.28 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.04626, allocations: 168 kB / 499.9 MB, free: 13.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.04761, allocations: 0.6669 MB / 0.4888 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.04795, allocations: 398.4 kB / 0.4892 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007623/0.04871, allocations: 0.5937 MB / 0.4898 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.05097, allocations: 1.643 MB / 0.4914 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.05097, allocations: 0 / 0.4914 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05097, allocations: 4 kB / 0.4914 GB, free: 9.812 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.05101, allocations: 0.6562 kB / 0.4914 GB, free: 9.812 MB / 458.7 MB 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.002788/0.0538, allocations: 1.888 MB / 0.4932 GB, free: 7.891 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.05384, allocations: 17.31 kB / 0.4932 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.05501, allocations: 395 kB / 0.4936 GB, free: 7.496 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.05663, allocations: 0.9635 MB / 0.4946 GB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.0567, allocations: 78.66 kB / 0.4946 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.05682, allocations: 112.8 kB / 0.4947 GB, free: 6.301 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.05822, allocations: 0.9851 MB / 0.4957 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.05825, allocations: 11.73 kB / 0.4957 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.05831, allocations: 44 kB / 0.4958 GB, free: 5.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.05834, allocations: 24.66 kB / 0.4958 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.05898, allocations: 352.8 kB / 0.4961 GB, free: 4.773 MB / 458.7 MB 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.004861/0.06384, allocations: 4.249 MB / 0.5003 GB, free: 416 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.06483, allocations: 424.9 kB / 0.5007 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.06497, allocations: 93.08 kB / 0.5008 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.06513, allocations: 65.2 kB / 0.5008 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.06516, allocations: 39.81 kB / 0.5009 GB, free: 15.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.06516, allocations: 0 / 0.5009 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001566/0.06672, allocations: 0.5541 MB / 0.5014 GB, free: 15.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.06675, allocations: 56.75 kB / 0.5015 GB, free: 15.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.06779, allocations: 0.9533 MB / 0.5024 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.06783, allocations: 39.84 kB / 0.5024 GB, free: 14.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.06815, allocations: 0.549 MB / 0.503 GB, free: 13.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.06826, allocations: 174.5 kB / 0.5031 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.06848, allocations: 162.5 kB / 0.5033 GB, free: 13.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.06858, allocations: 337.9 kB / 0.5036 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.06881, allocations: 97.28 kB / 0.5037 GB, free: 12.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.06932, allocations: 0.7255 MB / 0.5044 GB, free: 11.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.06986, allocations: 490.2 kB / 0.5049 GB, free: 11.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.06987, allocations: 0 / 0.5049 GB, free: 11.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008094/0.07068, allocations: 0.51 MB / 0.5054 GB, free: 10.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.0707, allocations: 12.09 kB / 0.5054 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.07071, allocations: 8.625 kB / 0.5054 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.07123, allocations: 170.5 kB / 0.5055 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.07172, allocations: 185 kB / 0.5057 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/0.07233, allocations: 0.5869 MB / 0.5063 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.07296, allocations: 137 kB / 0.5064 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.07303, allocations: 35.98 kB / 0.5065 GB, free: 9.695 MB / 474.7 MB 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.0002387/0.07327, allocations: 168.4 kB / 0.5066 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.07339, allocations: 79.91 kB / 0.5067 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.07436, allocations: 0.6388 MB / 0.5073 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.07437, allocations: 15.56 kB / 0.5073 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.07438, allocations: 3.938 kB / 0.5073 GB, free: 8.801 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.07439, allocations: 3.984 kB / 0.5073 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.07645, allocations: 1.293 MB / 0.5086 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.07646, allocations: 192 / 0.5086 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.07669, allocations: 83.89 kB / 0.5087 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.07714, allocations: 162.5 kB / 0.5088 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.07717, allocations: 8 kB / 0.5089 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004758/0.07765, allocations: 0.6147 MB / 0.5095 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.07765, allocations: 7.938 kB / 0.5095 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.07872, allocations: 0.6537 MB / 0.5101 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.079, allocations: 163 kB / 0.5103 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.0791, allocations: 15.98 kB / 0.5103 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.07949, allocations: 43.97 kB / 0.5103 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.07956, allocations: 44.36 kB / 0.5104 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.0796, allocations: 15.98 kB / 0.5104 GB, free: 5.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000521/0.08012, allocations: 478.4 kB / 0.5108 GB, free: 5.113 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08012, allocations: 0 / 0.5108 GB, free: 5.113 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008797/0.081, allocations: 399 kB / 0.5112 GB, free: 4.723 MB / 474.7 MB 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.0003477/0.08135, allocations: 219.8 kB / 0.5114 GB, free: 4.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006501/0.082, allocations: 368.8 kB / 0.5118 GB, free: 4.141 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.38e-05/0.08202, allocations: 16.5 kB / 0.5118 GB, free: 4.125 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.08244, allocations: 206.8 kB / 0.512 GB, free: 3.926 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.0839, allocations: 480.5 kB / 0.5124 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.0872, allocations: 2.015 MB / 0.5144 GB, free: 1.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.0874, allocations: 237.3 kB / 0.5146 GB, free: 1.168 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005951/0.088, allocations: 201.6 kB / 0.5148 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.08885, allocations: 427 kB / 0.5152 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.08885, allocations: 0 / 0.5152 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of Templates: time 0.03033/0.1192, allocations: 23.51 MB / 0.5382 GB, free: 9.773 MB / 0.4948 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.064737281296402]