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.001459/0.001459, allocations: 92.22 kB / 19.65 MB, free: 276 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.001872/0.001872, allocations: 169 kB / 23.02 MB, free: 1.551 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.9782/0.9782, allocations: 177.1 MB / 203.4 MB, free: 5.641 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-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.8244/0.8244, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.853e-06/1.853e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.943e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02129/0.02132, allocations: 18.63 MB / 0.5385 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.03633, allocations: 7.069 MB / 0.5454 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.03907, allocations: 95.19 kB / 0.5455 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.04053, allocations: 444.5 kB / 0.5459 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.04492, allocations: 1.724 MB / 0.5476 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.04831, allocations: 1.59 MB / 0.5492 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00554/0.05385, allocations: 3.996 MB / 0.5531 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.05585, allocations: 1.183 MB / 0.5542 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.05894, allocations: 1.865 MB / 0.556 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.06047, allocations: 1.02 MB / 0.557 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.0608, allocations: 177 kB / 0.5572 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.06201, allocations: 0.6784 MB / 0.5579 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.06229, allocations: 406.3 kB / 0.5582 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.06303, allocations: 0.6106 MB / 0.5588 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.06541, allocations: 1.674 MB / 0.5605 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.06542, allocations: 3.938 kB / 0.5605 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.06542, allocations: 0 / 0.5605 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.936e-05/0.06547, allocations: 0 / 0.5605 GB, free: 9.047 MB / 0.5261 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.002478/0.06795, allocations: 2.042 MB / 0.5625 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.06799, allocations: 8.031 kB / 0.5625 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.0691, allocations: 483 kB / 0.5629 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.07116, allocations: 1.598 MB / 0.5645 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.07122, allocations: 78.03 kB / 0.5646 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.07135, allocations: 109.1 kB / 0.5647 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.0728, allocations: 1.103 MB / 0.5658 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.07282, allocations: 0 / 0.5658 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.07289, allocations: 45.44 kB / 0.5658 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.07291, allocations: 24 kB / 0.5658 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008656/0.07378, allocations: 469.8 kB / 0.5663 GB, free: 2.879 MB / 0.5261 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.005337/0.07911, allocations: 6.275 MB / 0.5724 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.0803, allocations: 469.3 kB / 0.5728 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.08048, allocations: 109.1 kB / 0.573 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.08066, allocations: 68.45 kB / 0.573 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.08069, allocations: 37.89 kB / 0.5731 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.08069, allocations: 1.25 kB / 0.5731 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.00174/0.08243, allocations: 0.7343 MB / 0.5738 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.08247, allocations: 63.89 kB / 0.5738 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.08355, allocations: 1.044 MB / 0.5749 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.08359, allocations: 37.7 kB / 0.5749 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.084, allocations: 0.7586 MB / 0.5756 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.08411, allocations: 178.5 kB / 0.5758 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.08431, allocations: 180.2 kB / 0.576 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.08445, allocations: 0.5004 MB / 0.5765 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.08467, allocations: 106.6 kB / 0.5766 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.08522, allocations: 0.8487 MB / 0.5774 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.08583, allocations: 0.5994 MB / 0.578 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.08583, allocations: 4 kB / 0.578 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001083/0.08692, allocations: 0.7023 MB / 0.5787 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.08694, allocations: 8 kB / 0.5787 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.08695, allocations: 8 kB / 0.5787 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.08747, allocations: 171.5 kB / 0.5788 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.08782, allocations: 175.7 kB / 0.579 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005922/0.08842, allocations: 0.878 MB / 0.5799 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.089, allocations: 127.4 kB / 0.58 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.08907, allocations: 52 kB / 0.58 GB, free: 4.117 MB / 0.5417 GB 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.0003003/0.08937, allocations: 204.3 kB / 0.5802 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.08952, allocations: 143.2 kB / 0.5804 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.09056, allocations: 0.7662 MB / 0.5811 GB, free: 3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.09057, allocations: 11.94 kB / 0.5811 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.09058, allocations: 7.938 kB / 0.5811 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.09059, allocations: 7.984 kB / 0.5811 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.0934, allocations: 1.725 MB / 0.5828 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.09341, allocations: 4.188 kB / 0.5828 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.09359, allocations: 83.83 kB / 0.5829 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/0.09399, allocations: 151.5 kB / 0.5831 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.09402, allocations: 19.98 kB / 0.5831 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005966/0.09462, allocations: 0.9053 MB / 0.584 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.09462, allocations: 0 / 0.584 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.09583, allocations: 0.8436 MB / 0.5848 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/0.09638, allocations: 242.8 kB / 0.585 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.09646, allocations: 12 kB / 0.585 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.09676, allocations: 39.97 kB / 0.5851 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.09683, allocations: 48.34 kB / 0.5851 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.09687, allocations: 23.98 kB / 0.5851 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006515/0.09752, allocations: 0.648 MB / 0.5858 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.09752, allocations: 0 / 0.5858 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009436/0.09847, allocations: 395 kB / 0.5861 GB, free: 13.7 MB / 0.5573 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.0003561/0.09882, allocations: 234.8 kB / 0.5864 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007811/0.0996, allocations: 443.2 kB / 0.5868 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.09961, allocations: 0 / 0.5868 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.1, allocations: 249.9 kB / 0.587 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1012, allocations: 489.4 kB / 0.5875 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.1041, allocations: 2.043 MB / 0.5895 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.1043, allocations: 237.3 kB / 0.5897 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005431/0.1048, allocations: 215.2 kB / 0.5899 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.105, allocations: 100.4 kB / 0.59 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of SimCode: time 1.793e-06/0.105, allocations: 0 / 0.59 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of Templates: time 0.02662/0.1316, allocations: 21.44 MB / 0.611 GB, free: 4.691 MB / 0.573 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.579295025207102]