Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.005336/0.005336, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001246/0.001246, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.402/1.402, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8253/0.8253, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61.53 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1724, allocations: 80.92 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06189/0.2343, allocations: 61.24 MB / 0.7245 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.2553, allocations: 11.99 MB / 0.7362 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.2585, allocations: 59.62 kB / 0.7362 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.2615, allocations: 0.683 MB / 0.7369 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.2684, allocations: 1.963 MB / 0.7388 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.2721, allocations: 1.209 MB / 0.74 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005385/0.2775, allocations: 3.108 MB / 0.743 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.2799, allocations: 1.108 MB / 0.7441 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.2846, allocations: 1.344 MB / 0.7454 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.2872, allocations: 0.9119 MB / 0.7463 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/0.2879, allocations: 116 kB / 0.7464 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.2918, allocations: 1.439 MB / 0.7478 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3932/0.6851, allocations: 292.9 kB / 0.7481 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.6866, allocations: 0.6993 MB / 0.7488 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.6921, allocations: 2.33 MB / 0.7511 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6921, allocations: 0 / 0.7511 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6921, allocations: 0 / 0.7511 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.6921, allocations: 0 / 0.7511 GB, free: 23.16 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.003514/0.6956, allocations: 1.797 MB / 0.7528 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6957, allocations: 10.58 kB / 0.7528 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.6978, allocations: 419.9 kB / 0.7532 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.7, allocations: 1.18 MB / 0.7544 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.7001, allocations: 62.81 kB / 0.7545 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7002, allocations: 86.25 kB / 0.7545 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.7024, allocations: 1.014 MB / 0.7555 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7024, allocations: 1.125 kB / 0.7555 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.7025, allocations: 32.25 kB / 0.7556 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.7026, allocations: 19.28 kB / 0.7556 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.7051, allocations: 0.891 MB / 0.7565 GB, free: 21.52 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.006764/0.7119, allocations: 5.244 MB / 0.7616 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.7156, allocations: 0.7853 MB / 0.7623 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.7164, allocations: 309.7 kB / 0.7626 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.7169, allocations: 0.9091 MB / 0.7635 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.717, allocations: 39.58 kB / 0.7636 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.717, allocations: 0 / 0.7636 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008486/0.7255, allocations: 1.897 MB / 0.7654 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.7255, allocations: 56.88 kB / 0.7655 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.7271, allocations: 1.08 MB / 0.7665 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.7272, allocations: 44.45 kB / 0.7666 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.7275, allocations: 0.5477 MB / 0.7671 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.7276, allocations: 163.7 kB / 0.7673 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.7279, allocations: 138.7 kB / 0.7674 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.7279, allocations: 329.2 kB / 0.7677 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.7288, allocations: 322.9 kB / 0.768 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.7299, allocations: 0.5478 MB / 0.7685 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.7316, allocations: 0.7479 MB / 0.7693 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7316, allocations: 1.406 kB / 0.7693 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003592/0.7352, allocations: 1.175 MB / 0.7704 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7352, allocations: 6.688 kB / 0.7704 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7352, allocations: 5.469 kB / 0.7704 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.7365, allocations: 313.7 kB / 0.7707 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.7371, allocations: 134.4 kB / 0.7709 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.7384, allocations: 0.8993 MB / 0.7717 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.7396, allocations: 166.6 kB / 0.7719 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.7397, allocations: 35.42 kB / 0.7719 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001218/0.7409, allocations: 0.5218 MB / 0.7724 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.742, allocations: 0.5452 MB / 0.773 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001885/0.7439, allocations: 0.7421 MB / 0.7737 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.586e-06/0.7439, allocations: 1.406 kB / 0.7737 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003487/0.7474, allocations: 1.168 MB / 0.7748 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7474, allocations: 10.69 kB / 0.7749 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7474, allocations: 5.906 kB / 0.7749 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.7485, allocations: 298.8 kB / 0.7751 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.749, allocations: 134.5 kB / 0.7753 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.7502, allocations: 0.9047 MB / 0.7762 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.7516, allocations: 141.6 kB / 0.7763 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.7517, allocations: 32.66 kB / 0.7763 GB, free: 13.61 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.0002621/0.752, allocations: 223 kB / 0.7765 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7522, allocations: 121.4 kB / 0.7767 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.7559, allocations: 1.119 MB / 0.7777 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.7559, allocations: 9.375 kB / 0.7778 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7559, allocations: 4 kB / 0.7778 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.756, allocations: 5.062 kB / 0.7778 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.7609, allocations: 2.201 MB / 0.7799 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.7609, allocations: 2.281 kB / 0.7799 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.7612, allocations: 69.58 kB / 0.78 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.7621, allocations: 293.1 kB / 0.7803 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.7622, allocations: 19.88 kB / 0.7803 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.7634, allocations: 0.9266 MB / 0.7812 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7634, allocations: 2.812 kB / 0.7812 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.7667, allocations: 1.201 MB / 0.7824 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.7671, allocations: 271.9 kB / 0.7826 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.7672, allocations: 12.78 kB / 0.7826 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.768, allocations: 78.27 kB / 0.7827 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.7681, allocations: 38.23 kB / 0.7827 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.7682, allocations: 27.77 kB / 0.7828 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001051/0.7693, allocations: 0.7606 MB / 0.7835 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7693, allocations: 0 / 0.7835 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001752/0.771, allocations: 0.5731 MB / 0.7841 GB, free: 11.57 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.0008255/0.7719, allocations: 394 kB / 0.7844 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.775, allocations: 1.178 MB / 0.7856 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7751, allocations: 0 / 0.7856 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.7759, allocations: 367.4 kB / 0.7859 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7781, allocations: 0.5121 MB / 0.7864 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.7827, allocations: 2.058 MB / 0.7885 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.7832, allocations: 1.064 MB / 0.7895 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008093/0.784, allocations: 223.8 kB / 0.7897 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.7842, allocations: 78.69 kB / 0.7898 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.7842, allocations: 0 / 0.7898 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of Templates: time 0.03645/0.8207, allocations: 25.4 MB / 0.8146 GB, free: 9.012 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)