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.0006154/0.0006154, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009066/0.001522, allocations: 440 kB / 10.41 MB, free: 284 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.0006846/0.0006846, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008492/0.001534, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9227/0.9227, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08498/1.008, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7834/0.7834, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.3072/1.091, allocations: 49.13 MB / 448.6 MB, free: 5.906 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 2.164e-06/2.164e-06, allocations: 0.5469 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.996e-05, allocations: 7.25 kB / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0175/0.01753, allocations: 18.51 MB / 468.5 MB, free: 2.102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02863, allocations: 7.221 MB / 475.7 MB, free: 10.93 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.03021, allocations: 95.19 kB / 475.8 MB, free: 10.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.03086, allocations: 456.9 kB / 476.2 MB, free: 10.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.03345, allocations: 1.722 MB / 477.9 MB, free: 8.672 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.03566, allocations: 1.558 MB / 479.5 MB, free: 7.129 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.03896, allocations: 3.967 MB / 483.5 MB, free: 3.148 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.04057, allocations: 1.211 MB / 484.7 MB, free: 1.906 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.04274, allocations: 2.077 MB / 486.8 MB, free: 15.82 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.04383, allocations: 0.9336 MB / 487.7 MB, free: 14.89 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.04402, allocations: 173.5 kB / 487.9 MB, free: 14.72 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009144/0.04494, allocations: 0.663 MB / 488.5 MB, free: 14.06 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.04515, allocations: 330.8 kB / 488.8 MB, free: 13.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.04553, allocations: 0.5069 MB / 489.3 MB, free: 13.23 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.04691, allocations: 1.52 MB / 490.9 MB, free: 11.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.04691, allocations: 0 / 490.9 MB, free: 11.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04691, allocations: 0 / 490.9 MB, free: 11.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.04693, allocations: 0 / 490.9 MB, free: 11.7 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.001843/0.04877, allocations: 2.331 MB / 493.2 MB, free: 9.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.506e-05/0.0488, allocations: 8.031 kB / 493.2 MB, free: 9.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.04955, allocations: 403.8 kB / 493.6 MB, free: 8.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.05056, allocations: 0.9747 MB / 494.6 MB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.05061, allocations: 82.03 kB / 494.7 MB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.05069, allocations: 105.4 kB / 494.8 MB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.05153, allocations: 0.9856 MB / 495.7 MB, free: 6.602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.05154, allocations: 4.828 kB / 495.7 MB, free: 6.598 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.05159, allocations: 44 kB / 495.8 MB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.05161, allocations: 30.19 kB / 495.8 MB, free: 6.527 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.05202, allocations: 351.8 kB / 496.2 MB, free: 6.188 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.003213/0.05523, allocations: 4.265 MB / 0.4887 GB, free: 1.805 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.05589, allocations: 418.8 kB / 0.4891 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.05599, allocations: 93.14 kB / 0.4892 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.05609, allocations: 61.45 kB / 0.4892 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.05611, allocations: 40.56 kB / 0.4893 GB, free: 1.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.313e-06/0.05611, allocations: 0 / 0.4893 GB, free: 1.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001064/0.05718, allocations: 0.5711 MB / 0.4898 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.0572, allocations: 59.84 kB / 0.4899 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.05788, allocations: 0.9508 MB / 0.4908 GB, free: 15.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.05792, allocations: 37.7 kB / 0.4909 GB, free: 15.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.05815, allocations: 0.549 MB / 0.4914 GB, free: 15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.05823, allocations: 170.5 kB / 0.4916 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.05839, allocations: 174.5 kB / 0.4917 GB, free: 14.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.05846, allocations: 335.3 kB / 0.492 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.05863, allocations: 100.7 kB / 0.4921 GB, free: 14.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.05902, allocations: 0.7202 MB / 0.4928 GB, free: 13.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.05942, allocations: 0.503 MB / 0.4933 GB, free: 12.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.05942, allocations: 5.25 kB / 0.4933 GB, free: 12.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005561/0.05998, allocations: 0.5071 MB / 0.4938 GB, free: 12.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.05999, allocations: 13.56 kB / 0.4939 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.06, allocations: 8 kB / 0.4939 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.06037, allocations: 167.4 kB / 0.494 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.06074, allocations: 204.7 kB / 0.4942 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002857/0.06102, allocations: 0.5857 MB / 0.4948 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.06141, allocations: 134.3 kB / 0.4949 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.06146, allocations: 35.98 kB / 0.495 GB, free: 11.04 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.0001829/0.06165, allocations: 172 kB / 0.4951 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.06178, allocations: 86.28 kB / 0.4952 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.06283, allocations: 0.6371 MB / 0.4958 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.06284, allocations: 8 kB / 0.4958 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.06284, allocations: 4.812 kB / 0.4958 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.06285, allocations: 4.047 kB / 0.4958 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.06491, allocations: 1.298 MB / 0.4971 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.06492, allocations: 1.312 kB / 0.4971 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.06519, allocations: 87.89 kB / 0.4972 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.06548, allocations: 170.9 kB / 0.4974 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.06596, allocations: 160.8 kB / 0.4975 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.06599, allocations: 24.83 kB / 0.4975 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004943/0.06649, allocations: 0.6063 MB / 0.4981 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.06649, allocations: 3.984 kB / 0.4981 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.06761, allocations: 0.6518 MB / 0.4988 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.06771, allocations: 15.94 kB / 0.4988 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.06812, allocations: 41.81 kB / 0.4988 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.0682, allocations: 40.36 kB / 0.4989 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.06824, allocations: 25.8 kB / 0.4989 GB, free: 6.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005641/0.0688, allocations: 478.6 kB / 0.4993 GB, free: 6.469 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0688, allocations: 0 / 0.4993 GB, free: 6.469 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.06967, allocations: 403 kB / 0.4997 GB, free: 6.074 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.0003714/0.07004, allocations: 211.7 kB / 0.4999 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.0707, allocations: 382 kB / 0.5003 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-05/0.07073, allocations: 18.94 kB / 0.5003 GB, free: 5.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.07126, allocations: 260.8 kB / 0.5006 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.07383, allocations: 3.563 MB / 0.504 GB, free: 1.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/0.08143, allocations: 2.077 MB / 0.5061 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.08162, allocations: 239.2 kB / 0.5063 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005065/0.08213, allocations: 193.3 kB / 0.5065 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/0.0829, allocations: 403 kB / 0.5069 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.0829, allocations: 0 / 0.5069 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.03174/0.1146, allocations: 24.42 MB / 0.5307 GB, free: 6.332 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.24742054566741]