Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 108 kB / 15.61 MB, free: 148 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.001401/0.001401, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.25 kB / 0.5053 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1843, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3358/0.5201, allocations: 61.23 MB / 0.6442 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.5347, allocations: 12 MB / 0.6559 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.5371, allocations: 61 kB / 0.6559 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.5388, allocations: 0.6746 MB / 0.6566 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.5438, allocations: 1.965 MB / 0.6585 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5467, allocations: 1.207 MB / 0.6597 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.5506, allocations: 3.096 MB / 0.6627 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.5524, allocations: 1.113 MB / 0.6638 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.5558, allocations: 1.33 MB / 0.6651 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.5579, allocations: 0.9067 MB / 0.666 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004643/0.5584, allocations: 120.6 kB / 0.6661 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.5622, allocations: 1.429 MB / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000581/0.5628, allocations: 293.9 kB / 0.6678 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.5644, allocations: 0.7053 MB / 0.6685 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.569, allocations: 2.289 MB / 0.6707 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.569, allocations: 1.062 kB / 0.6707 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.569, allocations: 0 / 0.6707 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.5691, allocations: 0 / 0.6707 GB, free: 1.02 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00377/0.5728, allocations: 1.748 MB / 0.6724 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5729, allocations: 10.53 kB / 0.6724 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.5753, allocations: 406.4 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.5776, allocations: 1.122 MB / 0.6739 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/0.578, allocations: 119.7 kB / 0.674 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5781, allocations: 79.75 kB / 0.6741 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.5804, allocations: 1.019 MB / 0.6751 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5804, allocations: 8.922 kB / 0.6751 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.5805, allocations: 40.62 kB / 0.6751 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.5805, allocations: 20.06 kB / 0.6751 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.5831, allocations: 0.8925 MB / 0.676 GB, free: 14.15 MB / 0.5137 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.008382/0.5915, allocations: 5.278 MB / 0.6812 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.5956, allocations: 0.7989 MB / 0.682 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.5966, allocations: 310.7 kB / 0.6823 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/0.5976, allocations: 0.9049 MB / 0.6831 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.5976, allocations: 37.94 kB / 0.6832 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.818e-06/0.5976, allocations: 0 / 0.6832 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009357/0.607, allocations: 1.967 MB / 0.6851 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.6071, allocations: 59.92 kB / 0.6851 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.6094, allocations: 1.082 MB / 0.6862 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.6097, allocations: 33.7 kB / 0.6862 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.6102, allocations: 0.5375 MB / 0.6868 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.6104, allocations: 152.2 kB / 0.6869 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.6106, allocations: 142.7 kB / 0.687 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6108, allocations: 326.6 kB / 0.6874 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.6118, allocations: 327.3 kB / 0.6877 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.613, allocations: 0.5583 MB / 0.6882 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.615, allocations: 0.7535 MB / 0.6889 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.615, allocations: 5.5 kB / 0.689 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004168/0.6192, allocations: 1.202 MB / 0.6901 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6192, allocations: 6.688 kB / 0.6901 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.6193, allocations: 5.938 kB / 0.6901 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.6206, allocations: 314.2 kB / 0.6904 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.6213, allocations: 138.6 kB / 0.6906 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.6228, allocations: 0.9137 MB / 0.6915 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6243, allocations: 163.3 kB / 0.6916 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.6244, allocations: 36.38 kB / 0.6917 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00142/0.6259, allocations: 0.5305 MB / 0.6922 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001135/0.627, allocations: 0.5492 MB / 0.6927 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001853/0.6289, allocations: 0.7458 MB / 0.6934 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/0.6289, allocations: 1.312 kB / 0.6934 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003918/0.6328, allocations: 1.194 MB / 0.6946 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6328, allocations: 6.875 kB / 0.6946 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6328, allocations: 6.031 kB / 0.6946 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.6341, allocations: 308.4 kB / 0.6949 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.6347, allocations: 146.2 kB / 0.695 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.6363, allocations: 0.903 MB / 0.6959 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6377, allocations: 154.8 kB / 0.6961 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.6378, allocations: 30.55 kB / 0.6961 GB, free: 2.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002597/0.6381, allocations: 219.7 kB / 0.6963 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.6384, allocations: 112.8 kB / 0.6964 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.6427, allocations: 1.137 MB / 0.6975 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.6428, allocations: 9.781 kB / 0.6975 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6428, allocations: 1.125 kB / 0.6975 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6428, allocations: 6.141 kB / 0.6976 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.6489, allocations: 2.222 MB / 0.6997 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6489, allocations: 2.75 kB / 0.6997 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6492, allocations: 72.95 kB / 0.6998 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.6503, allocations: 302.4 kB / 0.7001 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.6504, allocations: 10 kB / 0.7001 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.6519, allocations: 0.9425 MB / 0.701 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6519, allocations: 6.25 kB / 0.701 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.656, allocations: 1.21 MB / 0.7022 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.6566, allocations: 264.3 kB / 0.7025 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.6569, allocations: 16.58 kB / 0.7025 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.658, allocations: 79.44 kB / 0.7025 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6581, allocations: 35.42 kB / 0.7026 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.6582, allocations: 24.48 kB / 0.7026 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001562/0.6597, allocations: 0.7576 MB / 0.7033 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6597, allocations: 0 / 0.7033 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002238/0.662, allocations: 0.577 MB / 0.7039 GB, free: 14.09 MB / 0.5294 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.001063/0.6631, allocations: 385.9 kB / 0.7043 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00393/0.667, allocations: 1.212 MB / 0.7055 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.667, allocations: 0 / 0.7055 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6681, allocations: 372 kB / 0.7058 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.6709, allocations: 0.5078 MB / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.6765, allocations: 2.067 MB / 0.7083 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.6772, allocations: 1.064 MB / 0.7094 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6783, allocations: 231.3 kB / 0.7096 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.6786, allocations: 77.64 kB / 0.7097 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.6786, allocations: 0 / 0.7097 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.04271/0.7213, allocations: 25.26 MB / 0.7343 GB, free: 2.512 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)