Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001307, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001332/0.001332, allocations: 187 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.5 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1764, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05545/0.2319, allocations: 61.24 MB / 0.7202 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.2495, allocations: 11.99 MB / 0.7319 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.2519, allocations: 59.62 kB / 0.7319 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.2538, allocations: 0.6791 MB / 0.7326 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.2592, allocations: 1.963 MB / 0.7345 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.2624, allocations: 1.218 MB / 0.7357 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.267, allocations: 3.091 MB / 0.7387 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.2688, allocations: 1.116 MB / 0.7398 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.2723, allocations: 1.343 MB / 0.7411 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.2738, allocations: 0.9061 MB / 0.742 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.274, allocations: 116 kB / 0.7421 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.2773, allocations: 1.435 MB / 0.7435 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.2776, allocations: 302.8 kB / 0.7438 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008695/0.2785, allocations: 0.6997 MB / 0.7445 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.2824, allocations: 2.31 MB / 0.7467 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/0.2824, allocations: 11.94 kB / 0.7468 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2824, allocations: 0 / 0.7468 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.2824, allocations: 0 / 0.7468 GB, free: 1.445 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.4444/0.7269, allocations: 1.741 MB / 0.7485 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.7269, allocations: 9.844 kB / 0.7485 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.7295, allocations: 409.9 kB / 0.7489 GB, free: 86.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.7322, allocations: 1.171 MB / 0.75 GB, free: 86.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.7323, allocations: 63.62 kB / 0.7501 GB, free: 86.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.7324, allocations: 79.31 kB / 0.7501 GB, free: 86.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.7348, allocations: 1.021 MB / 0.7511 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.7349, allocations: 4.781 kB / 0.7511 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.7349, allocations: 35.78 kB / 0.7512 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.735, allocations: 20.09 kB / 0.7512 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.7374, allocations: 0.8849 MB / 0.7521 GB, free: 85.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.006953/0.7444, allocations: 5.239 MB / 0.7572 GB, free: 81.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.7479, allocations: 0.786 MB / 0.7579 GB, free: 81.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.7488, allocations: 313.7 kB / 0.7582 GB, free: 81.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.7493, allocations: 0.9001 MB / 0.7591 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7494, allocations: 37.91 kB / 0.7592 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/0.7494, allocations: 3.625 kB / 0.7592 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009367/0.7587, allocations: 1.895 MB / 0.761 GB, free: 79.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.7588, allocations: 60.5 kB / 0.7611 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.761, allocations: 1.083 MB / 0.7621 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.7612, allocations: 37.52 kB / 0.7622 GB, free: 79.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.7616, allocations: 0.5406 MB / 0.7627 GB, free: 78.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.7618, allocations: 152.2 kB / 0.7628 GB, free: 78.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.7621, allocations: 140.8 kB / 0.763 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7622, allocations: 327.2 kB / 0.7633 GB, free: 78.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.7633, allocations: 323 kB / 0.7636 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.7647, allocations: 0.5495 MB / 0.7641 GB, free: 77.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.7667, allocations: 0.7482 MB / 0.7649 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.7667, allocations: 5.375 kB / 0.7649 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004445/0.7712, allocations: 1.17 MB / 0.766 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.7712, allocations: 8.875 kB / 0.766 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.7713, allocations: 5 kB / 0.766 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.7728, allocations: 316.4 kB / 0.7663 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.7735, allocations: 130.5 kB / 0.7664 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.775, allocations: 0.8944 MB / 0.7673 GB, free: 76.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.7767, allocations: 161.8 kB / 0.7675 GB, free: 76.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.7768, allocations: 34.69 kB / 0.7675 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001531/0.7783, allocations: 0.5304 MB / 0.768 GB, free: 75.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001222/0.7795, allocations: 0.5448 MB / 0.7686 GB, free: 75.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00168/0.7812, allocations: 0.7356 MB / 0.7693 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.7812, allocations: 1.281 kB / 0.7693 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003725/0.785, allocations: 1.164 MB / 0.7704 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.785, allocations: 7.719 kB / 0.7704 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.785, allocations: 7.938 kB / 0.7704 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.7861, allocations: 299 kB / 0.7707 GB, free: 74.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.7867, allocations: 133.8 kB / 0.7708 GB, free: 74.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.788, allocations: 0.8972 MB / 0.7717 GB, free: 73.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.7894, allocations: 142.8 kB / 0.7719 GB, free: 73.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.7895, allocations: 34.33 kB / 0.7719 GB, free: 73.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0003131/0.7898, allocations: 216.5 kB / 0.7721 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.79, allocations: 113.1 kB / 0.7722 GB, free: 73.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.7938, allocations: 1.131 MB / 0.7733 GB, free: 72.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.7939, allocations: 4.438 kB / 0.7733 GB, free: 72.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7939, allocations: 0.9688 kB / 0.7733 GB, free: 72.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7939, allocations: 3.984 kB / 0.7733 GB, free: 72.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.7992, allocations: 2.21 MB / 0.7755 GB, free: 71.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7992, allocations: 6.469 kB / 0.7755 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.7995, allocations: 69.05 kB / 0.7755 GB, free: 71.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009751/0.8005, allocations: 286.7 kB / 0.7758 GB, free: 71.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.8006, allocations: 18.23 kB / 0.7758 GB, free: 71.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.8019, allocations: 0.9325 MB / 0.7767 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8019, allocations: 3.812 kB / 0.7767 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.8055, allocations: 1.194 MB / 0.7779 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.8061, allocations: 267.5 kB / 0.7782 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.8063, allocations: 13.72 kB / 0.7782 GB, free: 69.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.8071, allocations: 73.28 kB / 0.7783 GB, free: 69.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.8072, allocations: 51.81 kB / 0.7783 GB, free: 69.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.8073, allocations: 23.77 kB / 0.7783 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00125/0.8086, allocations: 0.7532 MB / 0.7791 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.3e-07/0.8086, allocations: 0 / 0.7791 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001932/0.8105, allocations: 0.5631 MB / 0.7796 GB, free: 68.77 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.0009489/0.8115, allocations: 399.3 kB / 0.78 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003401/0.8149, allocations: 1.154 MB / 0.7811 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.8149, allocations: 1.281 kB / 0.7811 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.8159, allocations: 375.4 kB / 0.7815 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.8182, allocations: 0.5126 MB / 0.782 GB, free: 67.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.823, allocations: 2.065 MB / 0.784 GB, free: 66.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.8234, allocations: 1.069 MB / 0.785 GB, free: 65.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.8237, allocations: 82.58 kB / 0.7851 GB, free: 65.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.203e-06/0.8237, allocations: 0 / 0.7851 GB, free: 65.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.02766/0.8514, allocations: 24.29 MB / 0.8088 GB, free: 42.07 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)