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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00106/0.00106, allocations: 189 kB / 16.25 MB, free: 6.633 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9965/0.9965, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 60.22 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1772, allocations: 80.93 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3862/0.5635, allocations: 69.84 MB / 0.6521 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.5857, allocations: 18.78 MB / 0.6704 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.5891, allocations: 70.34 kB / 0.6705 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.5917, allocations: 0.6996 MB / 0.6712 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00883/0.6006, allocations: 2.651 MB / 0.6738 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.6059, allocations: 1.515 MB / 0.6752 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00738/0.6133, allocations: 4.055 MB / 0.6792 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.6158, allocations: 1.45 MB / 0.6806 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/0.6205, allocations: 1.784 MB / 0.6824 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.6231, allocations: 1.211 MB / 0.6835 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.6234, allocations: 177.1 kB / 0.6837 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.6268, allocations: 1.428 MB / 0.6851 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.6273, allocations: 396.9 kB / 0.6855 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.6286, allocations: 0.9186 MB / 0.6864 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.6338, allocations: 3.103 MB / 0.6894 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6338, allocations: 4 kB / 0.6894 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6338, allocations: 0 / 0.6894 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5e-05/0.6339, allocations: 1.156 kB / 0.6894 GB, free: 3.641 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.005022/0.6389, allocations: 2.038 MB / 0.6914 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.639, allocations: 10.69 kB / 0.6914 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.6414, allocations: 446.7 kB / 0.6918 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.6445, allocations: 1.505 MB / 0.6933 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.6449, allocations: 132.2 kB / 0.6934 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.645, allocations: 103.1 kB / 0.6935 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.6479, allocations: 1.295 MB / 0.6948 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.6479, allocations: 1.5 kB / 0.6948 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.648, allocations: 42.5 kB / 0.6948 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.6481, allocations: 26 kB / 0.6949 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.6509, allocations: 1.12 MB / 0.696 GB, free: 24 kB / 0.5137 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.009871/0.6608, allocations: 7.131 MB / 0.7029 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.664, allocations: 0.8049 MB / 0.7037 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.6646, allocations: 287.6 kB / 0.704 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.666, allocations: 1.721 MB / 0.7057 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.6661, allocations: 41.81 kB / 0.7057 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.6661, allocations: 0 / 0.7057 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005184/0.6713, allocations: 1.337 MB / 0.707 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6713, allocations: 61.47 kB / 0.7071 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.6742, allocations: 1.516 MB / 0.7086 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.274e-05/0.6743, allocations: 41.03 kB / 0.7086 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000607/0.6749, allocations: 0.6653 MB / 0.7092 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.6751, allocations: 169.7 kB / 0.7094 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.6754, allocations: 161.7 kB / 0.7096 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6755, allocations: 337.7 kB / 0.7099 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6766, allocations: 362.4 kB / 0.7102 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.6778, allocations: 0.629 MB / 0.7108 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6796, allocations: 0.8492 MB / 0.7117 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6797, allocations: 2.812 kB / 0.7117 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004378/0.684, allocations: 1.337 MB / 0.713 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.6841, allocations: 8.562 kB / 0.713 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6841, allocations: 6.188 kB / 0.713 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009073/0.685, allocations: 225 kB / 0.7132 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.6858, allocations: 175.8 kB / 0.7134 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008506/0.6866, allocations: 0.7213 MB / 0.7141 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.6885, allocations: 239.6 kB / 0.7143 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6886, allocations: 39.02 kB / 0.7143 GB, free: 2.895 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0006727/0.6893, allocations: 365.8 kB / 0.7147 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.6895, allocations: 148.3 kB / 0.7148 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.6919, allocations: 1.135 MB / 0.7159 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.692, allocations: 14.67 kB / 0.716 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.692, allocations: 5.188 kB / 0.716 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.692, allocations: 11.92 kB / 0.716 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/0.6975, allocations: 2.504 MB / 0.7184 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6975, allocations: 1.375 kB / 0.7184 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.6979, allocations: 90.47 kB / 0.7185 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007832/0.6987, allocations: 210.4 kB / 0.7187 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.6987, allocations: 18.98 kB / 0.7187 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.7, allocations: 0.7733 MB / 0.7195 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7, allocations: 3.062 kB / 0.7195 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.7033, allocations: 1.198 MB / 0.7207 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/0.704, allocations: 352.2 kB / 0.721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.7042, allocations: 10.44 kB / 0.721 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.7052, allocations: 95.53 kB / 0.7211 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7053, allocations: 46.97 kB / 0.7211 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.7054, allocations: 28.33 kB / 0.7212 GB, free: 14.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001906/0.7073, allocations: 1.073 MB / 0.7222 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7073, allocations: 0 / 0.7222 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001526/0.7088, allocations: 433.5 kB / 0.7226 GB, free: 13.51 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.001116/0.71, allocations: 470 kB / 0.7231 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.7124, allocations: 0.8679 MB / 0.7239 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7124, allocations: 0 / 0.7239 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.7137, allocations: 443 kB / 0.7243 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.7168, allocations: 0.7528 MB / 0.7251 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.7208, allocations: 2.739 MB / 0.7277 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.7216, allocations: 1.172 MB / 0.7289 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001124/0.7227, allocations: 259.9 kB / 0.7291 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.723, allocations: 115.4 kB / 0.7293 GB, free: 6.984 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.723, allocations: 7.938 kB / 0.7293 GB, free: 6.977 MB / 0.545 GB Notification: Performance of Templates: time 0.05359/0.7766, allocations: 31.08 MB / 0.7596 GB, free: 8.254 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)