Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001358/0.001358, allocations: 107 kB / 16.41 MB, free: 5.984 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.001299/0.001299, allocations: 189.6 kB / 17.34 MB, free: 5.578 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8899/0.8899, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.22 kB / 0.5864 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1742, allocations: 80.93 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06871/0.2429, allocations: 61.3 MB / 0.7253 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.2618, allocations: 11.99 MB / 0.737 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.2643, allocations: 59.62 kB / 0.737 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.2666, allocations: 0.7102 MB / 0.7377 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006447/0.273, allocations: 2.06 MB / 0.7397 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.2767, allocations: 1.213 MB / 0.7409 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005412/0.2821, allocations: 3.075 MB / 0.7439 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.2838, allocations: 0.9007 MB / 0.7448 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.2876, allocations: 1.378 MB / 0.7461 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.2893, allocations: 0.8945 MB / 0.747 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.2896, allocations: 115.9 kB / 0.7471 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.2926, allocations: 1.458 MB / 0.7486 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3919/0.6846, allocations: 307.3 kB / 0.7488 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.686, allocations: 0.6908 MB / 0.7495 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.6909, allocations: 2.326 MB / 0.7518 GB, free: 23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6909, allocations: 0 / 0.7518 GB, free: 23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6909, allocations: 0 / 0.7518 GB, free: 23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.691, allocations: 0 / 0.7518 GB, free: 23 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.003603/0.6946, allocations: 1.774 MB / 0.7535 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6946, allocations: 10.14 kB / 0.7535 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.6969, allocations: 418.3 kB / 0.7539 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.6993, allocations: 1.173 MB / 0.7551 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.6994, allocations: 65.84 kB / 0.7551 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6995, allocations: 79.84 kB / 0.7552 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.7019, allocations: 1.002 MB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.7019, allocations: 2.547 kB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.702, allocations: 36.94 kB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.702, allocations: 19.31 kB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.7045, allocations: 0.856 MB / 0.7571 GB, free: 21.36 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.007589/0.7121, allocations: 5.236 MB / 0.7622 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.7159, allocations: 0.7634 MB / 0.7629 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.7167, allocations: 283 kB / 0.7632 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/0.7172, allocations: 0.9069 MB / 0.7641 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7173, allocations: 38.59 kB / 0.7641 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.7173, allocations: 0 / 0.7641 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008728/0.726, allocations: 1.865 MB / 0.766 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.726, allocations: 56.56 kB / 0.766 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.7282, allocations: 1.074 MB / 0.7671 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.7283, allocations: 37.42 kB / 0.7671 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.7287, allocations: 0.539 MB / 0.7676 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.7289, allocations: 163.8 kB / 0.7678 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.7291, allocations: 136.4 kB / 0.7679 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.7292, allocations: 328.3 kB / 0.7682 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008598/0.7301, allocations: 313.1 kB / 0.7685 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.7312, allocations: 0.5274 MB / 0.769 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.7331, allocations: 0.7108 MB / 0.7697 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.7331, allocations: 4.531 kB / 0.7697 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004183/0.7373, allocations: 1.145 MB / 0.7709 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7373, allocations: 6.625 kB / 0.7709 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7373, allocations: 8.672 kB / 0.7709 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7386, allocations: 303.6 kB / 0.7712 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.7392, allocations: 132.6 kB / 0.7713 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.7406, allocations: 0.9038 MB / 0.7722 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.742, allocations: 152.2 kB / 0.7723 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.7421, allocations: 31.55 kB / 0.7723 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.7435, allocations: 0.5095 MB / 0.7728 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.7445, allocations: 0.5308 MB / 0.7734 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001722/0.7462, allocations: 0.7149 MB / 0.7741 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.734e-06/0.7462, allocations: 1.312 kB / 0.7741 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003824/0.7501, allocations: 1.132 MB / 0.7752 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.7501, allocations: 8.125 kB / 0.7752 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7501, allocations: 4.406 kB / 0.7752 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.7513, allocations: 300.3 kB / 0.7755 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.7519, allocations: 126.9 kB / 0.7756 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.7533, allocations: 0.9038 MB / 0.7765 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.755, allocations: 139.4 kB / 0.7766 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.7551, allocations: 31.62 kB / 0.7766 GB, free: 13.5 MB / 0.5762 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.0002909/0.7554, allocations: 221.3 kB / 0.7768 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.7558, allocations: 121.5 kB / 0.777 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.7598, allocations: 1.095 MB / 0.778 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.7598, allocations: 5.719 kB / 0.778 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.7598, allocations: 1.281 kB / 0.778 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.7598, allocations: 1.594 kB / 0.778 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/0.7658, allocations: 2.178 MB / 0.7802 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.7659, allocations: 2.5 kB / 0.7802 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.7661, allocations: 68.2 kB / 0.7802 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.7672, allocations: 292.4 kB / 0.7805 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.7672, allocations: 16.64 kB / 0.7805 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.7686, allocations: 0.9306 MB / 0.7814 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7686, allocations: 2.406 kB / 0.7814 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/0.7724, allocations: 1.175 MB / 0.7826 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.7731, allocations: 275.3 kB / 0.7828 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.7734, allocations: 12 kB / 0.7829 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.7745, allocations: 72.14 kB / 0.7829 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7746, allocations: 33.27 kB / 0.783 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.7747, allocations: 23.53 kB / 0.783 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001508/0.7762, allocations: 0.7632 MB / 0.7837 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7762, allocations: 3.562 kB / 0.7837 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002401/0.7786, allocations: 0.5754 MB / 0.7843 GB, free: 11.46 MB / 0.5762 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.001179/0.7798, allocations: 390.7 kB / 0.7847 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.7834, allocations: 1.086 MB / 0.7857 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7834, allocations: 3.5 kB / 0.7857 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.7844, allocations: 332.5 kB / 0.786 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.7875, allocations: 0.505 MB / 0.7865 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.7933, allocations: 2.1 MB / 0.7886 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.7939, allocations: 1.058 MB / 0.7896 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.7943, allocations: 86.06 kB / 0.7897 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.7943, allocations: 4 kB / 0.7897 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of Templates: time 0.03408/0.8284, allocations: 24.39 MB / 0.8135 GB, free: 10.62 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)