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.001556/0.001556, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001496/0.001496, allocations: 187 kB / 17.34 MB, free: 5.762 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.407/1.407, 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.8306/0.8306, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.25 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 80.94 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06221/0.2225, allocations: 61.19 MB / 0.7251 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.2398, allocations: 11.97 MB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.2422, allocations: 55.69 kB / 0.7368 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.2445, allocations: 0.6869 MB / 0.7375 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.2503, allocations: 1.959 MB / 0.7394 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.2537, allocations: 1.204 MB / 0.7406 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004736/0.2585, allocations: 3.079 MB / 0.7436 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.2606, allocations: 1.108 MB / 0.7447 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.2643, allocations: 1.354 MB / 0.746 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.2663, allocations: 0.8984 MB / 0.7469 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.2667, allocations: 116 kB / 0.747 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.2701, allocations: 1.462 MB / 0.7484 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.2706, allocations: 294.8 kB / 0.7487 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4064/0.677, allocations: 0.6812 MB / 0.7494 GB, free: 23.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006678/0.6838, allocations: 2.32 MB / 0.7516 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.6838, allocations: 0 / 0.7516 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.138e-06/0.6838, allocations: 2.812 kB / 0.7516 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.914e-05/0.6839, allocations: 4.062 kB / 0.7516 GB, free: 23.28 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.004003/0.6879, allocations: 1.727 MB / 0.7533 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.688, allocations: 11.98 kB / 0.7533 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.6903, allocations: 409.7 kB / 0.7537 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.6928, allocations: 1.162 MB / 0.7549 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.6929, allocations: 62.62 kB / 0.7549 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.6931, allocations: 84.75 kB / 0.755 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.6954, allocations: 0.9957 MB / 0.756 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6955, allocations: 8.391 kB / 0.756 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.6956, allocations: 37.47 kB / 0.756 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.6956, allocations: 19.44 kB / 0.756 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.6981, allocations: 0.8588 MB / 0.7569 GB, free: 21.77 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.007412/0.7055, allocations: 5.22 MB / 0.762 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.7094, allocations: 0.7892 MB / 0.7628 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.7103, allocations: 305.5 kB / 0.763 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.7109, allocations: 0.9048 MB / 0.7639 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7109, allocations: 36.78 kB / 0.764 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.711, allocations: 2.625 kB / 0.764 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00887/0.7198, allocations: 1.872 MB / 0.7658 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7199, allocations: 56.19 kB / 0.7658 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.7218, allocations: 1.074 MB / 0.7669 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.7219, allocations: 40.98 kB / 0.7669 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.7223, allocations: 0.5278 MB / 0.7674 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.7225, allocations: 150.6 kB / 0.7676 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.7227, allocations: 137.9 kB / 0.7677 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.7228, allocations: 330.1 kB / 0.768 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008795/0.7237, allocations: 307.2 kB / 0.7683 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.7247, allocations: 0.5287 MB / 0.7688 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7263, allocations: 0.7173 MB / 0.7695 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7263, allocations: 2.312 kB / 0.7696 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003647/0.7299, allocations: 1.144 MB / 0.7707 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.73, allocations: 8.375 kB / 0.7707 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.73, allocations: 5.094 kB / 0.7707 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.7312, allocations: 311.5 kB / 0.771 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.7318, allocations: 129 kB / 0.7711 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.7331, allocations: 0.9066 MB / 0.772 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.7346, allocations: 144.2 kB / 0.7721 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.7347, allocations: 31.2 kB / 0.7722 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.736, allocations: 0.5138 MB / 0.7727 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/0.7371, allocations: 0.5305 MB / 0.7732 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001573/0.7387, allocations: 0.7078 MB / 0.7739 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.7387, allocations: 5.469 kB / 0.7739 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003661/0.7423, allocations: 1.129 MB / 0.775 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7424, allocations: 6.375 kB / 0.775 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.7424, allocations: 5.672 kB / 0.775 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.7435, allocations: 303.6 kB / 0.7753 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.7441, allocations: 125.1 kB / 0.7754 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.7454, allocations: 0.8992 MB / 0.7763 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.7469, allocations: 142 kB / 0.7764 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.747, allocations: 31.8 kB / 0.7764 GB, free: 13.93 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.0002878/0.7473, allocations: 216.9 kB / 0.7766 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.7475, allocations: 118.9 kB / 0.7768 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/0.7514, allocations: 1.1 MB / 0.7778 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.7515, allocations: 8.75 kB / 0.7778 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7515, allocations: 1.219 kB / 0.7778 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.7515, allocations: 3.047 kB / 0.7778 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.7573, allocations: 2.179 MB / 0.78 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.7573, allocations: 6.625 kB / 0.78 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.7576, allocations: 67.75 kB / 0.78 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.7586, allocations: 293.7 kB / 0.7803 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.7587, allocations: 16.19 kB / 0.7803 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.76, allocations: 0.9247 MB / 0.7812 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.76, allocations: 9.5 kB / 0.7812 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.7637, allocations: 1.172 MB / 0.7824 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.7643, allocations: 268.5 kB / 0.7826 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7645, allocations: 8.625 kB / 0.7827 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.7653, allocations: 76.72 kB / 0.7827 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7654, allocations: 32.89 kB / 0.7828 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.7655, allocations: 24.95 kB / 0.7828 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001221/0.7667, allocations: 0.7516 MB / 0.7835 GB, free: 12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7667, allocations: 0 / 0.7835 GB, free: 12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001888/0.7686, allocations: 0.5766 MB / 0.7841 GB, free: 11.92 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.0009132/0.7696, allocations: 393 kB / 0.7845 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.7727, allocations: 1.141 MB / 0.7856 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7727, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.7735, allocations: 346.3 kB / 0.7859 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.7759, allocations: 0.5126 MB / 0.7864 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.7808, allocations: 2.041 MB / 0.7884 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.7813, allocations: 1.065 MB / 0.7894 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.7816, allocations: 81.78 kB / 0.7895 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.7816, allocations: 3.562 kB / 0.7895 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.02903/0.8107, allocations: 24.3 MB / 0.8132 GB, free: 11.02 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)