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.001319/0.001319, allocations: 102.2 kB / 16.27 MB, free: 6 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.001385/0.001386, allocations: 191 kB / 17.2 MB, free: 5.609 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3783, allocations: 80.92 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05698/0.4353, allocations: 61.18 MB / 0.6448 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.4538, allocations: 11.98 MB / 0.6565 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.4565, allocations: 59.62 kB / 0.6565 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.4589, allocations: 0.6792 MB / 0.6572 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006392/0.4653, allocations: 1.959 MB / 0.6591 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.469, allocations: 1.194 MB / 0.6603 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.4736, allocations: 3.081 MB / 0.6633 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.4756, allocations: 1.096 MB / 0.6643 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.479, allocations: 1.321 MB / 0.6656 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.4807, allocations: 0.9022 MB / 0.6665 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.4812, allocations: 116 kB / 0.6666 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.4846, allocations: 1.458 MB / 0.668 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.4851, allocations: 290.9 kB / 0.6683 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.4865, allocations: 0.6919 MB / 0.669 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.491, allocations: 2.29 MB / 0.6712 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.491, allocations: 0 / 0.6712 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.491, allocations: 7.938 kB / 0.6712 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.454e-05/0.4911, allocations: 0 / 0.6712 GB, free: 2.051 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.004177/0.4953, allocations: 1.726 MB / 0.6729 GB, free: 268 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4954, allocations: 13.05 kB / 0.6729 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.4977, allocations: 410.8 kB / 0.6733 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.5003, allocations: 1.101 MB / 0.6744 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.5007, allocations: 121.9 kB / 0.6745 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.5009, allocations: 80 kB / 0.6746 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.5033, allocations: 1.003 MB / 0.6756 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5033, allocations: 4 kB / 0.6756 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.5034, allocations: 32 kB / 0.6756 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5034, allocations: 20 kB / 0.6756 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5059, allocations: 0.8781 MB / 0.6765 GB, free: 12.5 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.007402/0.5133, allocations: 5.278 MB / 0.6816 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.5168, allocations: 0.7981 MB / 0.6824 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.5176, allocations: 300.7 kB / 0.6827 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.5183, allocations: 0.9102 MB / 0.6836 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5184, allocations: 46.5 kB / 0.6836 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.5184, allocations: 0 / 0.6836 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008965/0.5274, allocations: 1.934 MB / 0.6855 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5274, allocations: 55.41 kB / 0.6856 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.5296, allocations: 1.072 MB / 0.6866 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5297, allocations: 33.7 kB / 0.6867 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.5302, allocations: 0.5351 MB / 0.6872 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.5304, allocations: 153.8 kB / 0.6873 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.5307, allocations: 138.1 kB / 0.6875 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5308, allocations: 326 kB / 0.6878 GB, free: 264 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009463/0.5318, allocations: 315.3 kB / 0.6881 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.533, allocations: 0.5368 MB / 0.6886 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.5348, allocations: 0.7183 MB / 0.6893 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5348, allocations: 3.938 kB / 0.6893 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003966/0.5388, allocations: 1.168 MB / 0.6904 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5388, allocations: 4 kB / 0.6905 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.5388, allocations: 8 kB / 0.6905 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.5402, allocations: 335.3 kB / 0.6908 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.5408, allocations: 127.8 kB / 0.6909 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5424, allocations: 0.9114 MB / 0.6918 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5437, allocations: 155.2 kB / 0.6919 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.5438, allocations: 27.98 kB / 0.692 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.5451, allocations: 0.5138 MB / 0.6925 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.5463, allocations: 0.5446 MB / 0.693 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001758/0.548, allocations: 0.7095 MB / 0.6937 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.905e-06/0.548, allocations: 4 kB / 0.6937 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003773/0.5518, allocations: 1.149 MB / 0.6948 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5519, allocations: 16.05 kB / 0.6948 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5519, allocations: 4 kB / 0.6948 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.5531, allocations: 308.7 kB / 0.6951 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.5536, allocations: 143.7 kB / 0.6953 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5551, allocations: 0.9059 MB / 0.6962 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5565, allocations: 143.6 kB / 0.6963 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.5566, allocations: 27.98 kB / 0.6963 GB, free: 7.098 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.0002699/0.5568, allocations: 228 kB / 0.6965 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.5571, allocations: 110.6 kB / 0.6966 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.561, allocations: 1.119 MB / 0.6977 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.5611, allocations: 4 kB / 0.6977 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5611, allocations: 0 / 0.6977 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5611, allocations: 3.984 kB / 0.6977 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/0.5664, allocations: 2.191 MB / 0.6999 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5665, allocations: 288 / 0.6999 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.5668, allocations: 71.83 kB / 0.7 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5678, allocations: 307.2 kB / 0.7002 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.5679, allocations: 16 kB / 0.7003 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.5694, allocations: 0.9425 MB / 0.7012 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5695, allocations: 4 kB / 0.7012 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.5735, allocations: 1.193 MB / 0.7023 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.5741, allocations: 255.6 kB / 0.7026 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5743, allocations: 12 kB / 0.7026 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.5751, allocations: 71.92 kB / 0.7027 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.5752, allocations: 47.81 kB / 0.7027 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.5753, allocations: 23.98 kB / 0.7027 GB, free: 328 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001231/0.5765, allocations: 0.7512 MB / 0.7035 GB, free: 15.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5765, allocations: 0 / 0.7035 GB, free: 15.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001619/0.5781, allocations: 0.5731 MB / 0.704 GB, free: 14.99 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.0008378/0.579, allocations: 410.7 kB / 0.7044 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003427/0.5824, allocations: 1.16 MB / 0.7056 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5824, allocations: 4 kB / 0.7056 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.5834, allocations: 342.5 kB / 0.7059 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.5858, allocations: 0.5063 MB / 0.7064 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.5913, allocations: 2.09 MB / 0.7084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.5921, allocations: 1.061 MB / 0.7095 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.5924, allocations: 83.41 kB / 0.7095 GB, free: 9.289 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.5924, allocations: 7.938 kB / 0.7095 GB, free: 9.281 MB / 0.545 GB Notification: Performance of Templates: time 0.03404/0.6264, allocations: 24.19 MB / 0.7332 GB, free: 1.258 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)