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.0007906/0.0007906, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002026, 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.0007734/0.0007734, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001823, 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.9661/0.9661, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08541/1.052, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7792/0.7792, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2664/1.046, allocations: 49.13 MB / 448.4 MB, free: 6.02 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-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.292e-06/1.292e-06, allocations: 0 / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.416e-05, allocations: 8.281 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01397/0.01399, allocations: 18.5 MB / 468.2 MB, free: 2.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02544, allocations: 7.221 MB / 475.4 MB, free: 11.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.02719, allocations: 95.19 kB / 475.5 MB, free: 10.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.02809, allocations: 452.4 kB / 476 MB, free: 10.53 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.03122, allocations: 1.721 MB / 477.7 MB, free: 8.816 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.03348, allocations: 1.559 MB / 479.2 MB, free: 7.273 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.03667, allocations: 3.972 MB / 483.2 MB, free: 3.289 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.03801, allocations: 1.207 MB / 484.4 MB, free: 2.051 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.04001, allocations: 2.09 MB / 486.5 MB, free: 15.96 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.0409, allocations: 0.9456 MB / 487.4 MB, free: 15.01 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.04105, allocations: 168 kB / 487.6 MB, free: 14.85 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.04199, allocations: 0.6684 MB / 488.3 MB, free: 14.18 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.04251, allocations: 318.8 kB / 488.6 MB, free: 13.87 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.043, allocations: 0.5107 MB / 489.1 MB, free: 13.36 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.04469, allocations: 1.519 MB / 490.6 MB, free: 11.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.0447, allocations: 0.5312 kB / 490.6 MB, free: 11.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0447, allocations: 0 / 490.6 MB, free: 11.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.04473, allocations: 0.6875 kB / 490.6 MB, free: 11.83 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.002353/0.04709, allocations: 2.325 MB / 492.9 MB, free: 9.453 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.04712, allocations: 8.031 kB / 493 MB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/0.04801, allocations: 405.9 kB / 493.3 MB, free: 9.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.04924, allocations: 0.9718 MB / 494.3 MB, free: 8.039 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.0493, allocations: 78.03 kB / 494.4 MB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.0494, allocations: 108 kB / 494.5 MB, free: 7.855 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.05053, allocations: 0.9873 MB / 495.5 MB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.05056, allocations: 11.88 kB / 495.5 MB, free: 6.727 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/0.05064, allocations: 40 kB / 495.5 MB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.05066, allocations: 29.59 kB / 495.6 MB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.05118, allocations: 357.3 kB / 495.9 MB, free: 6.316 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.004082/0.05526, allocations: 4.259 MB / 0.4885 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.05603, allocations: 419.6 kB / 0.4889 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.05613, allocations: 91.45 kB / 0.4889 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.05625, allocations: 60.45 kB / 0.489 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.05628, allocations: 39.06 kB / 0.489 GB, free: 1.324 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.05628, allocations: 0.6562 kB / 0.489 GB, free: 1.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001183/0.05746, allocations: 0.5784 MB / 0.4896 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.05749, allocations: 55.91 kB / 0.4897 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.05822, allocations: 0.948 MB / 0.4906 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.05825, allocations: 37.7 kB / 0.4906 GB, free: 15.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/0.059, allocations: 0.5567 MB / 0.4912 GB, free: 15.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.05909, allocations: 178.5 kB / 0.4913 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.05924, allocations: 170.5 kB / 0.4915 GB, free: 14.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.05932, allocations: 329.9 kB / 0.4918 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.05948, allocations: 99.91 kB / 0.4919 GB, free: 14.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.05985, allocations: 0.7201 MB / 0.4926 GB, free: 13.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.06023, allocations: 486.7 kB / 0.4931 GB, free: 12.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.06024, allocations: 5.219 kB / 0.4931 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005842/0.06082, allocations: 0.501 MB / 0.4936 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.06084, allocations: 8.625 kB / 0.4936 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.06085, allocations: 11.98 kB / 0.4936 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.06125, allocations: 174.9 kB / 0.4938 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.06162, allocations: 200.2 kB / 0.4939 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/0.06196, allocations: 0.5847 MB / 0.4945 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.06242, allocations: 134.6 kB / 0.4946 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.06248, allocations: 42.78 kB / 0.4947 GB, free: 11.19 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.0002106/0.06269, allocations: 164.4 kB / 0.4948 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.06278, allocations: 87.84 kB / 0.4949 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/0.06358, allocations: 0.6436 MB / 0.4956 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.06359, allocations: 8.5 kB / 0.4956 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.06359, allocations: 3.938 kB / 0.4956 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.0636, allocations: 5.141 kB / 0.4956 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.06512, allocations: 1.29 MB / 0.4968 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.06513, allocations: 5.719 kB / 0.4968 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.0653, allocations: 83.89 kB / 0.4969 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.06551, allocations: 170.9 kB / 0.4971 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.06587, allocations: 174.1 kB / 0.4972 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.06589, allocations: 12.5 kB / 0.4973 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005325/0.06642, allocations: 0.6108 MB / 0.4979 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.06642, allocations: 0 / 0.4979 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.06718, allocations: 0.6505 MB / 0.4985 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.06726, allocations: 18.25 kB / 0.4985 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.06752, allocations: 35.97 kB / 0.4985 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.06758, allocations: 50.98 kB / 0.4986 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.06761, allocations: 23.97 kB / 0.4986 GB, free: 7.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003581/0.06797, allocations: 474.7 kB / 0.4991 GB, free: 6.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06797, allocations: 3.938 kB / 0.4991 GB, free: 6.621 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006446/0.06861, allocations: 399 kB / 0.4994 GB, free: 6.23 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.000292/0.0689, allocations: 216.2 kB / 0.4997 GB, free: 6.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.06936, allocations: 368.1 kB / 0.5 GB, free: 5.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/0.06939, allocations: 16.5 kB / 0.5 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.06978, allocations: 214.3 kB / 0.5002 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.07077, allocations: 0.5764 MB / 0.5008 GB, free: 4.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.07659, allocations: 2.074 MB / 0.5028 GB, free: 2.773 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.07674, allocations: 242.6 kB / 0.503 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.07716, allocations: 194.7 kB / 0.5032 GB, free: 2.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.0778, allocations: 426 kB / 0.5036 GB, free: 1.945 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0778, allocations: 0 / 0.5036 GB, free: 1.945 MB / 490.7 MB Notification: Performance of Templates: time 0.02782/0.1056, allocations: 24.53 MB / 0.5276 GB, free: 10.07 MB / 0.5105 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.1399689400568604]