Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009945/0.0009945, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001193/0.001193, allocations: 177 kB / 23.36 MB, free: 1.129 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.9542/0.9542, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.873/0.873, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.406e-05, allocations: 6.25 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01435/0.01437, allocations: 18.42 MB / 498.8 MB, free: 4.066 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.02511, allocations: 7.187 MB / 0.4941 GB, free: 12.93 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.02641, allocations: 95.19 kB / 0.4942 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.0272, allocations: 445.1 kB / 0.4947 GB, free: 12.4 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.03006, allocations: 1.733 MB / 0.4963 GB, free: 10.67 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.03237, allocations: 1.583 MB / 0.4979 GB, free: 9.102 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.03602, allocations: 3.98 MB / 0.5018 GB, free: 5.109 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.03765, allocations: 1.203 MB / 0.503 GB, free: 3.879 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.0397, allocations: 1.914 MB / 0.5048 GB, free: 1.969 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.04069, allocations: 0.9317 MB / 0.5057 GB, free: 1.035 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.04086, allocations: 172.9 kB / 0.5059 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009409/0.0418, allocations: 0.6629 MB / 0.5065 GB, free: 208 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.04206, allocations: 408 kB / 0.5069 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.04252, allocations: 0.5923 MB / 0.5075 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.0441, allocations: 1.643 MB / 0.5091 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.0441, allocations: 0 / 0.5091 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0441, allocations: 0 / 0.5091 GB, free: 13.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.04412, allocations: 2.5 kB / 0.5091 GB, free: 13.56 MB / 490.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.001901/0.04602, allocations: 1.884 MB / 0.511 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.04606, allocations: 12.03 kB / 0.511 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.04689, allocations: 399 kB / 0.5114 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.04802, allocations: 0.971 MB / 0.5123 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.04807, allocations: 83.25 kB / 0.5124 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.04815, allocations: 107.9 kB / 0.5125 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.04908, allocations: 0.9981 MB / 0.5135 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.04909, allocations: 4 kB / 0.5135 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.04915, allocations: 44 kB / 0.5135 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.04917, allocations: 26 kB / 0.5135 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.04964, allocations: 356.4 kB / 0.5139 GB, free: 8.496 MB / 490.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.004467/0.05411, allocations: 4.248 MB / 0.518 GB, free: 4.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.05485, allocations: 419.9 kB / 0.5184 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.05498, allocations: 89.16 kB / 0.5185 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.0551, allocations: 64.45 kB / 0.5186 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.05513, allocations: 44.41 kB / 0.5186 GB, free: 3.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.523e-06/0.05513, allocations: 0 / 0.5186 GB, free: 3.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.001182/0.05631, allocations: 0.5593 MB / 0.5192 GB, free: 2.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.05634, allocations: 55.91 kB / 0.5192 GB, free: 2.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/0.0571, allocations: 0.9589 MB / 0.5201 GB, free: 1.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.05713, allocations: 33.7 kB / 0.5202 GB, free: 1.887 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.0574, allocations: 0.5529 MB / 0.5207 GB, free: 1.324 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.05749, allocations: 178.5 kB / 0.5209 GB, free: 1.148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.05765, allocations: 162.5 kB / 0.521 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.05774, allocations: 341.9 kB / 0.5214 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.05792, allocations: 92.78 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.05832, allocations: 0.7191 MB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.05872, allocations: 490.2 kB / 0.5226 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.05873, allocations: 4.531 kB / 0.5226 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005964/0.05932, allocations: 0.5148 MB / 0.5231 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.05934, allocations: 8 kB / 0.5231 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.05935, allocations: 8 kB / 0.5231 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.05974, allocations: 164.2 kB / 0.5233 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.0601, allocations: 186.1 kB / 0.5235 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/0.06041, allocations: 0.5806 MB / 0.524 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.06084, allocations: 142.3 kB / 0.5242 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.06089, allocations: 40.48 kB / 0.5242 GB, free: 13.4 MB / 0.4948 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.0001886/0.06108, allocations: 170.2 kB / 0.5244 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.06118, allocations: 83.91 kB / 0.5245 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.06192, allocations: 0.6368 MB / 0.5251 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.06193, allocations: 8 kB / 0.5251 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.06193, allocations: 4.562 kB / 0.5251 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.06194, allocations: 3.984 kB / 0.5251 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.06348, allocations: 1.292 MB / 0.5264 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.06349, allocations: 0 / 0.5264 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.06365, allocations: 80.86 kB / 0.5264 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.064, allocations: 175.3 kB / 0.5266 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.06402, allocations: 12 kB / 0.5266 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003853/0.06441, allocations: 0.6093 MB / 0.5272 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.06441, allocations: 8 kB / 0.5272 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.06523, allocations: 0.649 MB / 0.5279 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.06545, allocations: 163 kB / 0.528 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.06553, allocations: 19.94 kB / 0.528 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.06581, allocations: 42.16 kB / 0.5281 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.06587, allocations: 48.3 kB / 0.5281 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.0659, allocations: 19.98 kB / 0.5281 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003948/0.06629, allocations: 480.2 kB / 0.5286 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0663, allocations: 0 / 0.5286 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006153/0.06691, allocations: 391 kB / 0.529 GB, free: 8.465 MB / 0.4948 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.0003011/0.06721, allocations: 210.9 kB / 0.5292 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.06779, allocations: 369.4 kB / 0.5295 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/0.06782, allocations: 16.5 kB / 0.5295 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.06822, allocations: 213.1 kB / 0.5297 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.06952, allocations: 477.1 kB / 0.5302 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.07245, allocations: 2.022 MB / 0.5322 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.07264, allocations: 237.3 kB / 0.5324 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000582/0.07322, allocations: 201.5 kB / 0.5326 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/0.07408, allocations: 424 kB / 0.533 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of SimCode: time 9.11e-07/0.07408, allocations: 3.812 kB / 0.533 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.03392/0.108, allocations: 23.47 MB / 0.5559 GB, free: 13.44 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.144356867764145]