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.008901/0.008901, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001712/0.001712, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8592/0.8592, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 66.55 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 80.92 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05919/0.2235, allocations: 61.2 MB / 0.7244 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2428, allocations: 11.98 MB / 0.7361 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.2456, allocations: 59.62 kB / 0.7362 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2481, allocations: 0.683 MB / 0.7368 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.2549, allocations: 1.962 MB / 0.7388 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.2589, allocations: 1.194 MB / 0.7399 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005847/0.2648, allocations: 3.087 MB / 0.7429 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.2674, allocations: 1.104 MB / 0.744 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.2715, allocations: 1.335 MB / 0.7453 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.2735, allocations: 0.8984 MB / 0.7462 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.2737, allocations: 116 kB / 0.7463 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.277, allocations: 1.454 MB / 0.7477 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.2773, allocations: 302.7 kB / 0.748 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3982/0.6755, allocations: 0.6831 MB / 0.7487 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.6807, allocations: 2.327 MB / 0.751 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6807, allocations: 0 / 0.751 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.456e-06/0.6807, allocations: 3.047 kB / 0.751 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.6807, allocations: 3.531 kB / 0.751 GB, free: 23.14 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.003187/0.6839, allocations: 1.774 MB / 0.7527 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.684, allocations: 11.45 kB / 0.7527 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.6861, allocations: 416.8 kB / 0.7531 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.6885, allocations: 1.172 MB / 0.7543 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.6886, allocations: 61.75 kB / 0.7543 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6887, allocations: 84.98 kB / 0.7544 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.6909, allocations: 1.001 MB / 0.7554 GB, free: 21.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.691, allocations: 3.219 kB / 0.7554 GB, free: 21.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.6911, allocations: 31.75 kB / 0.7554 GB, free: 21.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.6911, allocations: 19.66 kB / 0.7554 GB, free: 21.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.6934, allocations: 0.8634 MB / 0.7563 GB, free: 21.49 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.006534/0.7, allocations: 5.232 MB / 0.7614 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.7036, allocations: 0.7918 MB / 0.7622 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.7044, allocations: 294.7 kB / 0.7624 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/0.7049, allocations: 0.9091 MB / 0.7633 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.705, allocations: 37.53 kB / 0.7634 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.705, allocations: 2.625 kB / 0.7634 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008864/0.7139, allocations: 1.87 MB / 0.7652 GB, free: 17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.7139, allocations: 57.28 kB / 0.7652 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.7159, allocations: 1.076 MB / 0.7663 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.885e-05/0.716, allocations: 41.33 kB / 0.7663 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.7164, allocations: 0.5363 MB / 0.7669 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.7166, allocations: 166.5 kB / 0.767 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7168, allocations: 139.4 kB / 0.7671 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.7169, allocations: 329.1 kB / 0.7675 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.7178, allocations: 303.6 kB / 0.7677 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.7189, allocations: 0.5324 MB / 0.7683 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.7205, allocations: 0.7089 MB / 0.769 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7206, allocations: 5.219 kB / 0.769 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003616/0.7242, allocations: 1.148 MB / 0.7701 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.7242, allocations: 11.03 kB / 0.7701 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7242, allocations: 7.719 kB / 0.7701 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.7255, allocations: 306.5 kB / 0.7704 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.7261, allocations: 130.1 kB / 0.7705 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.7273, allocations: 0.9098 MB / 0.7714 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.7287, allocations: 147.6 kB / 0.7715 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.7288, allocations: 32.23 kB / 0.7716 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001249/0.73, allocations: 0.5092 MB / 0.7721 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009631/0.731, allocations: 0.5332 MB / 0.7726 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/0.7325, allocations: 0.7077 MB / 0.7733 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.7325, allocations: 3.781 kB / 0.7733 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003351/0.7359, allocations: 1.137 MB / 0.7744 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7359, allocations: 10.45 kB / 0.7744 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7359, allocations: 5.656 kB / 0.7744 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.737, allocations: 300.8 kB / 0.7747 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.7375, allocations: 125.7 kB / 0.7748 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.7387, allocations: 0.9031 MB / 0.7757 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7401, allocations: 141.8 kB / 0.7758 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.7402, allocations: 31.2 kB / 0.7759 GB, free: 13.62 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.00024/0.7404, allocations: 229.5 kB / 0.7761 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.7406, allocations: 120.6 kB / 0.7762 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.7442, allocations: 1.093 MB / 0.7773 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.7442, allocations: 11.22 kB / 0.7773 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7442, allocations: 0 / 0.7773 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7443, allocations: 0.9375 kB / 0.7773 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/0.7493, allocations: 2.177 MB / 0.7794 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7493, allocations: 2.75 kB / 0.7794 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.7496, allocations: 69.55 kB / 0.7795 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009725/0.7506, allocations: 296.8 kB / 0.7798 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.7506, allocations: 12.88 kB / 0.7798 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.7519, allocations: 0.9318 MB / 0.7807 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7519, allocations: 5.312 kB / 0.7807 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.7554, allocations: 1.174 MB / 0.7818 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.756, allocations: 276.9 kB / 0.7821 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.7561, allocations: 14.62 kB / 0.7821 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/0.7569, allocations: 74.22 kB / 0.7822 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.757, allocations: 34.36 kB / 0.7822 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.757, allocations: 24.64 kB / 0.7822 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001142/0.7582, allocations: 0.7522 MB / 0.783 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7582, allocations: 0 / 0.783 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001818/0.76, allocations: 0.5812 MB / 0.7835 GB, free: 11.59 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.0008501/0.7609, allocations: 392.1 kB / 0.7839 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.7641, allocations: 1.131 MB / 0.785 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7642, allocations: 5.5 kB / 0.785 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.765, allocations: 347 kB / 0.7854 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.7671, allocations: 0.5097 MB / 0.7859 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.7716, allocations: 2.054 MB / 0.7879 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.7721, allocations: 1.057 MB / 0.7889 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007453/0.7728, allocations: 230 kB / 0.7891 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.773, allocations: 77.28 kB / 0.7892 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.773, allocations: 0 / 0.7892 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.03694/0.8099, allocations: 25.29 MB / 0.8139 GB, free: 9.465 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)