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.001557/0.001557, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001376/0.001376, allocations: 173 kB / 23.49 MB, free: 1.062 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.9936/0.9936, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7502/0.7502, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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 2.775e-06/2.775e-06, allocations: 0 / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.741e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05436/0.0544, allocations: 73.55 MB / 0.5924 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.07431, allocations: 19.57 MB / 0.6115 GB, free: 5.082 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.07698, allocations: 95.19 kB / 0.6116 GB, free: 4.988 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.07916, allocations: 0.8382 MB / 0.6124 GB, free: 4.145 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007146/0.0863, allocations: 3.082 MB / 0.6154 GB, free: 1.047 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.0904, allocations: 1.816 MB / 0.6172 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005134/0.09554, allocations: 4.072 MB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.09722, allocations: 1.189 MB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.1017, allocations: 2.576 MB / 0.6248 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.1033, allocations: 1.028 MB / 0.6258 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.1036, allocations: 176 kB / 0.626 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.1058, allocations: 1.165 MB / 0.6272 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.1061, allocations: 410.3 kB / 0.6275 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.1068, allocations: 0.604 MB / 0.6281 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.1102, allocations: 2.017 MB / 0.6301 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1102, allocations: 0 / 0.6301 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1102, allocations: 0 / 0.6301 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.197e-05/0.1102, allocations: 0 / 0.6301 GB, free: 1.941 MB / 0.5886 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.002988/0.1132, allocations: 2.104 MB / 0.6322 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1133, allocations: 12.03 kB / 0.6322 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1146, allocations: 479.5 kB / 0.6326 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.1169, allocations: 1.597 MB / 0.6342 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.1169, allocations: 82.03 kB / 0.6343 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1171, allocations: 104 kB / 0.6344 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.1188, allocations: 1.1 MB / 0.6354 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1188, allocations: 3.938 kB / 0.6354 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.1189, allocations: 44 kB / 0.6355 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.1189, allocations: 28 kB / 0.6355 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.12, allocations: 475.3 kB / 0.636 GB, free: 11.67 MB / 0.6042 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.005664/0.1256, allocations: 6.28 MB / 0.6421 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.1271, allocations: 454.6 kB / 0.6425 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.1274, allocations: 129 kB / 0.6427 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/0.1278, allocations: 164.4 kB / 0.6428 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1278, allocations: 41.89 kB / 0.6429 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.986e-06/0.1278, allocations: 0 / 0.6429 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002099/0.1299, allocations: 0.7377 MB / 0.6436 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.13, allocations: 59.91 kB / 0.6436 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1312, allocations: 1.046 MB / 0.6446 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.1313, allocations: 37.7 kB / 0.6447 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.1318, allocations: 0.7569 MB / 0.6454 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1319, allocations: 178.5 kB / 0.6456 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.1322, allocations: 176.1 kB / 0.6458 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1323, allocations: 0.5121 MB / 0.6463 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.1326, allocations: 101.9 kB / 0.6464 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.1333, allocations: 0.8428 MB / 0.6472 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.134, allocations: 0.6115 MB / 0.6478 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.134, allocations: 4 kB / 0.6478 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003421/0.1374, allocations: 0.6957 MB / 0.6485 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1375, allocations: 10.34 kB / 0.6485 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1375, allocations: 8 kB / 0.6485 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.138, allocations: 175.6 kB / 0.6486 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.1385, allocations: 175.7 kB / 0.6488 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/0.139, allocations: 0.878 MB / 0.6497 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.1397, allocations: 139.3 kB / 0.6498 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.1398, allocations: 43.98 kB / 0.6498 GB, free: 12.73 MB / 0.6198 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.000384/0.1402, allocations: 200.4 kB / 0.65 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.1404, allocations: 135.2 kB / 0.6502 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.1417, allocations: 0.7697 MB / 0.6509 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.1417, allocations: 11.94 kB / 0.6509 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1417, allocations: 3.984 kB / 0.6509 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1417, allocations: 0 / 0.6509 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.1446, allocations: 1.733 MB / 0.6526 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1446, allocations: 0 / 0.6526 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.1448, allocations: 79.84 kB / 0.6527 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.1452, allocations: 159.7 kB / 0.6529 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.1453, allocations: 16 kB / 0.6529 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005918/0.1459, allocations: 0.9014 MB / 0.6538 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1459, allocations: 7.938 kB / 0.6538 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.1474, allocations: 0.8358 MB / 0.6546 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.1478, allocations: 246.8 kB / 0.6548 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.1479, allocations: 16 kB / 0.6548 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.1483, allocations: 39.97 kB / 0.6549 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.1484, allocations: 44.36 kB / 0.6549 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.1485, allocations: 35.92 kB / 0.6549 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007957/0.1493, allocations: 0.6402 MB / 0.6556 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.1493, allocations: 0 / 0.6556 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001242/0.1505, allocations: 478.7 kB / 0.656 GB, free: 6.254 MB / 0.6198 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.0007174/0.1512, allocations: 476 kB / 0.6565 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009381/0.1522, allocations: 443.4 kB / 0.6569 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1522, allocations: 0 / 0.6569 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.1527, allocations: 249.8 kB / 0.6571 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.1543, allocations: 490.2 kB / 0.6576 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.1581, allocations: 2.051 MB / 0.6596 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1583, allocations: 237.3 kB / 0.6598 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007777/0.1591, allocations: 219.2 kB / 0.66 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.1593, allocations: 100.4 kB / 0.6601 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/0.1593, allocations: 0 / 0.6601 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of Templates: time 0.2253/0.3846, allocations: 25.09 MB / 0.6846 GB, free: 190.3 MB / 0.6355 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.623170231934637]