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.0009705/0.0009705, allocations: 93.06 kB / 19.65 MB, free: 280 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.001102/0.001102, allocations: 165 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.9471/0.9471, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8084/0.8084, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.884e-06/1.884e-06, allocations: 0 / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.66e-05, allocations: 5.703 kB / 0.5205 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01503/0.01506, allocations: 18.63 MB / 0.5387 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.0264, allocations: 7.065 MB / 0.5456 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.02788, allocations: 96.25 kB / 0.5457 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.02952, allocations: 440.4 kB / 0.5461 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.03444, allocations: 1.728 MB / 0.5478 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.0384, allocations: 1.584 MB / 0.5494 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005983/0.04439, allocations: 3.992 MB / 0.5533 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.04634, allocations: 1.183 MB / 0.5544 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.05028, allocations: 1.864 MB / 0.5563 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.05226, allocations: 1.022 MB / 0.5573 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.05259, allocations: 172 kB / 0.5574 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.05393, allocations: 0.6823 MB / 0.5581 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.05426, allocations: 406.4 kB / 0.5585 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008518/0.05511, allocations: 0.6089 MB / 0.5591 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.05845, allocations: 1.67 MB / 0.5607 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.05846, allocations: 3.281 kB / 0.5607 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.677e-06/0.05847, allocations: 0 / 0.5607 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.093e-05/0.05851, allocations: 0 / 0.5607 GB, free: 8.828 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.0032/0.06171, allocations: 2.049 MB / 0.5627 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.06177, allocations: 8.031 kB / 0.5627 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.06299, allocations: 482 kB / 0.5632 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.06536, allocations: 1.596 MB / 0.5647 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.06543, allocations: 81.97 kB / 0.5648 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.06555, allocations: 108 kB / 0.5649 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.06705, allocations: 1.095 MB / 0.566 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.06708, allocations: 14.36 kB / 0.566 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.06716, allocations: 44 kB / 0.566 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.06719, allocations: 24 kB / 0.5661 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.06805, allocations: 469.2 kB / 0.5665 GB, free: 2.645 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.006091/0.07414, allocations: 6.271 MB / 0.5726 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.07536, allocations: 476.9 kB / 0.5731 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.07555, allocations: 105.1 kB / 0.5732 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.07574, allocations: 65.83 kB / 0.5732 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.07577, allocations: 41.89 kB / 0.5733 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.746e-06/0.07578, allocations: 0.5938 kB / 0.5733 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.001809/0.07759, allocations: 0.7385 MB / 0.574 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.07762, allocations: 61.78 kB / 0.5741 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.07872, allocations: 1.053 MB / 0.5751 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.07877, allocations: 33.7 kB / 0.5751 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.07922, allocations: 0.757 MB / 0.5759 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.07935, allocations: 174.5 kB / 0.576 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.07955, allocations: 184.2 kB / 0.5762 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.0797, allocations: 0.5004 MB / 0.5767 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.07992, allocations: 102.5 kB / 0.5768 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.08045, allocations: 0.8522 MB / 0.5776 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.08105, allocations: 0.6064 MB / 0.5782 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.08106, allocations: 0 / 0.5782 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001085/0.08215, allocations: 0.7 MB / 0.5789 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.08217, allocations: 11.94 kB / 0.5789 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.08218, allocations: 8 kB / 0.5789 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.08272, allocations: 165.6 kB / 0.5791 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.08309, allocations: 175.7 kB / 0.5792 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/0.0836, allocations: 0.878 MB / 0.5801 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.0842, allocations: 131.4 kB / 0.5802 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.08426, allocations: 43.97 kB / 0.5803 GB, free: 3.895 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.0003086/0.08457, allocations: 208.3 kB / 0.5805 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.08473, allocations: 139.2 kB / 0.5806 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.08605, allocations: 0.7771 MB / 0.5814 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.08607, allocations: 7.938 kB / 0.5814 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.08607, allocations: 0 / 0.5814 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.08608, allocations: 3.984 kB / 0.5814 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.08899, allocations: 1.729 MB / 0.5831 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.089, allocations: 4 kB / 0.5831 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.08924, allocations: 83.83 kB / 0.5831 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/0.08972, allocations: 159.6 kB / 0.5833 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.08976, allocations: 19.98 kB / 0.5833 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006747/0.09043, allocations: 0.9014 MB / 0.5842 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.09044, allocations: 0 / 0.5842 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.09194, allocations: 0.8358 MB / 0.585 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.09235, allocations: 242.8 kB / 0.5852 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.09247, allocations: 12 kB / 0.5853 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.09287, allocations: 43.91 kB / 0.5853 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.09296, allocations: 48.36 kB / 0.5853 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.09301, allocations: 31.97 kB / 0.5854 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008008/0.09381, allocations: 0.6363 MB / 0.586 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.09381, allocations: 0 / 0.586 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001037/0.09485, allocations: 395 kB / 0.5864 GB, free: 13.48 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.0004304/0.09528, allocations: 238.8 kB / 0.5866 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009895/0.09627, allocations: 443.8 kB / 0.587 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.09627, allocations: 0 / 0.587 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.0968, allocations: 249.3 kB / 0.5873 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.09832, allocations: 488.4 kB / 0.5877 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1017, allocations: 2.035 MB / 0.5897 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1019, allocations: 237.3 kB / 0.5899 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006448/0.1026, allocations: 218.6 kB / 0.5902 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.1028, allocations: 104.5 kB / 0.5903 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of SimCode: time 1.263e-06/0.1028, allocations: 0 / 0.5903 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.0313/0.1341, allocations: 21.44 MB / 0.6112 GB, free: 4.48 MB / 0.573 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.450227943249047]