Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006817/0.006817, allocations: 105.6 kB / 15.74 MB, free: 6.008 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.00127/0.001271, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 0.5814 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5656, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05833/0.6239, allocations: 61.2 MB / 0.7195 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.6407, allocations: 11.98 MB / 0.7312 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.6434, allocations: 63.62 kB / 0.7312 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.6454, allocations: 0.6909 MB / 0.7319 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.6511, allocations: 2.071 MB / 0.7339 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.6541, allocations: 1.203 MB / 0.7351 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004317/0.6584, allocations: 3.095 MB / 0.7381 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.6599, allocations: 1.1 MB / 0.7392 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.6631, allocations: 1.368 MB / 0.7405 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.6646, allocations: 0.8944 MB / 0.7414 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.6647, allocations: 116 kB / 0.7415 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.6677, allocations: 1.454 MB / 0.7429 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.668, allocations: 298.8 kB / 0.7432 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.6688, allocations: 0.6959 MB / 0.7439 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.6722, allocations: 2.316 MB / 0.7462 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6723, allocations: 0 / 0.7462 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6723, allocations: 0 / 0.7462 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.6723, allocations: 4 kB / 0.7462 GB, free: 13.39 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002976/0.6753, allocations: 1.726 MB / 0.7478 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6753, allocations: 8.031 kB / 0.7479 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.6775, allocations: 414.6 kB / 0.7482 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.6795, allocations: 1.163 MB / 0.7494 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.6796, allocations: 66 kB / 0.7494 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.6797, allocations: 80 kB / 0.7495 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.6817, allocations: 1.001 MB / 0.7505 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6817, allocations: 4 kB / 0.7505 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.6818, allocations: 32 kB / 0.7505 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.6818, allocations: 19.94 kB / 0.7506 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.684, allocations: 0.8664 MB / 0.7514 GB, free: 7.84 MB / 0.5762 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.006169/0.6901, allocations: 5.228 MB / 0.7565 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.6934, allocations: 0.7864 MB / 0.7573 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.6941, allocations: 304.6 kB / 0.7576 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.6947, allocations: 0.9063 MB / 0.7585 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6947, allocations: 34.56 kB / 0.7585 GB, free: 16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.6947, allocations: 4 kB / 0.7585 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.008213/0.703, allocations: 1.853 MB / 0.7603 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.703, allocations: 63.34 kB / 0.7604 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.7048, allocations: 1.072 MB / 0.7614 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.7049, allocations: 33.7 kB / 0.7614 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.7054, allocations: 0.5351 MB / 0.762 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7055, allocations: 157.7 kB / 0.7621 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.7058, allocations: 134.2 kB / 0.7622 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7059, allocations: 330 kB / 0.7626 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008727/0.7067, allocations: 303.3 kB / 0.7628 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.7078, allocations: 0.5368 MB / 0.7634 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7095, allocations: 0.7114 MB / 0.7641 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7095, allocations: 3.938 kB / 0.7641 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003595/0.7131, allocations: 1.141 MB / 0.7652 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7131, allocations: 8 kB / 0.7652 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.7132, allocations: 7.984 kB / 0.7652 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.7144, allocations: 316.7 kB / 0.7655 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.7149, allocations: 127.8 kB / 0.7656 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.7164, allocations: 0.8996 MB / 0.7665 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.7176, allocations: 151.2 kB / 0.7666 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.7177, allocations: 35.98 kB / 0.7667 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001176/0.7189, allocations: 0.5129 MB / 0.7672 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.7199, allocations: 0.5292 MB / 0.7677 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.7215, allocations: 0.6979 MB / 0.7684 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.63e-06/0.7215, allocations: 7.938 kB / 0.7684 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003444/0.725, allocations: 1.141 MB / 0.7695 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.725, allocations: 4 kB / 0.7695 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.725, allocations: 8 kB / 0.7695 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.7261, allocations: 300.7 kB / 0.7698 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.7266, allocations: 127.7 kB / 0.7699 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.728, allocations: 0.8958 MB / 0.7708 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.7293, allocations: 143.5 kB / 0.7709 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.7294, allocations: 31.98 kB / 0.771 GB, free: 2.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.7297, allocations: 216.1 kB / 0.7712 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.7299, allocations: 110.6 kB / 0.7713 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.7337, allocations: 1.104 MB / 0.7723 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.7337, allocations: 4 kB / 0.7724 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.7338, allocations: 3.984 kB / 0.7724 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7338, allocations: 0 / 0.7724 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/0.7391, allocations: 2.18 MB / 0.7745 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.7391, allocations: 8.031 kB / 0.7745 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.7394, allocations: 63.83 kB / 0.7746 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009947/0.7404, allocations: 294.5 kB / 0.7748 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.7405, allocations: 19.98 kB / 0.7749 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.7422, allocations: 0.923 MB / 0.7758 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7422, allocations: 7.969 kB / 0.7758 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.7462, allocations: 1.173 MB / 0.7769 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/0.747, allocations: 263.5 kB / 0.7772 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.7474, allocations: 16 kB / 0.7772 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.7485, allocations: 71.91 kB / 0.7772 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.7486, allocations: 35.89 kB / 0.7773 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.7487, allocations: 23.98 kB / 0.7773 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001511/0.7502, allocations: 0.7512 MB / 0.778 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7503, allocations: 0 / 0.778 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002042/0.7523, allocations: 0.5732 MB / 0.7786 GB, free: 10.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000972/0.7533, allocations: 395.2 kB / 0.779 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003348/0.7566, allocations: 1.133 MB / 0.7801 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7567, allocations: 0 / 0.7801 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.7575, allocations: 350.5 kB / 0.7804 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.76, allocations: 0.5063 MB / 0.7809 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.7656, allocations: 2.02 MB / 0.7829 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.7664, allocations: 1.061 MB / 0.7839 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009523/0.7673, allocations: 232.3 kB / 0.7841 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.7676, allocations: 79.42 kB / 0.7842 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.7676, allocations: 0 / 0.7842 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.04419/0.8118, allocations: 25.29 MB / 0.8089 GB, free: 11.92 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)