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.005722/0.005722, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001279/0.001279, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.593/1.593, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8112/0.8112, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.75 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 80.93 MB / 0.6647 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06223/0.2098, allocations: 61.19 MB / 0.7244 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2275, allocations: 11.98 MB / 0.7361 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.2303, allocations: 63.62 kB / 0.7362 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.2328, allocations: 0.6947 MB / 0.7369 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.2394, allocations: 2.064 MB / 0.7389 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.2426, allocations: 1.212 MB / 0.7401 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.2467, allocations: 3.09 MB / 0.7431 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.2483, allocations: 1.104 MB / 0.7442 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.2513, allocations: 1.367 MB / 0.7455 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.2528, allocations: 0.8945 MB / 0.7464 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.253, allocations: 116 kB / 0.7465 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.2558, allocations: 1.45 MB / 0.7479 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3981/0.6539, allocations: 296.6 kB / 0.7482 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.6552, allocations: 0.6915 MB / 0.7489 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.6599, allocations: 2.319 MB / 0.7511 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6599, allocations: 1.094 kB / 0.7511 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6599, allocations: 0 / 0.7511 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.919e-05/0.6599, allocations: 0.5156 kB / 0.7511 GB, free: 23.18 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.003467/0.6634, allocations: 1.723 MB / 0.7528 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6635, allocations: 10.86 kB / 0.7528 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.6658, allocations: 413.3 kB / 0.7532 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.6682, allocations: 1.163 MB / 0.7543 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.6682, allocations: 65.41 kB / 0.7544 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.6683, allocations: 79.59 kB / 0.7545 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.6705, allocations: 1.005 MB / 0.7555 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6705, allocations: 0.8438 kB / 0.7555 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.6706, allocations: 31.81 kB / 0.7555 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.6707, allocations: 19.75 kB / 0.7555 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.673, allocations: 0.8629 MB / 0.7564 GB, free: 21.67 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.006766/0.6798, allocations: 5.227 MB / 0.7615 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/0.6836, allocations: 0.7881 MB / 0.7622 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.6844, allocations: 305.5 kB / 0.7625 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.6849, allocations: 0.9037 MB / 0.7634 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.685, allocations: 38.02 kB / 0.7634 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.436e-06/0.685, allocations: 1.125 kB / 0.7634 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009068/0.6941, allocations: 1.866 MB / 0.7653 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.6941, allocations: 59.53 kB / 0.7653 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.6961, allocations: 1.075 MB / 0.7664 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6962, allocations: 37.08 kB / 0.7664 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.6966, allocations: 0.5256 MB / 0.7669 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6967, allocations: 154.4 kB / 0.7671 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.6969, allocations: 136.9 kB / 0.7672 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.697, allocations: 335.1 kB / 0.7675 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.6978, allocations: 308.4 kB / 0.7678 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.6989, allocations: 0.5296 MB / 0.7683 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.7005, allocations: 0.7175 MB / 0.769 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7005, allocations: 1.125 kB / 0.769 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003702/0.7042, allocations: 1.142 MB / 0.7701 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7043, allocations: 7.125 kB / 0.7702 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.7043, allocations: 9.719 kB / 0.7702 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.7055, allocations: 310.3 kB / 0.7705 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.7061, allocations: 130 kB / 0.7706 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.7074, allocations: 0.9043 MB / 0.7715 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.7089, allocations: 146.3 kB / 0.7716 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.709, allocations: 31.55 kB / 0.7716 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/0.7103, allocations: 0.5128 MB / 0.7721 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/0.7113, allocations: 0.5263 MB / 0.7726 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/0.7129, allocations: 0.7096 MB / 0.7733 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.7129, allocations: 0.8125 kB / 0.7733 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003482/0.7164, allocations: 1.131 MB / 0.7744 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7164, allocations: 6.969 kB / 0.7745 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7164, allocations: 6 kB / 0.7745 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.7175, allocations: 308 kB / 0.7748 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.7181, allocations: 128.2 kB / 0.7749 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.7193, allocations: 0.897 MB / 0.7757 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7207, allocations: 137.7 kB / 0.7759 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.7208, allocations: 29.22 kB / 0.7759 GB, free: 13.84 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.0002359/0.721, allocations: 226.7 kB / 0.7761 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.7212, allocations: 116 kB / 0.7762 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.725, allocations: 1.099 MB / 0.7773 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.7251, allocations: 12.97 kB / 0.7773 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7251, allocations: 0 / 0.7773 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.7251, allocations: 1.094 kB / 0.7773 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.7304, allocations: 2.18 MB / 0.7795 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7304, allocations: 2.344 kB / 0.7795 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.7307, allocations: 62.38 kB / 0.7795 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009224/0.7316, allocations: 300.5 kB / 0.7798 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.7316, allocations: 10.72 kB / 0.7798 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.7329, allocations: 0.9363 MB / 0.7807 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7329, allocations: 2.938 kB / 0.7807 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.7363, allocations: 1.169 MB / 0.7819 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.7368, allocations: 270.2 kB / 0.7821 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.737, allocations: 11.16 kB / 0.7821 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.7378, allocations: 73.38 kB / 0.7822 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.7379, allocations: 34.42 kB / 0.7822 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.7379, allocations: 24.75 kB / 0.7823 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00114/0.7391, allocations: 0.7533 MB / 0.783 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7391, allocations: 0 / 0.783 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001865/0.741, allocations: 0.573 MB / 0.7836 GB, free: 11.82 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.0008117/0.7418, allocations: 396.2 kB / 0.7839 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.7449, allocations: 1.14 MB / 0.785 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7449, allocations: 1.125 kB / 0.785 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.7457, allocations: 347.4 kB / 0.7854 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.7479, allocations: 0.506 MB / 0.7859 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.7526, allocations: 2.012 MB / 0.7878 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.753, allocations: 1.059 MB / 0.7889 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009033/0.7539, allocations: 233.6 kB / 0.7891 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.7541, allocations: 76.02 kB / 0.7892 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7541, allocations: 0 / 0.7892 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.03769/0.7918, allocations: 25.28 MB / 0.8139 GB, free: 9.773 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)