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.0008158/0.0008158, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008067/0.0008067, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8334/0.8334, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-531:686: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-531:694: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.6993/0.6993, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.423e-06/1.423e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.553e-05, allocations: 5.125 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3372/0.3373, allocations: 64.59 MB / 0.6824 GB, free: 58.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.3532, allocations: 17.55 MB / 0.6995 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.3557, allocations: 93 kB / 0.6996 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.3578, allocations: 0.8382 MB / 0.7004 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.3647, allocations: 3.092 MB / 0.7035 GB, free: 56.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.3678, allocations: 1.815 MB / 0.7052 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.3717, allocations: 4.075 MB / 0.7092 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.373, allocations: 1.141 MB / 0.7103 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.3764, allocations: 2.556 MB / 0.7128 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.3777, allocations: 1.012 MB / 0.7138 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.3779, allocations: 174.6 kB / 0.714 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.3798, allocations: 1.165 MB / 0.7151 GB, free: 51.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.38, allocations: 404.4 kB / 0.7155 GB, free: 51.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.3805, allocations: 0.6061 MB / 0.7161 GB, free: 51.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.3837, allocations: 3.148 MB / 0.7192 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3837, allocations: 0 / 0.7192 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3837, allocations: 4 kB / 0.7192 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.3837, allocations: 0 / 0.7192 GB, free: 50.29 MB / 0.6355 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.002439/0.3862, allocations: 1.994 MB / 0.7211 GB, free: 49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3862, allocations: 8.906 kB / 0.7211 GB, free: 49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.3873, allocations: 452.7 kB / 0.7216 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.3893, allocations: 1.526 MB / 0.723 GB, free: 48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3895, allocations: 85.47 kB / 0.7231 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3896, allocations: 102.5 kB / 0.7232 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3915, allocations: 1.422 MB / 0.7246 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3915, allocations: 2.562 kB / 0.7246 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.3916, allocations: 42.56 kB / 0.7247 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.3916, allocations: 28 kB / 0.7247 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3932, allocations: 1.102 MB / 0.7258 GB, free: 46.67 MB / 0.6355 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.005353/0.3986, allocations: 5.386 MB / 0.731 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.4003, allocations: 0.7718 MB / 0.7318 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.4007, allocations: 265 kB / 0.732 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.401, allocations: 154.3 kB / 0.7322 GB, free: 42.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.401, allocations: 39.41 kB / 0.7322 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.946e-06/0.401, allocations: 0 / 0.7322 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002633/0.4037, allocations: 1.237 MB / 0.7334 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.4037, allocations: 57.56 kB / 0.7335 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4051, allocations: 1.23 MB / 0.7347 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.4051, allocations: 46.14 kB / 0.7347 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.4055, allocations: 0.7068 MB / 0.7354 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.4056, allocations: 177.8 kB / 0.7356 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.4058, allocations: 170.2 kB / 0.7357 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.4058, allocations: 334.6 kB / 0.7361 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.4064, allocations: 363.9 kB / 0.7364 GB, free: 40.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.4071, allocations: 0.9913 MB / 0.7374 GB, free: 39.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4081, allocations: 0.8865 MB / 0.7382 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4081, allocations: 2.75 kB / 0.7382 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001751/0.4099, allocations: 1.17 MB / 0.7394 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4099, allocations: 8.953 kB / 0.7394 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4099, allocations: 8 kB / 0.7394 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.4105, allocations: 225.7 kB / 0.7396 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.411, allocations: 193.1 kB / 0.7398 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004911/0.4115, allocations: 0.7106 MB / 0.7405 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.4123, allocations: 186.5 kB / 0.7407 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.4123, allocations: 44.77 kB / 0.7407 GB, free: 37.59 MB / 0.6355 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.0005227/0.4129, allocations: 364.7 kB / 0.7411 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.413, allocations: 124.5 kB / 0.7412 GB, free: 37.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4146, allocations: 1.127 MB / 0.7423 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.4147, allocations: 8.75 kB / 0.7423 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.4147, allocations: 3.938 kB / 0.7423 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4147, allocations: 8.672 kB / 0.7423 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.4179, allocations: 2.178 MB / 0.7444 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4179, allocations: 5.969 kB / 0.7444 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.4181, allocations: 84.67 kB / 0.7445 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.4186, allocations: 209.8 kB / 0.7447 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.4186, allocations: 21.08 kB / 0.7447 GB, free: 35.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006342/0.4193, allocations: 0.7716 MB / 0.7455 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4193, allocations: 2.906 kB / 0.7455 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.4211, allocations: 1.193 MB / 0.7467 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.4215, allocations: 247.7 kB / 0.7469 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.4216, allocations: 12.59 kB / 0.7469 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.4219, allocations: 68.03 kB / 0.747 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.422, allocations: 43.84 kB / 0.747 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.4221, allocations: 26.27 kB / 0.747 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001016/0.4231, allocations: 0.8533 MB / 0.7479 GB, free: 34.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4231, allocations: 4 kB / 0.7479 GB, free: 34.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001141/0.4242, allocations: 482.6 kB / 0.7483 GB, free: 33.96 MB / 0.6355 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.0006453/0.4249, allocations: 473.8 kB / 0.7488 GB, free: 33.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.4262, allocations: 0.834 MB / 0.7496 GB, free: 33.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4262, allocations: 0 / 0.7496 GB, free: 33.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.427, allocations: 428.5 kB / 0.75 GB, free: 33.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4282, allocations: 466.8 kB / 0.7505 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.4312, allocations: 2.27 MB / 0.7527 GB, free: 32.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.4318, allocations: 0.5784 MB / 0.7532 GB, free: 31.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.4321, allocations: 103.9 kB / 0.7533 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of SimCode: time 1.894e-06/0.4321, allocations: 1.25 kB / 0.7533 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.03225/0.4643, allocations: 31.66 MB / 0.7843 GB, free: 15.06 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.312083936296403] Failed to read output from testmodel.py, exit status != 0: 0.47009359393268824 0.47567255100000005 0.0905703 Calling exit ...