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.001518/0.001518, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001521/0.001521, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7888/0.7888, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3918, allocations: 80.9 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04916/0.441, allocations: 61.19 MB / 0.6455 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.4586, allocations: 11.99 MB / 0.6572 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.4613, allocations: 59.62 kB / 0.6573 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.4637, allocations: 0.6752 MB / 0.6579 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.4697, allocations: 1.958 MB / 0.6599 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.4729, allocations: 1.208 MB / 0.661 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.4775, allocations: 3.083 MB / 0.664 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.4791, allocations: 1.104 MB / 0.6651 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.4823, allocations: 1.332 MB / 0.6664 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.4837, allocations: 0.9062 MB / 0.6673 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.4839, allocations: 116 kB / 0.6674 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.4866, allocations: 1.45 MB / 0.6688 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.4869, allocations: 286.9 kB / 0.6691 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.4876, allocations: 0.6997 MB / 0.6698 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.4906, allocations: 2.317 MB / 0.6721 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4906, allocations: 0 / 0.6721 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4906, allocations: 0 / 0.6721 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.4906, allocations: 0 / 0.6721 GB, free: 1.973 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002671/0.4933, allocations: 1.726 MB / 0.6737 GB, free: 188 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4933, allocations: 13.11 kB / 0.6738 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4954, allocations: 410.8 kB / 0.6741 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.4974, allocations: 1.159 MB / 0.6753 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.4975, allocations: 66 kB / 0.6753 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4976, allocations: 76 kB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.4995, allocations: 1.005 MB / 0.6764 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4995, allocations: 3.938 kB / 0.6764 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.4996, allocations: 35.98 kB / 0.6764 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.4996, allocations: 20 kB / 0.6765 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.5017, allocations: 0.8548 MB / 0.6773 GB, free: 12.43 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.006352/0.5081, allocations: 5.235 MB / 0.6824 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.5112, allocations: 0.7864 MB / 0.6832 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.5119, allocations: 303.2 kB / 0.6835 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.5126, allocations: 0.9025 MB / 0.6843 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.5127, allocations: 50.44 kB / 0.6844 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.5127, allocations: 3.938 kB / 0.6844 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007599/0.5203, allocations: 1.86 MB / 0.6862 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.5203, allocations: 63.28 kB / 0.6863 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.522, allocations: 1.083 MB / 0.6873 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.049e-05/0.5221, allocations: 37.7 kB / 0.6874 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.5225, allocations: 0.5273 MB / 0.6879 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5226, allocations: 149.8 kB / 0.688 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.5229, allocations: 142.1 kB / 0.6882 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.523, allocations: 330 kB / 0.6885 GB, free: 312 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/0.5238, allocations: 311.3 kB / 0.6888 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/0.5248, allocations: 0.5251 MB / 0.6893 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5263, allocations: 0.7068 MB / 0.69 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5263, allocations: 0 / 0.69 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003364/0.5297, allocations: 1.145 MB / 0.6911 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5297, allocations: 8 kB / 0.6911 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5297, allocations: 8.062 kB / 0.6911 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5309, allocations: 312.6 kB / 0.6914 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.5315, allocations: 135.8 kB / 0.6915 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5328, allocations: 0.8934 MB / 0.6924 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.534, allocations: 151.2 kB / 0.6925 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.5341, allocations: 31.98 kB / 0.6926 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/0.5353, allocations: 0.5099 MB / 0.6931 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009866/0.5363, allocations: 0.529 MB / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001482/0.5377, allocations: 0.7095 MB / 0.6943 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.5378, allocations: 0 / 0.6943 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003173/0.5409, allocations: 1.125 MB / 0.6954 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.541, allocations: 10.81 kB / 0.6954 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.541, allocations: 4 kB / 0.6954 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.542, allocations: 308.7 kB / 0.6957 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.5425, allocations: 127.8 kB / 0.6958 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.5438, allocations: 0.9048 MB / 0.6967 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5449, allocations: 127.6 kB / 0.6968 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.545, allocations: 35.98 kB / 0.6969 GB, free: 7.305 MB / 0.5294 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.0002236/0.5452, allocations: 228 kB / 0.6971 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.5454, allocations: 114.6 kB / 0.6972 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.5488, allocations: 1.099 MB / 0.6983 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5488, allocations: 7.938 kB / 0.6983 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5488, allocations: 4 kB / 0.6983 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.5488, allocations: 0 / 0.6983 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.5535, allocations: 2.179 MB / 0.7004 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5535, allocations: 0 / 0.7004 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.5537, allocations: 67.89 kB / 0.7005 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009026/0.5547, allocations: 300.8 kB / 0.7007 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.5547, allocations: 8 kB / 0.7008 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.556, allocations: 0.9385 MB / 0.7017 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.556, allocations: 4 kB / 0.7017 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.5592, allocations: 1.177 MB / 0.7028 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.5597, allocations: 263.6 kB / 0.7031 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5598, allocations: 8 kB / 0.7031 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.5606, allocations: 67.92 kB / 0.7031 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.5607, allocations: 35.89 kB / 0.7032 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.5607, allocations: 23.98 kB / 0.7032 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001074/0.5618, allocations: 0.759 MB / 0.7039 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5618, allocations: 0 / 0.7039 GB, free: 15.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001398/0.5632, allocations: 0.5731 MB / 0.7045 GB, free: 15.26 MB / 0.545 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.0006825/0.5639, allocations: 396.9 kB / 0.7049 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.5668, allocations: 1.129 MB / 0.706 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5668, allocations: 0 / 0.706 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.5676, allocations: 346.4 kB / 0.7063 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.5695, allocations: 0.5072 MB / 0.7068 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.5741, allocations: 2.01 MB / 0.7088 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.5746, allocations: 1.065 MB / 0.7098 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007621/0.5754, allocations: 225.2 kB / 0.71 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.5756, allocations: 83.41 kB / 0.7101 GB, free: 9.465 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.5756, allocations: 0 / 0.7101 GB, free: 9.465 MB / 0.545 GB Notification: Performance of Templates: time 0.03655/0.6122, allocations: 25.11 MB / 0.7346 GB, free: 0.6289 MB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)