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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0007594/0.0007595, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008042/0.0008043, allocations: 168.7 kB / 15.95 MB, free: 204 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.28/1.28, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7315/0.7315, allocations: 132.4 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 16 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 81.56 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1177/0.4701, allocations: 122.2 MB / 0.7024 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.4983, allocations: 21.75 MB / 0.7236 GB, free: 308 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/0.5019, allocations: 107.2 kB / 0.7237 GB, free: 200 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.5053, allocations: 1.005 MB / 0.7247 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.5145, allocations: 3.161 MB / 0.7278 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.5191, allocations: 1.519 MB / 0.7293 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008311/0.5274, allocations: 7.189 MB / 0.7363 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.5303, allocations: 1.684 MB / 0.7379 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.5347, allocations: 2.158 MB / 0.74 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.5376, allocations: 1.676 MB / 0.7417 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.5381, allocations: 92 kB / 0.7418 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.5416, allocations: 1.224 MB / 0.743 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.5422, allocations: 417.9 kB / 0.7434 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009918/0.5432, allocations: 0.555 MB / 0.7439 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.5471, allocations: 3.141 MB / 0.747 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5471, allocations: 0 / 0.747 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5471, allocations: 0 / 0.747 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.302e-05/0.5472, allocations: 0 / 0.747 GB, free: 8.297 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005283/0.5525, allocations: 2.701 MB / 0.7496 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5526, allocations: 12.03 kB / 0.7496 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.5566, allocations: 0.9567 MB / 0.7506 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.5604, allocations: 2.183 MB / 0.7527 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008442/0.5613, allocations: 326.8 kB / 0.753 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.5615, allocations: 164 kB / 0.7532 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.5653, allocations: 1.969 MB / 0.7551 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.5653, allocations: 3.938 kB / 0.7551 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.5655, allocations: 60 kB / 0.7551 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.5655, allocations: 43.94 kB / 0.7552 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.57, allocations: 1.901 MB / 0.757 GB, free: 13.76 MB / 0.5919 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.01105/0.581, allocations: 9.102 MB / 0.7659 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.585, allocations: 1.302 MB / 0.7672 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.586, allocations: 477.4 kB / 0.7677 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.5871, allocations: 1.726 MB / 0.7693 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5871, allocations: 46.5 kB / 0.7694 GB, free: 100 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.5871, allocations: 0 / 0.7694 GB, free: 100 kB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007679/0.5948, allocations: 2.506 MB / 0.7718 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.5949, allocations: 85.11 kB / 0.7719 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.5984, allocations: 2.513 MB / 0.7744 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.5985, allocations: 45.7 kB / 0.7744 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008423/0.5993, allocations: 1.042 MB / 0.7754 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.5996, allocations: 272.2 kB / 0.7757 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.5996, allocations: 24 kB / 0.7757 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5998, allocations: 353.9 kB / 0.776 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.6014, allocations: 0.6271 MB / 0.7767 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.6033, allocations: 1.001 MB / 0.7776 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.605, allocations: 0.6857 MB / 0.7783 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.605, allocations: 0 / 0.7783 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00452/0.6095, allocations: 1.96 MB / 0.7802 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6096, allocations: 10.81 kB / 0.7802 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6096, allocations: 8 kB / 0.7802 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.6112, allocations: 0.505 MB / 0.7807 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6124, allocations: 311.5 kB / 0.781 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.6144, allocations: 1.564 MB / 0.7826 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.617, allocations: 477.9 kB / 0.783 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6171, allocations: 59.97 kB / 0.7831 GB, free: 1.75 MB / 0.6075 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.000775/0.6179, allocations: 461.4 kB / 0.7835 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.6182, allocations: 245 kB / 0.7837 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.6216, allocations: 1.562 MB / 0.7853 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.6216, allocations: 8 kB / 0.7853 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6216, allocations: 0 / 0.7853 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6217, allocations: 3.984 kB / 0.7853 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.6285, allocations: 3.705 MB / 0.7889 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6285, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.6291, allocations: 136.2 kB / 0.789 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.6307, allocations: 0.501 MB / 0.7895 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.6308, allocations: 27.98 kB / 0.7895 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.6332, allocations: 1.643 MB / 0.7912 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6332, allocations: 0 / 0.7912 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.6385, allocations: 2.076 MB / 0.7932 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008421/0.6394, allocations: 0.5092 MB / 0.7937 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.6398, allocations: 16 kB / 0.7937 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.6415, allocations: 203.6 kB / 0.7939 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.6416, allocations: 59.86 kB / 0.7939 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.6416, allocations: 48.02 kB / 0.794 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00277/0.6444, allocations: 1.769 MB / 0.7957 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6444, allocations: 0 / 0.7957 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001754/0.6462, allocations: 0.6787 MB / 0.7964 GB, free: 3.844 MB / 0.6231 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.00097/0.6472, allocations: 0.5756 MB / 0.7969 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.6509, allocations: 1.424 MB / 0.7983 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.651, allocations: 0 / 0.7983 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.6531, allocations: 0.7287 MB / 0.799 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/0.6583, allocations: 1.27 MB / 0.8003 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.6649, allocations: 4.198 MB / 0.8044 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.6661, allocations: 1.482 MB / 0.8058 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001829/0.6679, allocations: 440.5 kB / 0.8062 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.6683, allocations: 171.4 kB / 0.8064 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6683, allocations: 0 / 0.8064 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.3101/0.9784, allocations: 46.93 MB / 0.8522 GB, free: 194.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (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)