Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001571/0.001571, 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.001652/0.001652, allocations: 191.6 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9892/0.9892, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 62.69 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1606, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.385/0.5457, allocations: 131 MB / 0.7124 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0374/0.5831, allocations: 23.04 MB / 0.7349 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005484/0.5886, allocations: 115 kB / 0.735 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.5934, allocations: 1.28 MB / 0.7363 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01404/0.6075, allocations: 3.803 MB / 0.74 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006682/0.6142, allocations: 1.985 MB / 0.7419 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.6256, allocations: 6.584 MB / 0.7484 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005655/0.6313, allocations: 2.356 MB / 0.7507 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/0.6396, allocations: 2.764 MB / 0.7534 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/0.644, allocations: 1.952 MB / 0.7553 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009622/0.645, allocations: 244 kB / 0.7555 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/0.6513, allocations: 1.957 MB / 0.7574 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.6525, allocations: 0.6109 MB / 0.758 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003565/0.6561, allocations: 1.458 MB / 0.7594 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009211/0.6653, allocations: 4.358 MB / 0.7637 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6653, allocations: 0 / 0.7637 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6654, allocations: 0 / 0.7637 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001109/0.6655, allocations: 0 / 0.7637 GB, free: 4.977 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.008038/0.6735, allocations: 3.184 MB / 0.7668 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.6736, allocations: 12.03 kB / 0.7668 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.6786, allocations: 0.8362 MB / 0.7676 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.6842, allocations: 2.258 MB / 0.7698 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.6852, allocations: 298.8 kB / 0.7701 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005067/0.6857, allocations: 160 kB / 0.7703 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.691, allocations: 1.938 MB / 0.7722 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.6911, allocations: 0 / 0.7722 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.6913, allocations: 64 kB / 0.7722 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.6914, allocations: 39.94 kB / 0.7723 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005081/0.6965, allocations: 1.831 MB / 0.7741 GB, free: 10.14 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.01658/0.7131, allocations: 9.041 MB / 0.7829 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.7176, allocations: 1.204 MB / 0.7841 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.7188, allocations: 453.4 kB / 0.7845 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.7203, allocations: 1.723 MB / 0.7862 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.7203, allocations: 46.31 kB / 0.7862 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/0.7203, allocations: 0 / 0.7862 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009355/0.7297, allocations: 2.332 MB / 0.7885 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.7298, allocations: 89.05 kB / 0.7886 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/0.7352, allocations: 2.516 MB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.7354, allocations: 49.7 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.7365, allocations: 1.045 MB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.737, allocations: 276 kB / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005908/0.7376, allocations: 254.6 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7378, allocations: 349.9 kB / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.7396, allocations: 0.5881 MB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.7419, allocations: 0.966 MB / 0.7945 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.7452, allocations: 1.265 MB / 0.7957 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.7453, allocations: 0 / 0.7957 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007284/0.7526, allocations: 2.051 MB / 0.7977 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.7526, allocations: 8 kB / 0.7977 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.7526, allocations: 8 kB / 0.7977 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.7547, allocations: 493.5 kB / 0.7982 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.756, allocations: 295.6 kB / 0.7985 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.7585, allocations: 1.513 MB / 0.7999 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.7618, allocations: 433.9 kB / 0.8004 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.762, allocations: 63.97 kB / 0.8004 GB, free: 13.66 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.7631, allocations: 460.2 kB / 0.8009 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/0.7639, allocations: 252.8 kB / 0.8011 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.768, allocations: 1.501 MB / 0.8026 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/0.7681, allocations: 16 kB / 0.8026 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7681, allocations: 0 / 0.8026 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.7681, allocations: 3.984 kB / 0.8026 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009049/0.7772, allocations: 3.614 MB / 0.8061 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.7772, allocations: 4 kB / 0.8061 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.7778, allocations: 128.2 kB / 0.8062 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.7798, allocations: 497 kB / 0.8067 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/0.7799, allocations: 23.98 kB / 0.8067 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.7829, allocations: 1.595 MB / 0.8083 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.7829, allocations: 11.88 kB / 0.8083 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006568/0.7895, allocations: 1.928 MB / 0.8102 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.7909, allocations: 493.5 kB / 0.8107 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006183/0.7915, allocations: 19.98 kB / 0.8107 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/0.7937, allocations: 175.7 kB / 0.8108 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.7938, allocations: 55.81 kB / 0.8109 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7939, allocations: 43.97 kB / 0.8109 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003857/0.7978, allocations: 1.769 MB / 0.8127 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7978, allocations: 0 / 0.8127 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002445/0.8002, allocations: 0.6788 MB / 0.8133 GB, free: 172 kB / 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.8017, allocations: 0.5913 MB / 0.8139 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.8062, allocations: 1.397 MB / 0.8153 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8063, allocations: 0 / 0.8153 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.8088, allocations: 0.6781 MB / 0.8159 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007164/0.8159, allocations: 1.333 MB / 0.8172 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.8244, allocations: 4.318 MB / 0.8215 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.826, allocations: 1.486 MB / 0.8229 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002408/0.8284, allocations: 440 kB / 0.8233 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.829, allocations: 175.4 kB / 0.8235 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/0.829, allocations: 0 / 0.8235 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of Templates: time 0.3257/1.155, allocations: 50.46 MB / 0.8728 GB, free: 198.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)