Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.008748/0.008748, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001218/0.001218, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8247/0.8247, allocations: 132.2 MB / 422.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 66.78 kB / 0.5814 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1961, allocations: 80.22 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05694/0.2531, allocations: 61.19 MB / 0.7195 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.2713, allocations: 11.98 MB / 0.7312 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.2739, allocations: 59.62 kB / 0.7312 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.2758, allocations: 0.6987 MB / 0.7319 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.2813, allocations: 2.064 MB / 0.7339 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.2843, allocations: 1.212 MB / 0.7351 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003857/0.2882, allocations: 3.094 MB / 0.7381 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.2895, allocations: 1.1 MB / 0.7392 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.2932, allocations: 1.367 MB / 0.7405 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.2951, allocations: 0.8945 MB / 0.7414 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.2953, allocations: 116 kB / 0.7415 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.2994, allocations: 1.458 MB / 0.7429 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.2998, allocations: 298.8 kB / 0.7432 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.3008, allocations: 0.6881 MB / 0.7439 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.3049, allocations: 2.321 MB / 0.7462 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3049, allocations: 3.938 kB / 0.7462 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3049, allocations: 4 kB / 0.7462 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.305, allocations: 4 kB / 0.7462 GB, free: 1.523 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.4235/0.7285, allocations: 1.719 MB / 0.7479 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.7285, allocations: 8.875 kB / 0.7479 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.7306, allocations: 344.4 kB / 0.7482 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.7335, allocations: 1.162 MB / 0.7493 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.7336, allocations: 61 kB / 0.7494 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.7337, allocations: 84.31 kB / 0.7495 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.7359, allocations: 0.9682 MB / 0.7504 GB, free: 85.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.736, allocations: 5.281 kB / 0.7504 GB, free: 85.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.7361, allocations: 32.97 kB / 0.7504 GB, free: 85.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.7361, allocations: 18.62 kB / 0.7505 GB, free: 85.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.7386, allocations: 0.8048 MB / 0.7512 GB, free: 85.34 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.007947/0.7466, allocations: 5.125 MB / 0.7563 GB, free: 81.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.7483, allocations: 0.5554 MB / 0.7568 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.749, allocations: 265.3 kB / 0.757 GB, free: 81.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.7503, allocations: 1.377 MB / 0.7584 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.7503, allocations: 34.02 kB / 0.7584 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/0.7503, allocations: 2.219 kB / 0.7584 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.009137/0.7595, allocations: 1.752 MB / 0.7601 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.7596, allocations: 60 kB / 0.7602 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.7624, allocations: 1.074 MB / 0.7612 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.7625, allocations: 42.45 kB / 0.7613 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.763, allocations: 0.5341 MB / 0.7618 GB, free: 78.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7631, allocations: 154.6 kB / 0.762 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.7634, allocations: 134.6 kB / 0.7621 GB, free: 77.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.7635, allocations: 331.1 kB / 0.7624 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.7643, allocations: 274.6 kB / 0.7627 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.7653, allocations: 0.5008 MB / 0.7631 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.7668, allocations: 0.6543 MB / 0.7638 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.7668, allocations: 2.594 kB / 0.7638 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002937/0.7698, allocations: 0.9537 MB / 0.7647 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7698, allocations: 7.531 kB / 0.7647 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7698, allocations: 5.5 kB / 0.7647 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.7711, allocations: 303.2 kB / 0.765 GB, free: 76.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.7716, allocations: 123.4 kB / 0.7651 GB, free: 76.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.773, allocations: 0.8999 MB / 0.766 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.7745, allocations: 140 kB / 0.7662 GB, free: 75.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.7746, allocations: 39.75 kB / 0.7662 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/0.7758, allocations: 485.3 kB / 0.7667 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009175/0.7768, allocations: 0.4952 MB / 0.7671 GB, free: 75.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.7782, allocations: 0.6547 MB / 0.7678 GB, free: 74.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.732e-06/0.7783, allocations: 1.781 kB / 0.7678 GB, free: 74.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002915/0.7812, allocations: 0.9431 MB / 0.7687 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7812, allocations: 9.203 kB / 0.7687 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7812, allocations: 4.656 kB / 0.7687 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.7824, allocations: 304.7 kB / 0.769 GB, free: 74.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.7829, allocations: 114 kB / 0.7691 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.7842, allocations: 0.8957 MB / 0.77 GB, free: 73.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.7856, allocations: 135.9 kB / 0.7701 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.7857, allocations: 29.53 kB / 0.7701 GB, free: 73.56 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.0002717/0.786, allocations: 224.5 kB / 0.7704 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.7862, allocations: 108.6 kB / 0.7705 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.7898, allocations: 1.051 MB / 0.7715 GB, free: 72.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.7899, allocations: 8.672 kB / 0.7715 GB, free: 72.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7899, allocations: 4 kB / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7899, allocations: 1.125 kB / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.795, allocations: 2.06 MB / 0.7735 GB, free: 71.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.795, allocations: 2.375 kB / 0.7735 GB, free: 71.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.7953, allocations: 60.42 kB / 0.7736 GB, free: 71.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.7963, allocations: 303.7 kB / 0.7739 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.7964, allocations: 14.94 kB / 0.7739 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.7978, allocations: 0.9451 MB / 0.7748 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.7979, allocations: 3.562 kB / 0.7748 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.8015, allocations: 1.092 MB / 0.7759 GB, free: 69.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.8021, allocations: 255.8 kB / 0.7761 GB, free: 69.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.8023, allocations: 16.55 kB / 0.7761 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.803, allocations: 57.28 kB / 0.7762 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.8031, allocations: 44.56 kB / 0.7762 GB, free: 69.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.8031, allocations: 23.3 kB / 0.7762 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001254/0.8044, allocations: 0.7526 MB / 0.777 GB, free: 69.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8044, allocations: 0 / 0.777 GB, free: 69.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001881/0.8063, allocations: 0.5785 MB / 0.7775 GB, free: 69.13 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 (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.0009361/0.8072, allocations: 395.2 kB / 0.7779 GB, free: 68.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002971/0.8102, allocations: 1.023 MB / 0.7789 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8103, allocations: 0 / 0.7789 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.8111, allocations: 325 kB / 0.7792 GB, free: 68.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.8135, allocations: 0.5074 MB / 0.7797 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.8168, allocations: 1.797 MB / 0.7815 GB, free: 67.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.8173, allocations: 1.068 MB / 0.7825 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008432/0.8181, allocations: 221.7 kB / 0.7827 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.8183, allocations: 82.83 kB / 0.7828 GB, free: 66.04 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/0.8183, allocations: 0 / 0.7828 GB, free: 66.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.03654/0.8549, allocations: 25.29 MB / 0.8075 GB, free: 42.64 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)