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.001172/0.001172, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001154/0.001154, allocations: 187 kB / 17.34 MB, free: 5.734 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7244/0.7244, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.7 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06377/0.1899, allocations: 70.45 MB / 0.7341 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3126/0.5026, allocations: 18.89 MB / 0.7525 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.5045, allocations: 68.22 kB / 0.7526 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.5061, allocations: 0.8186 MB / 0.7534 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.512, allocations: 2.854 MB / 0.7562 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.5152, allocations: 1.647 MB / 0.7578 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.5201, allocations: 4.046 MB / 0.7617 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.5222, allocations: 1.452 MB / 0.7632 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.526, allocations: 1.775 MB / 0.7649 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.528, allocations: 1.175 MB / 0.766 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.5282, allocations: 176.3 kB / 0.7662 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.531, allocations: 1.419 MB / 0.7676 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.5314, allocations: 391.3 kB / 0.768 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008739/0.5322, allocations: 0.9185 MB / 0.7689 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.5357, allocations: 3.113 MB / 0.7719 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5357, allocations: 1.281 kB / 0.7719 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5357, allocations: 0 / 0.7719 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.5358, allocations: 0 / 0.7719 GB, free: 16.52 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.00296/0.5387, allocations: 2.037 MB / 0.7739 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5388, allocations: 10.98 kB / 0.7739 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.5407, allocations: 442.9 kB / 0.7743 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.5428, allocations: 1.55 MB / 0.7758 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.5429, allocations: 84.59 kB / 0.7759 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.5431, allocations: 102.6 kB / 0.776 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.5452, allocations: 1.317 MB / 0.7773 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5452, allocations: 4.062 kB / 0.7773 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.5453, allocations: 44.22 kB / 0.7774 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.5454, allocations: 25.31 kB / 0.7774 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.5477, allocations: 1.098 MB / 0.7784 GB, free: 14.64 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.006612/0.5543, allocations: 7.506 MB / 0.7858 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.5571, allocations: 0.8018 MB / 0.7866 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.5577, allocations: 285.5 kB / 0.7868 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.5584, allocations: 1.722 MB / 0.7885 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.5584, allocations: 38.38 kB / 0.7886 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.5584, allocations: 0 / 0.7886 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004273/0.5627, allocations: 1.342 MB / 0.7899 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.5627, allocations: 61.31 kB / 0.7899 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.5647, allocations: 1.536 MB / 0.7914 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.5648, allocations: 41.36 kB / 0.7915 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.5652, allocations: 0.676 MB / 0.7921 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5654, allocations: 168.1 kB / 0.7923 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.5657, allocations: 170.4 kB / 0.7924 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.5657, allocations: 335.7 kB / 0.7928 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.5666, allocations: 363.2 kB / 0.7931 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009988/0.5676, allocations: 0.6654 MB / 0.7938 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.5691, allocations: 0.8853 MB / 0.7946 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5691, allocations: 2.75 kB / 0.7946 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002526/0.5716, allocations: 1.199 MB / 0.7958 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5717, allocations: 10.59 kB / 0.7958 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5717, allocations: 12.16 kB / 0.7958 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007715/0.5724, allocations: 221.5 kB / 0.796 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.5731, allocations: 188.7 kB / 0.7962 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006307/0.5738, allocations: 0.7245 MB / 0.7969 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5753, allocations: 213.2 kB / 0.7971 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.5753, allocations: 40.08 kB / 0.7972 GB, free: 2.312 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.0005046/0.5759, allocations: 357.7 kB / 0.7975 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5761, allocations: 149 kB / 0.7976 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.5781, allocations: 1.151 MB / 0.7988 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.5781, allocations: 8.688 kB / 0.7988 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5781, allocations: 0 / 0.7988 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5781, allocations: 6.578 kB / 0.7988 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.5826, allocations: 2.503 MB / 0.8012 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5827, allocations: 5.906 kB / 0.8012 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.583, allocations: 89.12 kB / 0.8013 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/0.5837, allocations: 210 kB / 0.8015 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.5837, allocations: 12.78 kB / 0.8015 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.5849, allocations: 0.7755 MB / 0.8023 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5849, allocations: 9.328 kB / 0.8023 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.5879, allocations: 1.206 MB / 0.8035 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.5884, allocations: 346.2 kB / 0.8038 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.5886, allocations: 15.84 kB / 0.8038 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/0.5894, allocations: 75.5 kB / 0.8039 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.5895, allocations: 38.52 kB / 0.8039 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.5896, allocations: 28.52 kB / 0.804 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001479/0.5911, allocations: 1.085 MB / 0.805 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5911, allocations: 4 kB / 0.805 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001181/0.5923, allocations: 451.8 kB / 0.8054 GB, free: 13.01 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.0007668/0.593, allocations: 477.8 kB / 0.8059 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.5949, allocations: 0.8454 MB / 0.8067 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5949, allocations: 2.5 kB / 0.8067 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.5961, allocations: 448.6 kB / 0.8072 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.5988, allocations: 0.7414 MB / 0.8079 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.6019, allocations: 2.294 MB / 0.8101 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.6025, allocations: 1.157 MB / 0.8113 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.6028, allocations: 126 kB / 0.8114 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/0.6028, allocations: 0 / 0.8114 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of Templates: time 0.03675/0.6396, allocations: 34.05 MB / 0.8446 GB, free: 8.945 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)