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.0009494/0.0009495, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001009/0.001009, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.4 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3506, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05181/0.4024, allocations: 56.51 MB / 0.6383 GB, free: 7.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.4165, allocations: 11.21 MB / 0.6492 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.418, allocations: 51.62 kB / 0.6493 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.4192, allocations: 460.8 kB / 0.6497 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.4226, allocations: 1.527 MB / 0.6512 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.4247, allocations: 0.8583 MB / 0.652 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.4279, allocations: 3.398 MB / 0.6553 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009948/0.4289, allocations: 0.7899 MB / 0.6561 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.4305, allocations: 1.038 MB / 0.6571 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.4314, allocations: 0.8049 MB / 0.6579 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.4316, allocations: 48 kB / 0.658 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.4334, allocations: 1.103 MB / 0.659 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.4337, allocations: 199 kB / 0.6592 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.4339, allocations: 281 kB / 0.6595 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4354, allocations: 1.652 MB / 0.6611 GB, free: 468 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4354, allocations: 0 / 0.6611 GB, free: 468 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4354, allocations: 0 / 0.6611 GB, free: 468 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.4354, allocations: 4 kB / 0.6611 GB, free: 464 kB / 494.1 MB 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.002285/0.4377, allocations: 1.493 MB / 0.6626 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4378, allocations: 12.03 kB / 0.6626 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4398, allocations: 477.9 kB / 0.663 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.4418, allocations: 1.086 MB / 0.6641 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.4421, allocations: 129.9 kB / 0.6642 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4422, allocations: 80 kB / 0.6643 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4442, allocations: 1.005 MB / 0.6653 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4442, allocations: 0 / 0.6653 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.4443, allocations: 32 kB / 0.6653 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4443, allocations: 20 kB / 0.6653 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.4465, allocations: 0.9172 MB / 0.6662 GB, free: 11.05 MB / 0.4981 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.005617/0.4521, allocations: 4.898 MB / 0.671 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.4553, allocations: 0.899 MB / 0.6719 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.456, allocations: 326.8 kB / 0.6722 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.4566, allocations: 0.9064 MB / 0.6731 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4566, allocations: 42.52 kB / 0.6731 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.4566, allocations: 3.938 kB / 0.6731 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007922/0.4645, allocations: 2.165 MB / 0.6752 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.4646, allocations: 55.41 kB / 0.6753 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.466, allocations: 1.044 MB / 0.6763 GB, free: 88 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.466, allocations: 41.7 kB / 0.6763 GB, free: 40 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.4664, allocations: 0.5196 MB / 0.6769 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4666, allocations: 153.8 kB / 0.677 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.4666, allocations: 8 kB / 0.677 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.4667, allocations: 334 kB / 0.6773 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.4676, allocations: 320.9 kB / 0.6776 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.4685, allocations: 0.5215 MB / 0.6781 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.4694, allocations: 355.5 kB / 0.6785 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4694, allocations: 0 / 0.6785 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002473/0.4719, allocations: 1.047 MB / 0.6795 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.472, allocations: 211.7 kB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4721, allocations: 4 kB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.4733, allocations: 336.2 kB / 0.68 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.4738, allocations: 131.8 kB / 0.6802 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.4752, allocations: 0.9348 MB / 0.6811 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4764, allocations: 195.2 kB / 0.6813 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.4764, allocations: 31.94 kB / 0.6813 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.4765, allocations: 4 kB / 0.6813 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/0.4787, allocations: 0.9023 MB / 0.6822 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4788, allocations: 4 kB / 0.6822 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4798, allocations: 336.8 kB / 0.6825 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.4803, allocations: 123.8 kB / 0.6826 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.4817, allocations: 0.9309 MB / 0.6835 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4827, allocations: 175.4 kB / 0.6837 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.4828, allocations: 31.94 kB / 0.6837 GB, free: 8.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004698/0.4833, allocations: 352.9 kB / 0.6841 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4834, allocations: 114.6 kB / 0.6842 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.487, allocations: 1.205 MB / 0.6853 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4871, allocations: 11.95 kB / 0.6854 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4871, allocations: 4 kB / 0.6854 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.4871, allocations: 3.984 kB / 0.6854 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.4918, allocations: 2.282 MB / 0.6876 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4918, allocations: 8.031 kB / 0.6876 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.4921, allocations: 67.89 kB / 0.6877 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.4931, allocations: 320.6 kB / 0.688 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4931, allocations: 19.98 kB / 0.688 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.4944, allocations: 0.9635 MB / 0.6889 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4945, allocations: 7.953 kB / 0.6889 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.4978, allocations: 1.279 MB / 0.6902 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.4981, allocations: 283.5 kB / 0.6905 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.4983, allocations: 11.98 kB / 0.6905 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008598/0.4991, allocations: 123.7 kB / 0.6906 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.4992, allocations: 39.84 kB / 0.6906 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.4993, allocations: 23.98 kB / 0.6906 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001029/0.5003, allocations: 0.7311 MB / 0.6914 GB, free: 236 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5003, allocations: 0 / 0.6914 GB, free: 236 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001368/0.5017, allocations: 0.5614 MB / 0.6919 GB, free: 15.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006264/0.5023, allocations: 381.2 kB / 0.6923 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.5052, allocations: 1.168 MB / 0.6934 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5052, allocations: 3.938 kB / 0.6934 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.5061, allocations: 370.4 kB / 0.6938 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.5083, allocations: 0.4982 MB / 0.6943 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.5131, allocations: 2.484 MB / 0.6967 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.5137, allocations: 1.065 MB / 0.6977 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.5145, allocations: 220.3 kB / 0.6979 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5147, allocations: 75.42 kB / 0.698 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5147, allocations: 0 / 0.698 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of Templates: time 0.03505/0.5498, allocations: 23.18 MB / 0.7206 GB, free: 2.484 MB / 0.545 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)