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.001262/0.001262, allocations: 112.3 kB / 16.41 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.001235/0.001235, allocations: 185 kB / 17.34 MB, free: 5.629 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.14 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 80.2 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06527/0.2356, allocations: 61.2 MB / 0.7201 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.256, allocations: 11.98 MB / 0.7318 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.2587, allocations: 59.62 kB / 0.7319 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2611, allocations: 0.6752 MB / 0.7325 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.2676, allocations: 1.965 MB / 0.7345 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.2714, allocations: 1.213 MB / 0.7356 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.2763, allocations: 3.075 MB / 0.7386 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.2784, allocations: 1.107 MB / 0.7397 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.2822, allocations: 1.359 MB / 0.741 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.2843, allocations: 0.8991 MB / 0.7419 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.2848, allocations: 116 kB / 0.742 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.2883, allocations: 1.454 MB / 0.7435 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.2888, allocations: 298.8 kB / 0.7437 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.2903, allocations: 0.688 MB / 0.7444 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.2954, allocations: 2.321 MB / 0.7467 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2954, allocations: 4 kB / 0.7467 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2954, allocations: 0 / 0.7467 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.47e-05/0.2955, allocations: 0 / 0.7467 GB, free: 1.531 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.4379/0.7334, allocations: 1.723 MB / 0.7484 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.7334, allocations: 12.55 kB / 0.7484 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.736, allocations: 409.6 kB / 0.7488 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.7391, allocations: 1.165 MB / 0.7499 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.7392, allocations: 66.69 kB / 0.75 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.7393, allocations: 79.12 kB / 0.75 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.7418, allocations: 1.001 MB / 0.751 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.7418, allocations: 5.219 kB / 0.751 GB, free: 85.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.7419, allocations: 32.73 kB / 0.7511 GB, free: 85.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.7419, allocations: 19.94 kB / 0.7511 GB, free: 85.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.7441, allocations: 0.8621 MB / 0.7519 GB, free: 85.39 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.006452/0.7506, allocations: 5.214 MB / 0.757 GB, free: 81.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.7541, allocations: 0.7995 MB / 0.7578 GB, free: 81.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.7549, allocations: 295.4 kB / 0.7581 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.7554, allocations: 0.9063 MB / 0.759 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7555, allocations: 37.06 kB / 0.759 GB, free: 80 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.7555, allocations: 0.75 kB / 0.759 GB, free: 80 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009053/0.7645, allocations: 1.863 MB / 0.7608 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.7646, allocations: 55.56 kB / 0.7609 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.7668, allocations: 1.075 MB / 0.7619 GB, free: 79.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.767, allocations: 38.14 kB / 0.762 GB, free: 79.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.7674, allocations: 0.5299 MB / 0.7625 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.7675, allocations: 156.3 kB / 0.7626 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.7678, allocations: 135.9 kB / 0.7628 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.7679, allocations: 330.5 kB / 0.7631 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.7688, allocations: 311 kB / 0.7634 GB, free: 78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.7699, allocations: 0.5286 MB / 0.7639 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.7716, allocations: 0.7204 MB / 0.7646 GB, free: 77.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7716, allocations: 2.188 kB / 0.7646 GB, free: 77.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003744/0.7754, allocations: 1.139 MB / 0.7657 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7754, allocations: 8.094 kB / 0.7657 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.7754, allocations: 6.25 kB / 0.7657 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.7767, allocations: 316 kB / 0.766 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.7773, allocations: 128.3 kB / 0.7661 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.7787, allocations: 0.9002 MB / 0.767 GB, free: 76.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7801, allocations: 151.2 kB / 0.7672 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.7802, allocations: 38.91 kB / 0.7672 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001237/0.7814, allocations: 0.5081 MB / 0.7677 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/0.7825, allocations: 0.531 MB / 0.7682 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001694/0.7842, allocations: 0.7067 MB / 0.7689 GB, free: 75.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.868e-06/0.7843, allocations: 1.469 kB / 0.7689 GB, free: 75.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003442/0.7877, allocations: 1.131 MB / 0.77 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7877, allocations: 6.875 kB / 0.77 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7878, allocations: 11.8 kB / 0.77 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7889, allocations: 293.7 kB / 0.7703 GB, free: 74.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.7894, allocations: 136.1 kB / 0.7704 GB, free: 74.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.7907, allocations: 0.8931 MB / 0.7713 GB, free: 73.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.792, allocations: 130.5 kB / 0.7714 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.7921, allocations: 34.89 kB / 0.7715 GB, free: 73.7 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.0002663/0.7924, allocations: 223.4 kB / 0.7717 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.7927, allocations: 115.6 kB / 0.7718 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.7964, allocations: 1.098 MB / 0.7729 GB, free: 72.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.7964, allocations: 12.28 kB / 0.7729 GB, free: 72.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7964, allocations: 4 kB / 0.7729 GB, free: 72.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.7965, allocations: 5.078 kB / 0.7729 GB, free: 72.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.8018, allocations: 2.183 MB / 0.775 GB, free: 71.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.8018, allocations: 1.625 kB / 0.775 GB, free: 71.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.8021, allocations: 61.67 kB / 0.7751 GB, free: 71.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/0.803, allocations: 302.8 kB / 0.7754 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.8031, allocations: 18.11 kB / 0.7754 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.8044, allocations: 0.922 MB / 0.7763 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.8045, allocations: 6.25 kB / 0.7763 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.808, allocations: 1.166 MB / 0.7774 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.8086, allocations: 264.4 kB / 0.7777 GB, free: 69.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.8089, allocations: 12.06 kB / 0.7777 GB, free: 69.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.8098, allocations: 70.53 kB / 0.7778 GB, free: 69.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.8099, allocations: 47.3 kB / 0.7778 GB, free: 69.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.81, allocations: 24.78 kB / 0.7778 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001363/0.8114, allocations: 0.748 MB / 0.7786 GB, free: 68.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8114, allocations: 4 kB / 0.7786 GB, free: 68.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002023/0.8134, allocations: 0.573 MB / 0.7791 GB, free: 68.88 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.0009285/0.8143, allocations: 400.9 kB / 0.7795 GB, free: 68.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003232/0.8176, allocations: 1.121 MB / 0.7806 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8176, allocations: 3.938 kB / 0.7806 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.8185, allocations: 353.7 kB / 0.7809 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.8212, allocations: 0.5068 MB / 0.7814 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.8264, allocations: 2.056 MB / 0.7834 GB, free: 66.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.8269, allocations: 1.062 MB / 0.7845 GB, free: 65.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.8272, allocations: 90.03 kB / 0.7846 GB, free: 65.67 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.8272, allocations: 0 / 0.7846 GB, free: 65.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.02957/0.8568, allocations: 24.31 MB / 0.8083 GB, free: 42.31 MB / 0.5762 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)