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.001374/0.001374, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001294/0.001294, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8569/0.8569, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.92 kB / 0.5864 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1863, allocations: 80.93 MB / 0.6654 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06786/0.2542, allocations: 61.3 MB / 0.7253 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.2733, allocations: 11.99 MB / 0.737 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.2761, allocations: 63.62 kB / 0.737 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.2786, allocations: 0.7025 MB / 0.7377 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006767/0.2853, allocations: 2.076 MB / 0.7397 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.289, allocations: 1.204 MB / 0.7409 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005696/0.2947, allocations: 3.091 MB / 0.7439 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.2966, allocations: 0.889 MB / 0.7448 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.3005, allocations: 1.37 MB / 0.7461 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.3024, allocations: 0.8984 MB / 0.747 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.3026, allocations: 119.9 kB / 0.7471 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.3059, allocations: 1.458 MB / 0.7486 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4342/0.7401, allocations: 299.4 kB / 0.7488 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.7419, allocations: 0.6938 MB / 0.7495 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.7494, allocations: 2.33 MB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.7494, allocations: 2.531 kB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7494, allocations: 0.9062 kB / 0.7518 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.7495, allocations: 0 / 0.7518 GB, free: 22.96 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.005391/0.7549, allocations: 1.77 MB / 0.7535 GB, free: 22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7549, allocations: 10.8 kB / 0.7535 GB, free: 22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.7569, allocations: 351.5 kB / 0.7539 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.7596, allocations: 1.168 MB / 0.755 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.7596, allocations: 62.94 kB / 0.7551 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.7598, allocations: 82.41 kB / 0.7551 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.762, allocations: 0.9653 MB / 0.7561 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.762, allocations: 4.656 kB / 0.7561 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.7621, allocations: 32.19 kB / 0.7561 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.7621, allocations: 20.81 kB / 0.7561 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.7644, allocations: 0.8042 MB / 0.7569 GB, free: 21.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.007702/0.7721, allocations: 5.14 MB / 0.762 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.7739, allocations: 0.529 MB / 0.7625 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.7746, allocations: 252.6 kB / 0.7627 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.7759, allocations: 1.37 MB / 0.764 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.7759, allocations: 37.44 kB / 0.7641 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.7759, allocations: 3.188 kB / 0.7641 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008714/0.7846, allocations: 1.766 MB / 0.7658 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.7847, allocations: 55.91 kB / 0.7659 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.7868, allocations: 1.079 MB / 0.7669 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7869, allocations: 37.64 kB / 0.767 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.7873, allocations: 0.5337 MB / 0.7675 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.7875, allocations: 160.5 kB / 0.7676 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.7877, allocations: 134.7 kB / 0.7678 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.7878, allocations: 329.7 kB / 0.7681 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.7886, allocations: 278.4 kB / 0.7683 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/0.7895, allocations: 0.4946 MB / 0.7688 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.7909, allocations: 0.6591 MB / 0.7695 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7909, allocations: 2.375 kB / 0.7695 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002818/0.7938, allocations: 0.954 MB / 0.7704 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.7938, allocations: 10.5 kB / 0.7704 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7938, allocations: 10.28 kB / 0.7704 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.7952, allocations: 311 kB / 0.7707 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.7957, allocations: 119.8 kB / 0.7708 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.7971, allocations: 0.8974 MB / 0.7717 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.7985, allocations: 148.2 kB / 0.7718 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.7986, allocations: 32.55 kB / 0.7719 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/0.7998, allocations: 486 kB / 0.7723 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008924/0.8007, allocations: 0.4932 MB / 0.7728 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001353/0.8021, allocations: 0.656 MB / 0.7735 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/0.8021, allocations: 6.5 kB / 0.7735 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00264/0.8047, allocations: 0.9388 MB / 0.7744 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8047, allocations: 8.875 kB / 0.7744 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8047, allocations: 5.125 kB / 0.7744 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.8058, allocations: 296.4 kB / 0.7747 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.8063, allocations: 122.5 kB / 0.7748 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.8076, allocations: 0.9019 MB / 0.7757 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8093, allocations: 126.8 kB / 0.7758 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8094, allocations: 32.78 kB / 0.7758 GB, free: 13.04 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.000349/0.8098, allocations: 220.3 kB / 0.776 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.81, allocations: 117 kB / 0.7762 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.814, allocations: 1.049 MB / 0.7772 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.814, allocations: 5.375 kB / 0.7772 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.814, allocations: 1.188 kB / 0.7772 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.814, allocations: 5.719 kB / 0.7772 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.8193, allocations: 2.058 MB / 0.7792 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8193, allocations: 3.781 kB / 0.7792 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.8195, allocations: 53.17 kB / 0.7793 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.8206, allocations: 298.2 kB / 0.7795 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.8206, allocations: 18.89 kB / 0.7796 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.822, allocations: 0.9303 MB / 0.7805 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.822, allocations: 6.438 kB / 0.7805 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.8253, allocations: 1.089 MB / 0.7815 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.826, allocations: 264.4 kB / 0.7818 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.8262, allocations: 11.28 kB / 0.7818 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.8269, allocations: 66.14 kB / 0.7819 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.827, allocations: 46.89 kB / 0.7819 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.8271, allocations: 20.64 kB / 0.7819 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001317/0.8284, allocations: 0.7545 MB / 0.7827 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8284, allocations: 0 / 0.7827 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002027/0.8304, allocations: 0.5897 MB / 0.7832 GB, free: 11.02 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.0009857/0.8314, allocations: 403.1 kB / 0.7836 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002871/0.8343, allocations: 0.9906 MB / 0.7846 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8343, allocations: 1.781 kB / 0.7846 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.835, allocations: 300.7 kB / 0.7849 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.8376, allocations: 0.5084 MB / 0.7854 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.8412, allocations: 1.872 MB / 0.7872 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.8416, allocations: 1.058 MB / 0.7882 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.8419, allocations: 79.11 kB / 0.7883 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.8419, allocations: 1.938 kB / 0.7883 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.03266/0.8746, allocations: 24.32 MB / 0.8121 GB, free: 11.81 MB / 0.5919 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)