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.001085/0.001086, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.66 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2135, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4461/0.6597, allocations: 132.2 MB / 0.7134 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0407/0.7004, allocations: 23.21 MB / 0.7361 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006328/0.7068, allocations: 124.5 kB / 0.7362 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005232/0.7121, allocations: 1.493 MB / 0.7377 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/0.7261, allocations: 4.087 MB / 0.7417 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007053/0.7332, allocations: 2.147 MB / 0.7438 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01337/0.7465, allocations: 6.522 MB / 0.7501 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005892/0.7525, allocations: 2.359 MB / 0.7524 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009234/0.7617, allocations: 2.753 MB / 0.7551 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00457/0.7663, allocations: 1.882 MB / 0.757 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.7677, allocations: 252 kB / 0.7572 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006731/0.7744, allocations: 1.934 MB / 0.7591 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.7759, allocations: 0.607 MB / 0.7597 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003545/0.7794, allocations: 1.458 MB / 0.7611 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009828/0.7893, allocations: 4.335 MB / 0.7653 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7893, allocations: 0 / 0.7653 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7893, allocations: 4 kB / 0.7654 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001559/0.7895, allocations: 0 / 0.7654 GB, free: 3.625 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.008984/0.7985, allocations: 3.188 MB / 0.7685 GB, free: 360 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7985, allocations: 8.031 kB / 0.7685 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.8038, allocations: 0.8478 MB / 0.7693 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/0.8098, allocations: 2.195 MB / 0.7714 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/0.8108, allocations: 294.9 kB / 0.7717 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.8113, allocations: 156 kB / 0.7719 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.8164, allocations: 1.95 MB / 0.7738 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.8165, allocations: 0 / 0.7738 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.8167, allocations: 60 kB / 0.7738 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.8167, allocations: 43.94 kB / 0.7739 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005048/0.8218, allocations: 1.827 MB / 0.7757 GB, free: 8.836 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.0146/0.8364, allocations: 9.081 MB / 0.7845 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.8408, allocations: 1.192 MB / 0.7857 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.8419, allocations: 463 kB / 0.7861 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.8431, allocations: 1.719 MB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.8432, allocations: 54.19 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 4.569e-06/0.8432, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008877/0.8521, allocations: 2.339 MB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.8522, allocations: 85.11 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.8571, allocations: 2.548 MB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.8573, allocations: 45.7 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.8584, allocations: 1.034 MB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.8587, allocations: 264.2 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005745/0.8593, allocations: 262.5 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8595, allocations: 349.9 kB / 0.7946 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.8614, allocations: 0.5842 MB / 0.7952 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.8637, allocations: 0.9699 MB / 0.7961 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.8669, allocations: 1.257 MB / 0.7974 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.8669, allocations: 4 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.008052/0.875, allocations: 2.055 MB / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.8751, allocations: 8 kB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.8751, allocations: 8.625 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.8773, allocations: 497 kB / 0.7999 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.8786, allocations: 283.6 kB / 0.8001 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.8809, allocations: 1.517 MB / 0.8016 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/0.8841, allocations: 392.9 kB / 0.802 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.8843, allocations: 67.89 kB / 0.802 GB, free: 12.36 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.001117/0.8855, allocations: 461.9 kB / 0.8025 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/0.8863, allocations: 252.8 kB / 0.8027 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.8904, allocations: 1.506 MB / 0.8042 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.8905, allocations: 11.98 kB / 0.8042 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8905, allocations: 4 kB / 0.8042 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8905, allocations: 3.984 kB / 0.8042 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008707/0.8992, allocations: 3.629 MB / 0.8078 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.8993, allocations: 7.938 kB / 0.8078 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.8999, allocations: 128.2 kB / 0.8079 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.9017, allocations: 490.4 kB / 0.8084 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.9018, allocations: 19.98 kB / 0.8084 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/0.9047, allocations: 1.594 MB / 0.8099 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9047, allocations: 8 kB / 0.8099 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00648/0.9112, allocations: 1.935 MB / 0.8118 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.9126, allocations: 489.6 kB / 0.8123 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/0.9133, allocations: 23.98 kB / 0.8123 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.9153, allocations: 139.8 kB / 0.8125 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9154, allocations: 59.86 kB / 0.8125 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.9155, allocations: 39.97 kB / 0.8125 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003968/0.9195, allocations: 1.789 MB / 0.8143 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.31e-07/0.9195, allocations: 3.938 kB / 0.8143 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002636/0.9222, allocations: 0.6983 MB / 0.815 GB, free: 14.84 MB / 0.6387 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.001328/0.9235, allocations: 0.6039 MB / 0.8156 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004554/0.9281, allocations: 1.401 MB / 0.8169 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9281, allocations: 0 / 0.8169 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.9305, allocations: 0.6743 MB / 0.8176 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007274/0.9378, allocations: 1.33 MB / 0.8189 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.9449, allocations: 3.61 MB / 0.8224 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.9461, allocations: 1.486 MB / 0.8239 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002229/0.9484, allocations: 444.4 kB / 0.8243 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.9489, allocations: 167.4 kB / 0.8245 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9489, allocations: 0 / 0.8245 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of Templates: time 0.3885/1.337, allocations: 51.19 MB / 0.8744 GB, free: 198.5 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)