Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008258, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000965/0.0009651, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8646/0.8646, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 15.98 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3449/0.4973, allocations: 110.6 MB / 0.6952 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02824/0.5256, allocations: 19.92 MB / 0.7147 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.5298, allocations: 102.7 kB / 0.7148 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.5343, allocations: 1.364 MB / 0.7161 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.5471, allocations: 4.186 MB / 0.7202 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007465/0.5546, allocations: 2.58 MB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0082/0.5628, allocations: 3.907 MB / 0.7265 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.5659, allocations: 1.72 MB / 0.7282 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.5709, allocations: 2.024 MB / 0.7302 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.5738, allocations: 1.254 MB / 0.7314 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.5744, allocations: 92.16 kB / 0.7315 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.5789, allocations: 1.333 MB / 0.7328 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.5796, allocations: 413.1 kB / 0.7332 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.5807, allocations: 0.5559 MB / 0.7337 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004144/0.5849, allocations: 3.104 MB / 0.7367 GB, free: 2.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.5849, allocations: 3.938 kB / 0.7368 GB, free: 2.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5849, allocations: 0 / 0.7368 GB, free: 2.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.024e-05/0.585, allocations: 0 / 0.7368 GB, free: 2.887 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.004866/0.5899, allocations: 2.702 MB / 0.7394 GB, free: 436 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5899, allocations: 9.094 kB / 0.7394 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.594, allocations: 0.9567 MB / 0.7403 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.5972, allocations: 2.079 MB / 0.7424 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009044/0.5981, allocations: 318.9 kB / 0.7427 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.5983, allocations: 156 kB / 0.7428 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.6019, allocations: 1.973 MB / 0.7447 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.6019, allocations: 0 / 0.7447 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.6021, allocations: 68 kB / 0.7448 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.6021, allocations: 36 kB / 0.7448 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.6064, allocations: 1.905 MB / 0.7467 GB, free: 8.793 MB / 0.5606 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.01149/0.6179, allocations: 9.187 MB / 0.7557 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.6221, allocations: 1.327 MB / 0.757 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.6232, allocations: 1.715 MB / 0.7586 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.6232, allocations: 42.5 kB / 0.7587 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/0.6232, allocations: 0 / 0.7587 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007913/0.6311, allocations: 2.489 MB / 0.7611 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6312, allocations: 89.06 kB / 0.7612 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.6346, allocations: 2.571 MB / 0.7637 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/0.6347, allocations: 41.7 kB / 0.7638 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/0.6355, allocations: 1.046 MB / 0.7648 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.6357, allocations: 280.1 kB / 0.765 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.6358, allocations: 23.94 kB / 0.7651 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6359, allocations: 349.9 kB / 0.7654 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.6376, allocations: 0.6272 MB / 0.766 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.6395, allocations: 0.9973 MB / 0.767 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.6412, allocations: 0.6858 MB / 0.7677 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6413, allocations: 4 kB / 0.7677 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004531/0.6458, allocations: 1.971 MB / 0.7696 GB, free: 80 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6458, allocations: 10.19 kB / 0.7696 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6458, allocations: 8 kB / 0.7696 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.6475, allocations: 0.5018 MB / 0.7701 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.6487, allocations: 311.5 kB / 0.7704 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6506, allocations: 1.553 MB / 0.7719 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.6534, allocations: 487.6 kB / 0.7724 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.6535, allocations: 59.97 kB / 0.7724 GB, free: 13.11 MB / 0.5919 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007883/0.6543, allocations: 457.5 kB / 0.7729 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.6546, allocations: 248.9 kB / 0.7731 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.658, allocations: 1.554 MB / 0.7746 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.658, allocations: 12 kB / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.658, allocations: 0 / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.658, allocations: 7.922 kB / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/0.6652, allocations: 3.741 MB / 0.7783 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6652, allocations: 7.938 kB / 0.7783 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.6658, allocations: 139.9 kB / 0.7784 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.6673, allocations: 0.5009 MB / 0.7789 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.6674, allocations: 27.97 kB / 0.7789 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.6698, allocations: 1.646 MB / 0.7806 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6698, allocations: 7.938 kB / 0.7806 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/0.6756, allocations: 2.334 MB / 0.7828 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.6767, allocations: 0.5249 MB / 0.7834 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.677, allocations: 20 kB / 0.7834 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.6786, allocations: 199.7 kB / 0.7836 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6787, allocations: 63.81 kB / 0.7836 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.6788, allocations: 35.97 kB / 0.7837 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00274/0.6816, allocations: 1.816 MB / 0.7854 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6816, allocations: 0 / 0.7854 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001769/0.6833, allocations: 0.6906 MB / 0.7861 GB, free: 14.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/0.6845, allocations: 0.6092 MB / 0.7867 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004142/0.6886, allocations: 1.429 MB / 0.7881 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6887, allocations: 0 / 0.7881 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.6909, allocations: 0.7287 MB / 0.7888 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006126/0.6971, allocations: 1.272 MB / 0.7901 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/0.704, allocations: 4.182 MB / 0.7941 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.7052, allocations: 1.536 MB / 0.7956 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002172/0.7074, allocations: 439.9 kB / 0.7961 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.7079, allocations: 175.4 kB / 0.7962 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.7079, allocations: 0 / 0.7962 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.07311/0.7811, allocations: 47.86 MB / 0.843 GB, free: 4.941 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: