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.00073/0.0007301, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7728/0.7728, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05252/0.3946, allocations: 56.5 MB / 0.6383 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.4091, allocations: 11.2 MB / 0.6492 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.4104, allocations: 55.62 kB / 0.6492 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.4117, allocations: 460.9 kB / 0.6497 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.4151, allocations: 1.523 MB / 0.6512 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.4174, allocations: 0.8739 MB / 0.652 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.4208, allocations: 3.383 MB / 0.6553 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.4219, allocations: 0.7938 MB / 0.6561 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.4242, allocations: 1.042 MB / 0.6571 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.4253, allocations: 0.8049 MB / 0.6579 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4254, allocations: 44 kB / 0.658 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.4277, allocations: 1.107 MB / 0.659 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.4279, allocations: 203 kB / 0.6592 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.4282, allocations: 281 kB / 0.6595 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.4298, allocations: 1.648 MB / 0.6611 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4298, allocations: 0 / 0.6611 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4298, allocations: 0 / 0.6611 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4299, allocations: 0 / 0.6611 GB, free: 0.5156 MB / 494.1 MB 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.002334/0.4322, allocations: 1.501 MB / 0.6626 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4322, allocations: 12.03 kB / 0.6626 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.4338, allocations: 386 kB / 0.6629 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.4356, allocations: 1.086 MB / 0.664 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.4359, allocations: 129.9 kB / 0.6641 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.436, allocations: 80 kB / 0.6642 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4377, allocations: 0.9622 MB / 0.6651 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4378, allocations: 4 kB / 0.6652 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.4379, allocations: 32 kB / 0.6652 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4379, allocations: 16 kB / 0.6652 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4398, allocations: 0.8469 MB / 0.666 GB, free: 11.31 MB / 0.4981 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.005304/0.4451, allocations: 4.804 MB / 0.6707 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.4466, allocations: 0.5913 MB / 0.6713 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.4472, allocations: 280.7 kB / 0.6716 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.4484, allocations: 1.392 MB / 0.6729 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4484, allocations: 42.5 kB / 0.673 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.336e-06/0.4484, allocations: 4 kB / 0.673 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007372/0.4558, allocations: 2.032 MB / 0.6749 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.4559, allocations: 59.41 kB / 0.675 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4572, allocations: 1.051 MB / 0.676 GB, free: 340 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.4573, allocations: 37.7 kB / 0.6761 GB, free: 296 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.4577, allocations: 0.5119 MB / 0.6766 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4578, allocations: 153.7 kB / 0.6767 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.4578, allocations: 11.94 kB / 0.6767 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.458, allocations: 334 kB / 0.677 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.4587, allocations: 277 kB / 0.6773 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.4595, allocations: 0.4911 MB / 0.6778 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.4603, allocations: 319.5 kB / 0.6781 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4603, allocations: 3.938 kB / 0.6781 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003001/0.4633, allocations: 1.136 MB / 0.6792 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.4634, allocations: 218.2 kB / 0.6794 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4634, allocations: 7.984 kB / 0.6794 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4646, allocations: 328.7 kB / 0.6797 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.465, allocations: 111.9 kB / 0.6798 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.4663, allocations: 0.9377 MB / 0.6808 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.4674, allocations: 187.2 kB / 0.6809 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.4674, allocations: 27.98 kB / 0.681 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.4675, allocations: 4 kB / 0.681 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/0.4702, allocations: 1.007 MB / 0.682 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4702, allocations: 4.406 kB / 0.682 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/0.4712, allocations: 324.6 kB / 0.6823 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.4716, allocations: 123.8 kB / 0.6824 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4728, allocations: 0.927 MB / 0.6833 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.4737, allocations: 158.9 kB / 0.6834 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.4738, allocations: 27.98 kB / 0.6835 GB, free: 8.492 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.4742, allocations: 348.8 kB / 0.6838 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4743, allocations: 110.6 kB / 0.6839 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.4776, allocations: 1.151 MB / 0.685 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.4776, allocations: 11.98 kB / 0.685 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4776, allocations: 0 / 0.685 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4777, allocations: 3.938 kB / 0.685 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.4819, allocations: 2.154 MB / 0.6871 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4819, allocations: 4 kB / 0.6872 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.4821, allocations: 51.92 kB / 0.6872 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.483, allocations: 336.5 kB / 0.6875 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.483, allocations: 19.97 kB / 0.6875 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.4844, allocations: 0.9694 MB / 0.6885 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4844, allocations: 0 / 0.6885 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.4873, allocations: 1.195 MB / 0.6897 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.4877, allocations: 275.4 kB / 0.6899 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.4878, allocations: 12 kB / 0.6899 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/0.4885, allocations: 103.8 kB / 0.69 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.4886, allocations: 43.78 kB / 0.6901 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.4887, allocations: 27.92 kB / 0.6901 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009838/0.4897, allocations: 0.735 MB / 0.6908 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4897, allocations: 0 / 0.6908 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001281/0.491, allocations: 0.5653 MB / 0.6914 GB, free: 208 kB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006514/0.4916, allocations: 388 kB / 0.6917 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.494, allocations: 1.05 MB / 0.6928 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4941, allocations: 4 kB / 0.6928 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.4948, allocations: 326.2 kB / 0.6931 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4968, allocations: 0.494 MB / 0.6936 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.4999, allocations: 2.196 MB / 0.6957 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.5004, allocations: 1.065 MB / 0.6967 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007534/0.5012, allocations: 223 kB / 0.697 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5013, allocations: 75.42 kB / 0.697 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5013, allocations: 0 / 0.697 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.03454/0.5359, allocations: 23.2 MB / 0.7197 GB, free: 3.461 MB / 0.545 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)