Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009807/0.0009807, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009819/0.0009819, allocations: 173 kB / 23.49 MB, free: 1.055 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.9943/0.9943, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7778/0.7778, allocations: 154.6 MB / 414.8 MB, free: 0.7109 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.594 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.45e-05, allocations: 9.047 kB / 0.5203 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04935/0.04937, allocations: 73.56 MB / 0.5922 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.07034, allocations: 19.57 MB / 0.6113 GB, free: 5.375 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.0725, allocations: 95.19 kB / 0.6114 GB, free: 5.281 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.07437, allocations: 0.8343 MB / 0.6122 GB, free: 4.441 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005901/0.08027, allocations: 3.089 MB / 0.6152 GB, free: 1.336 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009195/0.08947, allocations: 1.81 MB / 0.617 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.09947, allocations: 4.088 MB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.1069, allocations: 1.177 MB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009547/0.1164, allocations: 2.574 MB / 0.6246 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.1178, allocations: 1.032 MB / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.118, allocations: 180 kB / 0.6258 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007951/0.126, allocations: 1.158 MB / 0.6269 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.1263, allocations: 418.2 kB / 0.6273 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.127, allocations: 0.604 MB / 0.6279 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008389/0.1354, allocations: 2.013 MB / 0.6299 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1354, allocations: 0 / 0.6299 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1354, allocations: 4 kB / 0.6299 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.1354, allocations: 0 / 0.6299 GB, free: 2.227 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.008587/0.144, allocations: 2.104 MB / 0.6319 GB, free: 72 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.144, allocations: 8.031 kB / 0.6319 GB, free: 64 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.1454, allocations: 479.5 kB / 0.6324 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.1484, allocations: 1.597 MB / 0.634 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1485, allocations: 82.03 kB / 0.634 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.1486, allocations: 108 kB / 0.6341 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1502, allocations: 1.096 MB / 0.6352 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.1502, allocations: 7.938 kB / 0.6352 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.1503, allocations: 40 kB / 0.6353 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.1503, allocations: 28 kB / 0.6353 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1514, allocations: 467.4 kB / 0.6357 GB, free: 11.97 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.005595/0.157, allocations: 6.28 MB / 0.6419 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.1585, allocations: 473.2 kB / 0.6423 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.1587, allocations: 105.1 kB / 0.6424 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/0.1591, allocations: 168.4 kB / 0.6426 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1591, allocations: 41.89 kB / 0.6426 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.1591, allocations: 0 / 0.6426 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002252/0.1614, allocations: 0.7493 MB / 0.6433 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1614, allocations: 59.91 kB / 0.6434 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.1628, allocations: 1.038 MB / 0.6444 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1628, allocations: 41.64 kB / 0.6445 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.1633, allocations: 0.7609 MB / 0.6452 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1634, allocations: 174.5 kB / 0.6454 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.1637, allocations: 176.2 kB / 0.6455 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1638, allocations: 0.5043 MB / 0.646 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1642, allocations: 105.9 kB / 0.6461 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.1648, allocations: 0.8467 MB / 0.647 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.1655, allocations: 0.6076 MB / 0.6476 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1655, allocations: 0 / 0.6476 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001376/0.1669, allocations: 0.6992 MB / 0.6482 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1669, allocations: 8 kB / 0.6482 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1669, allocations: 12 kB / 0.6483 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.1675, allocations: 168 kB / 0.6484 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.1681, allocations: 175.8 kB / 0.6486 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006654/0.1687, allocations: 0.8702 MB / 0.6494 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.1694, allocations: 139.3 kB / 0.6496 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.1695, allocations: 43.98 kB / 0.6496 GB, free: 13.04 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.0002703/0.1698, allocations: 204.3 kB / 0.6498 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.17, allocations: 139.2 kB / 0.6499 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.1713, allocations: 0.766 MB / 0.6507 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.1713, allocations: 15.92 kB / 0.6507 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1713, allocations: 0 / 0.6507 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1713, allocations: 3.984 kB / 0.6507 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.1741, allocations: 1.729 MB / 0.6524 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1741, allocations: 0 / 0.6524 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1744, allocations: 87.77 kB / 0.6525 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.1748, allocations: 167.7 kB / 0.6526 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.1748, allocations: 12 kB / 0.6526 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006326/0.1755, allocations: 0.9006 MB / 0.6535 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1755, allocations: 8.031 kB / 0.6535 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.177, allocations: 0.8358 MB / 0.6543 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.1774, allocations: 250.8 kB / 0.6546 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.1775, allocations: 15.94 kB / 0.6546 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.178, allocations: 43.97 kB / 0.6546 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.1781, allocations: 44.36 kB / 0.6547 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.1781, allocations: 23.98 kB / 0.6547 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008868/0.179, allocations: 0.6441 MB / 0.6553 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.179, allocations: 0 / 0.6553 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001239/0.1803, allocations: 478.7 kB / 0.6558 GB, free: 6.555 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.0007755/0.181, allocations: 475.8 kB / 0.6562 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.182, allocations: 439.8 kB / 0.6567 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1821, allocations: 0 / 0.6567 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.1827, allocations: 257.2 kB / 0.6569 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.1844, allocations: 498.1 kB / 0.6574 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.1878, allocations: 2.035 MB / 0.6594 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1881, allocations: 245.2 kB / 0.6596 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000642/0.1887, allocations: 214.4 kB / 0.6598 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.1889, allocations: 100.5 kB / 0.6599 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.189, allocations: 0 / 0.6599 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.2456/0.4346, allocations: 25.08 MB / 0.6844 GB, free: 190.5 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.843346618115902]