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.005771/0.005771, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.806/0.806, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.92 kB / 0.5856 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1669, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06886/0.2358, allocations: 70.44 MB / 0.7334 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4358/0.6716, allocations: 18.89 MB / 0.7519 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.6744, allocations: 68.81 kB / 0.7519 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.6769, allocations: 0.8423 MB / 0.7528 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009392/0.6864, allocations: 2.998 MB / 0.7557 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.6914, allocations: 1.662 MB / 0.7573 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008046/0.6995, allocations: 4.054 MB / 0.7613 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/0.7024, allocations: 1.459 MB / 0.7627 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.7074, allocations: 1.813 MB / 0.7645 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.7098, allocations: 1.182 MB / 0.7656 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.7102, allocations: 174.4 kB / 0.7658 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.7137, allocations: 1.415 MB / 0.7672 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.7142, allocations: 389.5 kB / 0.7675 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.7154, allocations: 0.9167 MB / 0.7684 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.7207, allocations: 3.121 MB / 0.7715 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7207, allocations: 3.938 kB / 0.7715 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7207, allocations: 0 / 0.7715 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.7207, allocations: 1.188 kB / 0.7715 GB, free: 16.5 MB / 0.5762 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.003445/0.7242, allocations: 2.036 MB / 0.7735 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7242, allocations: 9.953 kB / 0.7735 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.7263, allocations: 446.5 kB / 0.7739 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.7288, allocations: 1.548 MB / 0.7754 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.7289, allocations: 78.09 kB / 0.7755 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.7291, allocations: 104.9 kB / 0.7756 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.7314, allocations: 1.319 MB / 0.7769 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.7314, allocations: 5.469 kB / 0.7769 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.7315, allocations: 47.53 kB / 0.7769 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.7316, allocations: 26.22 kB / 0.777 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.734, allocations: 1.094 MB / 0.778 GB, free: 14.61 MB / 0.5762 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.007516/0.7415, allocations: 7.507 MB / 0.7854 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.7443, allocations: 0.7983 MB / 0.7861 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.7448, allocations: 279.5 kB / 0.7864 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000836/0.7457, allocations: 1.721 MB / 0.7881 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.7457, allocations: 41.25 kB / 0.7881 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.7457, allocations: 1.188 kB / 0.7881 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004298/0.75, allocations: 1.342 MB / 0.7894 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.7501, allocations: 59.91 kB / 0.7895 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.7522, allocations: 1.542 MB / 0.791 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.7523, allocations: 37.83 kB / 0.791 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.7528, allocations: 0.6774 MB / 0.7917 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.7529, allocations: 168.5 kB / 0.7919 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.7532, allocations: 176.6 kB / 0.792 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.7532, allocations: 332.7 kB / 0.7923 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.7541, allocations: 362.9 kB / 0.7927 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.7551, allocations: 0.6589 MB / 0.7933 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.7566, allocations: 0.8918 MB / 0.7942 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.7566, allocations: 6.312 kB / 0.7942 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002505/0.7591, allocations: 1.19 MB / 0.7954 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7591, allocations: 12.59 kB / 0.7954 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7592, allocations: 8.375 kB / 0.7954 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007664/0.7599, allocations: 218.7 kB / 0.7956 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.7606, allocations: 194.3 kB / 0.7958 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/0.7613, allocations: 0.7261 MB / 0.7965 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.7628, allocations: 210.3 kB / 0.7967 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.7629, allocations: 43.55 kB / 0.7967 GB, free: 2.188 MB / 0.5762 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.0006596/0.7636, allocations: 354 kB / 0.7971 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.7639, allocations: 151.3 kB / 0.7972 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.766, allocations: 1.139 MB / 0.7983 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.766, allocations: 13.73 kB / 0.7983 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.766, allocations: 0 / 0.7983 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.766, allocations: 3.984 kB / 0.7983 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.7708, allocations: 2.505 MB / 0.8008 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.7709, allocations: 2.875 kB / 0.8008 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.7712, allocations: 83.44 kB / 0.8009 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/0.772, allocations: 218.2 kB / 0.8011 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.772, allocations: 17.92 kB / 0.8011 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.7732, allocations: 0.7736 MB / 0.8019 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7733, allocations: 10.22 kB / 0.8019 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.7763, allocations: 1.201 MB / 0.803 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.7771, allocations: 348 kB / 0.8034 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.7775, allocations: 14.84 kB / 0.8034 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009616/0.7784, allocations: 74.62 kB / 0.8035 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.7785, allocations: 36.39 kB / 0.8035 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.7786, allocations: 32.5 kB / 0.8035 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002033/0.7807, allocations: 1.081 MB / 0.8046 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.144e-06/0.7807, allocations: 0 / 0.8046 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001648/0.7823, allocations: 457.8 kB / 0.805 GB, free: 12.88 MB / 0.5919 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.001201/0.7835, allocations: 468 kB / 0.8055 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.7859, allocations: 0.8501 MB / 0.8063 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7859, allocations: 0 / 0.8063 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.7872, allocations: 452 kB / 0.8067 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.7905, allocations: 0.7385 MB / 0.8074 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.795, allocations: 2.263 MB / 0.8097 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.7958, allocations: 1.171 MB / 0.8108 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001062/0.7969, allocations: 273.9 kB / 0.8111 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.7972, allocations: 115.3 kB / 0.8112 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.7972, allocations: 0 / 0.8112 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of Templates: time 0.05673/0.8539, allocations: 31.75 MB / 0.8422 GB, free: 10.93 MB / 0.6231 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)