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.001049/0.001049, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002554, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001079/0.001079, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002644, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9567/0.9567, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09227/1.049, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7601/0.7601, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3058/1.066, allocations: 49.05 MB / 447.6 MB, free: 6.699 MB / 426.7 MB " [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.803e-06/1.803e-06, allocations: 0 / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.925e-05, allocations: 4.953 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02562/0.02563, allocations: 18.51 MB / 467.4 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.0403, allocations: 7.236 MB / 474.6 MB, free: 11.74 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.0438, allocations: 99.12 kB / 474.7 MB, free: 11.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.04506, allocations: 452.4 kB / 475.2 MB, free: 11.2 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.0495, allocations: 1.722 MB / 476.9 MB, free: 9.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.05269, allocations: 1.547 MB / 478.4 MB, free: 7.941 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.05725, allocations: 3.965 MB / 482.4 MB, free: 3.969 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.05912, allocations: 1.208 MB / 483.6 MB, free: 2.727 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.06214, allocations: 2.086 MB / 485.7 MB, free: 0.625 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.06367, allocations: 0.9374 MB / 486.6 MB, free: 15.68 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.06398, allocations: 172 kB / 486.8 MB, free: 15.52 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.06516, allocations: 0.6681 MB / 487.5 MB, free: 14.85 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.06541, allocations: 326.8 kB / 487.8 MB, free: 14.53 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.06597, allocations: 0.5107 MB / 488.3 MB, free: 14.02 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.06799, allocations: 1.516 MB / 489.8 MB, free: 12.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.06801, allocations: 0 / 489.8 MB, free: 12.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06801, allocations: 0 / 489.8 MB, free: 12.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.06806, allocations: 1.312 kB / 489.8 MB, free: 12.5 MB / 474.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.003366/0.07142, allocations: 2.327 MB / 492.1 MB, free: 10.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.07146, allocations: 8.031 kB / 492.1 MB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000926/0.07239, allocations: 399.6 kB / 492.5 MB, free: 9.723 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.07371, allocations: 0.9746 MB / 493.5 MB, free: 8.703 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.07376, allocations: 81.97 kB / 493.6 MB, free: 8.621 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.07385, allocations: 104.6 kB / 493.7 MB, free: 8.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.07487, allocations: 0.9839 MB / 494.7 MB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.07489, allocations: 12.62 kB / 494.7 MB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.07495, allocations: 47.98 kB / 494.7 MB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.07497, allocations: 28 kB / 494.8 MB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.07545, allocations: 353.9 kB / 495.1 MB, free: 6.98 MB / 474.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.00386/0.07931, allocations: 4.262 MB / 499.4 MB, free: 2.605 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.08005, allocations: 415.1 kB / 499.8 MB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.08015, allocations: 94.11 kB / 499.9 MB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.08031, allocations: 61.42 kB / 499.9 MB, free: 2.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.08034, allocations: 39.06 kB / 500 MB, free: 1.996 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/0.08034, allocations: 0.9375 kB / 500 MB, free: 1.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001197/0.08154, allocations: 0.5747 MB / 0.4888 GB, free: 1.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.08156, allocations: 59.91 kB / 0.4889 GB, free: 1.359 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.08237, allocations: 0.9478 MB / 0.4898 GB, free: 416 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.08241, allocations: 37.7 kB / 0.4898 GB, free: 372 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.08268, allocations: 0.5492 MB / 0.4904 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.08278, allocations: 174.5 kB / 0.4905 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.08295, allocations: 166.5 kB / 0.4907 GB, free: 15.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.08303, allocations: 341.9 kB / 0.491 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.08321, allocations: 99.53 kB / 0.4911 GB, free: 15.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.08362, allocations: 0.7193 MB / 0.4918 GB, free: 14.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.08404, allocations: 484 kB / 0.4923 GB, free: 13.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.08405, allocations: 0 / 0.4923 GB, free: 13.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006599/0.08471, allocations: 0.5122 MB / 0.4928 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.08473, allocations: 8 kB / 0.4928 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.08474, allocations: 8 kB / 0.4928 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.08515, allocations: 171.6 kB / 0.493 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.08553, allocations: 199.7 kB / 0.4931 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/0.08585, allocations: 0.5899 MB / 0.4937 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.08637, allocations: 134.2 kB / 0.4938 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.08642, allocations: 39.98 kB / 0.4939 GB, free: 11.87 MB / 490.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.0002547/0.08668, allocations: 162 kB / 0.494 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.08678, allocations: 91.84 kB / 0.4941 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007836/0.08756, allocations: 0.6426 MB / 0.4948 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.08757, allocations: 10.8 kB / 0.4948 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.08758, allocations: 3.938 kB / 0.4948 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.08758, allocations: 4 kB / 0.4948 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.08927, allocations: 1.291 MB / 0.496 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.08927, allocations: 4 kB / 0.496 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.08945, allocations: 87.88 kB / 0.4961 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.08968, allocations: 167 kB / 0.4963 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.09003, allocations: 172.4 kB / 0.4964 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.09005, allocations: 15.98 kB / 0.4965 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003712/0.09042, allocations: 0.6066 MB / 0.4971 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.09043, allocations: 7.938 kB / 0.4971 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.09121, allocations: 0.6474 MB / 0.4977 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.0913, allocations: 23.88 kB / 0.4977 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.09156, allocations: 41.72 kB / 0.4978 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.09161, allocations: 46.7 kB / 0.4978 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.09164, allocations: 23.98 kB / 0.4978 GB, free: 7.758 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.09202, allocations: 478.6 kB / 0.4983 GB, free: 7.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09202, allocations: 0 / 0.4983 GB, free: 7.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007528/0.09277, allocations: 391 kB / 0.4987 GB, free: 6.902 MB / 490.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.0002972/0.09307, allocations: 207 kB / 0.4989 GB, free: 6.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.09356, allocations: 375.8 kB / 0.4992 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.243e-05/0.09358, allocations: 16.5 kB / 0.4992 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.09387, allocations: 213.4 kB / 0.4994 GB, free: 6.105 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.09491, allocations: 0.5886 MB / 0.5 GB, free: 5.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.1012, allocations: 2.065 MB / 0.502 GB, free: 3.445 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.1013, allocations: 229.3 kB / 0.5022 GB, free: 3.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006164/0.102, allocations: 204.2 kB / 0.5024 GB, free: 3.043 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.1026, allocations: 427 kB / 0.5028 GB, free: 2.617 MB / 490.7 MB Notification: Performance of SimCode: time 1.963e-06/0.1026, allocations: 3.938 kB / 0.5028 GB, free: 2.613 MB / 490.7 MB Notification: Performance of Templates: time 0.02919/0.1318, allocations: 24.53 MB / 0.5268 GB, free: 10.7 MB / 0.5105 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.202086655423045]