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.001427/0.001427, allocations: 88.72 kB / 19.44 MB, free: 360 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.001759/0.001759, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.241/1.241, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.452e-06/1.452e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.986e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09162/0.09165, allocations: 64.59 MB / 0.5827 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03214/0.1238, allocations: 17.54 MB / 0.5998 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.1267, allocations: 95.19 kB / 0.5999 GB, free: 272 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.1298, allocations: 0.8382 MB / 0.6007 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.1401, allocations: 3.097 MB / 0.6037 GB, free: 12.31 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.1457, allocations: 1.799 MB / 0.6055 GB, free: 10.51 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007604/0.1533, allocations: 4.08 MB / 0.6095 GB, free: 6.414 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.1563, allocations: 1.189 MB / 0.6107 GB, free: 5.188 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007987/0.1643, allocations: 2.562 MB / 0.6132 GB, free: 2.633 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.1674, allocations: 1.009 MB / 0.6141 GB, free: 1.621 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.168, allocations: 180 kB / 0.6143 GB, free: 1.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.1719, allocations: 1.169 MB / 0.6155 GB, free: 280 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008123/0.1727, allocations: 406.4 kB / 0.6158 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.1745, allocations: 0.604 MB / 0.6164 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.181, allocations: 3.147 MB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.181, allocations: 0 / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.074e-06/0.181, allocations: 0 / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001087/0.1811, allocations: 0 / 0.6195 GB, free: 12.11 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.005192/0.1863, allocations: 1.996 MB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1863, allocations: 8.031 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.1891, allocations: 0.5345 MB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.1929, allocations: 1.655 MB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.193, allocations: 82.03 kB / 0.6237 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.1933, allocations: 108 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/0.1967, allocations: 1.417 MB / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.1967, allocations: 7.938 kB / 0.6252 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.1968, allocations: 44 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.1968, allocations: 24 kB / 0.6252 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.2, allocations: 1.097 MB / 0.6263 GB, free: 4.918 MB / 0.5886 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.01016/0.2101, allocations: 5.453 MB / 0.6316 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.2136, allocations: 0.7713 MB / 0.6324 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.2143, allocations: 266.1 kB / 0.6326 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.2149, allocations: 160.4 kB / 0.6328 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.215, allocations: 43.05 kB / 0.6328 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 5.01e-06/0.215, allocations: 3.984 kB / 0.6328 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.005184/0.2201, allocations: 1.258 MB / 0.6341 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2202, allocations: 59.91 kB / 0.6341 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.2229, allocations: 1.224 MB / 0.6353 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.223, allocations: 37.7 kB / 0.6354 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007571/0.2237, allocations: 0.7071 MB / 0.636 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.224, allocations: 174.5 kB / 0.6362 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.2243, allocations: 170.5 kB / 0.6364 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2245, allocations: 330 kB / 0.6367 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2256, allocations: 373.8 kB / 0.637 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2272, allocations: 0.9886 MB / 0.638 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.2293, allocations: 0.8821 MB / 0.6389 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.2293, allocations: 4 kB / 0.6389 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003656/0.233, allocations: 1.201 MB / 0.64 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.233, allocations: 12 kB / 0.6401 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.233, allocations: 8.031 kB / 0.6401 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.2341, allocations: 220.6 kB / 0.6403 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.2349, allocations: 195.7 kB / 0.6405 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.236, allocations: 0.7162 MB / 0.6412 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.2375, allocations: 171.4 kB / 0.6413 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2376, allocations: 47.92 kB / 0.6414 GB, free: 4.918 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0009238/0.2385, allocations: 357.6 kB / 0.6417 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.2389, allocations: 143.2 kB / 0.6418 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.2419, allocations: 1.138 MB / 0.643 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.2419, allocations: 4 kB / 0.643 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.2419, allocations: 7.938 kB / 0.643 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2419, allocations: 7.922 kB / 0.643 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.2478, allocations: 2.181 MB / 0.6451 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.2478, allocations: 0 / 0.6451 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.2482, allocations: 92.06 kB / 0.6452 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.249, allocations: 208.6 kB / 0.6454 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.2491, allocations: 23.92 kB / 0.6454 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.2505, allocations: 0.7709 MB / 0.6462 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.2505, allocations: 8.016 kB / 0.6462 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.2543, allocations: 1.205 MB / 0.6474 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/0.2549, allocations: 250.8 kB / 0.6476 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.2552, allocations: 16 kB / 0.6476 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.256, allocations: 63.92 kB / 0.6477 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.2562, allocations: 44.36 kB / 0.6477 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.2562, allocations: 31.98 kB / 0.6477 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001849/0.2581, allocations: 0.8511 MB / 0.6486 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2581, allocations: 0 / 0.6486 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001538/0.2596, allocations: 478.7 kB / 0.649 GB, free: 12.95 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.001008/0.2606, allocations: 473 kB / 0.6495 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.263, allocations: 0.8289 MB / 0.6503 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.263, allocations: 1.125 kB / 0.6503 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.2644, allocations: 428.1 kB / 0.6507 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.2665, allocations: 492.7 kB / 0.6512 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.2711, allocations: 2.28 MB / 0.6534 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.2719, allocations: 0.5825 MB / 0.654 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008459/0.2727, allocations: 228.6 kB / 0.6542 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.273, allocations: 108.5 kB / 0.6543 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.273, allocations: 0 / 0.6543 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.2633/0.5364, allocations: 25.07 MB / 0.6788 GB, free: 195.1 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.128071037936024]