Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 102.6 kB / 15.98 MB, free: 5.891 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.001432/0.001432, allocations: 193 kB / 16.91 MB, free: 5.746 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.91 kB / 0.5055 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1894, allocations: 80.93 MB / 0.5845 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4312/0.6206, allocations: 60.67 MB / 0.6438 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.6353, allocations: 11.9 MB / 0.6554 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.638, allocations: 52.84 kB / 0.6555 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.6403, allocations: 0.5859 MB / 0.656 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.6458, allocations: 1.816 MB / 0.6578 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.6489, allocations: 1.094 MB / 0.6589 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004966/0.6539, allocations: 3.103 MB / 0.6619 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.6558, allocations: 1.107 MB / 0.663 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.6599, allocations: 1.338 MB / 0.6643 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.6619, allocations: 0.9233 MB / 0.6652 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.6622, allocations: 115.9 kB / 0.6653 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.6658, allocations: 1.471 MB / 0.6667 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.6661, allocations: 296.6 kB / 0.667 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.6672, allocations: 0.6998 MB / 0.6677 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.6705, allocations: 1.771 MB / 0.6694 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6706, allocations: 0 / 0.6694 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6706, allocations: 1.156 kB / 0.6694 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.044e-05/0.6706, allocations: 0 / 0.6694 GB, free: 1.891 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.003832/0.6745, allocations: 1.726 MB / 0.6711 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6745, allocations: 8.719 kB / 0.6711 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.6764, allocations: 348.2 kB / 0.6715 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.6788, allocations: 1.121 MB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.6792, allocations: 127.4 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.6794, allocations: 79.12 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.6816, allocations: 0.9454 MB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.6816, allocations: 0.7812 kB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.6817, allocations: 31.31 kB / 0.6737 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6817, allocations: 19.12 kB / 0.6737 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.684, allocations: 0.8123 MB / 0.6745 GB, free: 15.11 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.007745/0.6917, allocations: 4.753 MB / 0.6792 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.6934, allocations: 0.5648 MB / 0.6797 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.6941, allocations: 262.9 kB / 0.68 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.6956, allocations: 1.364 MB / 0.6813 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6956, allocations: 44.94 kB / 0.6813 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.809e-06/0.6956, allocations: 7.984 kB / 0.6813 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008565/0.7042, allocations: 1.822 MB / 0.6831 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.7043, allocations: 60.17 kB / 0.6832 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.7062, allocations: 1.051 MB / 0.6842 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.7063, allocations: 42.39 kB / 0.6842 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.7068, allocations: 0.518 MB / 0.6847 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.707, allocations: 157.1 kB / 0.6849 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.7073, allocations: 124.2 kB / 0.685 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7074, allocations: 329.5 kB / 0.6853 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/0.7082, allocations: 274.4 kB / 0.6856 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.7092, allocations: 481.9 kB / 0.6861 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.7107, allocations: 0.623 MB / 0.6867 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7107, allocations: 0 / 0.6867 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00265/0.7133, allocations: 0.9278 MB / 0.6876 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7134, allocations: 11.09 kB / 0.6876 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7134, allocations: 2.688 kB / 0.6876 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.7148, allocations: 319.5 kB / 0.6879 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.7152, allocations: 110 kB / 0.688 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.7168, allocations: 0.9114 MB / 0.6889 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7183, allocations: 159.5 kB / 0.689 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.7184, allocations: 32.33 kB / 0.6891 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001201/0.7196, allocations: 488.6 kB / 0.6895 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009521/0.7206, allocations: 475.8 kB / 0.69 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001411/0.722, allocations: 0.6192 MB / 0.6906 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.722, allocations: 2.469 kB / 0.6906 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0026/0.7246, allocations: 0.9202 MB / 0.6915 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7246, allocations: 6.656 kB / 0.6915 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7246, allocations: 9.812 kB / 0.6915 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.7258, allocations: 313.9 kB / 0.6918 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.7263, allocations: 106.1 kB / 0.6919 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.7278, allocations: 0.9137 MB / 0.6928 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7293, allocations: 146.8 kB / 0.6929 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.7294, allocations: 28.64 kB / 0.693 GB, free: 3.754 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 (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.0002863/0.7296, allocations: 220.5 kB / 0.6932 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.7299, allocations: 106.3 kB / 0.6933 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/0.7336, allocations: 1.068 MB / 0.6943 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.7337, allocations: 6.891 kB / 0.6943 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7337, allocations: 3.938 kB / 0.6943 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.7337, allocations: 7.422 kB / 0.6943 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.7391, allocations: 2.072 MB / 0.6964 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.7392, allocations: 2.562 kB / 0.6964 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.7394, allocations: 60.27 kB / 0.6964 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.7404, allocations: 315 kB / 0.6967 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.7405, allocations: 12.75 kB / 0.6967 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.742, allocations: 0.9489 MB / 0.6977 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.742, allocations: 2.281 kB / 0.6977 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.7455, allocations: 1.114 MB / 0.6987 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.7461, allocations: 257.3 kB / 0.699 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.7463, allocations: 11.53 kB / 0.699 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/0.7471, allocations: 91.75 kB / 0.6991 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7472, allocations: 34.78 kB / 0.6991 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.7473, allocations: 22.39 kB / 0.6991 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001246/0.7486, allocations: 0.7398 MB / 0.6999 GB, free: 320 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7486, allocations: 0 / 0.6999 GB, free: 320 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001808/0.7504, allocations: 0.5665 MB / 0.7004 GB, free: 200 kB / 0.5137 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009227/0.7513, allocations: 398.8 kB / 0.7008 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.7543, allocations: 1.017 MB / 0.7018 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7543, allocations: 0 / 0.7018 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.7551, allocations: 326.5 kB / 0.7021 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.7575, allocations: 0.5084 MB / 0.7026 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.7614, allocations: 2.239 MB / 0.7048 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.7621, allocations: 1.063 MB / 0.7058 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.7624, allocations: 84.19 kB / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.7624, allocations: 0 / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.03449/0.7969, allocations: 23.89 MB / 0.7292 GB, free: 8.047 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)