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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.03 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1952, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.409/0.6043, allocations: 70.43 MB / 0.6531 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.6264, allocations: 18.92 MB / 0.6716 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.6292, allocations: 67.47 kB / 0.6717 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.6316, allocations: 0.8169 MB / 0.6725 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.6421, allocations: 2.847 MB / 0.6753 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.6476, allocations: 1.649 MB / 0.6769 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00768/0.6553, allocations: 4.033 MB / 0.6808 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.6581, allocations: 1.451 MB / 0.6822 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005275/0.6634, allocations: 1.765 MB / 0.6839 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.6663, allocations: 1.181 MB / 0.6851 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.6667, allocations: 183.7 kB / 0.6853 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/0.6719, allocations: 1.408 MB / 0.6866 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.6726, allocations: 388.9 kB / 0.687 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.6745, allocations: 0.9121 MB / 0.6879 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.6828, allocations: 3.085 MB / 0.6909 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6829, allocations: 1.25 kB / 0.6909 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6829, allocations: 0 / 0.6909 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.683, allocations: 0 / 0.6909 GB, free: 2.848 MB / 0.5137 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.00551/0.6885, allocations: 2.039 MB / 0.6929 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6886, allocations: 10.28 kB / 0.6929 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.6913, allocations: 442.5 kB / 0.6933 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.6948, allocations: 1.479 MB / 0.6948 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.6952, allocations: 141.3 kB / 0.6949 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.6954, allocations: 105.9 kB / 0.695 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.6993, allocations: 1.317 MB / 0.6963 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.6993, allocations: 5.125 kB / 0.6963 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.6994, allocations: 42.94 kB / 0.6964 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.6995, allocations: 26.06 kB / 0.6964 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.7027, allocations: 1.108 MB / 0.6975 GB, free: 15.21 MB / 0.5294 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.01163/0.7144, allocations: 7.554 MB / 0.7048 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.7178, allocations: 0.804 MB / 0.7056 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/0.7184, allocations: 288.9 kB / 0.7059 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.7199, allocations: 1.719 MB / 0.7076 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.72, allocations: 45.03 kB / 0.7076 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.474e-06/0.72, allocations: 0 / 0.7076 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.00543/0.7254, allocations: 1.335 MB / 0.7089 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.7255, allocations: 60.75 kB / 0.709 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.7287, allocations: 1.545 MB / 0.7105 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7288, allocations: 37.77 kB / 0.7105 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.7295, allocations: 0.6768 MB / 0.7112 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.7297, allocations: 171.6 kB / 0.7114 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.73, allocations: 173.8 kB / 0.7115 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7302, allocations: 339.7 kB / 0.7118 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.7312, allocations: 370.4 kB / 0.7122 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7326, allocations: 0.6715 MB / 0.7129 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.7346, allocations: 0.8866 MB / 0.7137 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7346, allocations: 1.375 kB / 0.7137 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003339/0.7379, allocations: 1.202 MB / 0.7149 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.738, allocations: 8.656 kB / 0.7149 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.738, allocations: 8.156 kB / 0.7149 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000931/0.7389, allocations: 223.5 kB / 0.7151 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.7397, allocations: 186.5 kB / 0.7153 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009138/0.7406, allocations: 0.7225 MB / 0.716 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.7426, allocations: 220.6 kB / 0.7162 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.7427, allocations: 40.2 kB / 0.7163 GB, free: 1.039 MB / 0.5294 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.0007672/0.7435, allocations: 363.8 kB / 0.7166 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.7438, allocations: 145.7 kB / 0.7167 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.7462, allocations: 1.145 MB / 0.7179 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.7463, allocations: 15.16 kB / 0.7179 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7463, allocations: 0 / 0.7179 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.7463, allocations: 3.984 kB / 0.7179 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.752, allocations: 2.507 MB / 0.7203 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.752, allocations: 6.75 kB / 0.7203 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.7524, allocations: 88.53 kB / 0.7204 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008021/0.7532, allocations: 215.4 kB / 0.7206 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.7533, allocations: 15.41 kB / 0.7206 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.7546, allocations: 0.7729 MB / 0.7214 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7546, allocations: 3.656 kB / 0.7214 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.7581, allocations: 1.2 MB / 0.7226 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.7589, allocations: 348.2 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.7592, allocations: 13.38 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.76, allocations: 75.78 kB / 0.723 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.7602, allocations: 43.52 kB / 0.723 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.7602, allocations: 28.17 kB / 0.7231 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001828/0.7621, allocations: 1.091 MB / 0.7241 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7621, allocations: 0 / 0.7241 GB, free: 11.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001599/0.7637, allocations: 446.8 kB / 0.7245 GB, free: 11.65 MB / 0.545 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.001163/0.7648, allocations: 475.2 kB / 0.725 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.7673, allocations: 0.8998 MB / 0.7259 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7673, allocations: 3.938 kB / 0.7259 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.7686, allocations: 443.1 kB / 0.7263 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.7718, allocations: 0.7455 MB / 0.727 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.7758, allocations: 2.279 MB / 0.7293 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.7765, allocations: 1.172 MB / 0.7304 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001165/0.7777, allocations: 272.1 kB / 0.7307 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.778, allocations: 119.3 kB / 0.7308 GB, free: 5.504 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.778, allocations: 0 / 0.7308 GB, free: 5.504 MB / 0.545 GB Notification: Performance of Templates: time 0.05395/0.8319, allocations: 31.54 MB / 0.7616 GB, free: 6.316 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)