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.006191/0.006191, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001302/0.001302, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7753/0.7753, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 69.11 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1657, allocations: 80.92 MB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06092/0.2266, allocations: 61.24 MB / 0.7245 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.2433, allocations: 12 MB / 0.7362 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.2458, allocations: 59.62 kB / 0.7362 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.2477, allocations: 0.6909 MB / 0.7369 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.2534, allocations: 2.072 MB / 0.7389 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.2566, allocations: 1.219 MB / 0.7401 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.2611, allocations: 3.099 MB / 0.7432 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.2628, allocations: 1.128 MB / 0.7443 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.2667, allocations: 1.37 MB / 0.7456 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.2683, allocations: 0.9061 MB / 0.7465 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.2685, allocations: 116 kB / 0.7466 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.2723, allocations: 1.443 MB / 0.748 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4049/0.6772, allocations: 287.4 kB / 0.7483 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.6786, allocations: 0.6982 MB / 0.749 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004745/0.6833, allocations: 2.318 MB / 0.7512 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6833, allocations: 4.25 kB / 0.7512 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6834, allocations: 1.562 kB / 0.7512 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.6834, allocations: 0 / 0.7512 GB, free: 23.26 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.003726/0.6871, allocations: 1.752 MB / 0.7529 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6872, allocations: 11.14 kB / 0.753 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.6894, allocations: 410 kB / 0.7533 GB, free: 22.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.6921, allocations: 1.162 MB / 0.7545 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.6921, allocations: 64.09 kB / 0.7545 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.6923, allocations: 83.62 kB / 0.7546 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.6946, allocations: 1.019 MB / 0.7556 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.6946, allocations: 0.6562 kB / 0.7556 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.6947, allocations: 36.08 kB / 0.7556 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.6947, allocations: 19.44 kB / 0.7557 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.6975, allocations: 0.887 MB / 0.7565 GB, free: 21.74 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.008487/0.706, allocations: 5.229 MB / 0.7616 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.7096, allocations: 0.784 MB / 0.7624 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008185/0.7104, allocations: 311.7 kB / 0.7627 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.711, allocations: 0.9052 MB / 0.7636 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.711, allocations: 39.53 kB / 0.7636 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.711, allocations: 0 / 0.7636 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008696/0.7197, allocations: 1.901 MB / 0.7655 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7198, allocations: 65.03 kB / 0.7655 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.7218, allocations: 1.071 MB / 0.7666 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7219, allocations: 36.95 kB / 0.7666 GB, free: 17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.7223, allocations: 0.5426 MB / 0.7672 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.7224, allocations: 156.3 kB / 0.7673 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.7227, allocations: 140.1 kB / 0.7674 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.7227, allocations: 329.2 kB / 0.7678 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008889/0.7236, allocations: 321.7 kB / 0.7681 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7247, allocations: 0.55 MB / 0.7686 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.7264, allocations: 0.7459 MB / 0.7693 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.7264, allocations: 2.469 kB / 0.7693 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004283/0.7307, allocations: 1.176 MB / 0.7705 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.7308, allocations: 7.531 kB / 0.7705 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.7308, allocations: 5.719 kB / 0.7705 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.732, allocations: 306 kB / 0.7708 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.7326, allocations: 141 kB / 0.7709 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.7339, allocations: 0.9028 MB / 0.7718 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.7354, allocations: 158.6 kB / 0.7719 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/0.7355, allocations: 37.67 kB / 0.772 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001342/0.7368, allocations: 0.5217 MB / 0.7725 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.7378, allocations: 0.5453 MB / 0.773 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/0.7394, allocations: 0.7419 MB / 0.7737 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.658e-06/0.7394, allocations: 1.469 kB / 0.7738 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003454/0.7429, allocations: 1.157 MB / 0.7749 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7429, allocations: 11.28 kB / 0.7749 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7429, allocations: 8.812 kB / 0.7749 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.7439, allocations: 300.8 kB / 0.7752 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.7445, allocations: 135.5 kB / 0.7753 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.7457, allocations: 0.8931 MB / 0.7762 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.7472, allocations: 145.1 kB / 0.7763 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.7472, allocations: 30.47 kB / 0.7764 GB, free: 13.86 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.0002565/0.7475, allocations: 220.2 kB / 0.7766 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.7477, allocations: 120.3 kB / 0.7767 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.7514, allocations: 1.122 MB / 0.7778 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.7514, allocations: 12.7 kB / 0.7778 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7514, allocations: 1.953 kB / 0.7778 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.7515, allocations: 2.906 kB / 0.7778 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005126/0.7566, allocations: 2.201 MB / 0.7799 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.7566, allocations: 3.344 kB / 0.7799 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.7569, allocations: 67.53 kB / 0.78 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009321/0.7579, allocations: 303.2 kB / 0.7803 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.7579, allocations: 17.33 kB / 0.7803 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.7592, allocations: 0.9216 MB / 0.7812 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7592, allocations: 4.75 kB / 0.7812 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.7625, allocations: 1.199 MB / 0.7824 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.763, allocations: 268.6 kB / 0.7826 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.7632, allocations: 14.12 kB / 0.7827 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.764, allocations: 76.14 kB / 0.7827 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.7641, allocations: 38.17 kB / 0.7828 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.7641, allocations: 26.47 kB / 0.7828 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001199/0.7653, allocations: 0.7552 MB / 0.7835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7654, allocations: 0 / 0.7835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001934/0.7673, allocations: 0.5749 MB / 0.7841 GB, free: 11.84 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.0008888/0.7682, allocations: 392.2 kB / 0.7845 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003198/0.7714, allocations: 1.181 MB / 0.7856 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7714, allocations: 0 / 0.7856 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.7723, allocations: 362 kB / 0.786 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.7743, allocations: 0.5104 MB / 0.7865 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.779, allocations: 2.019 MB / 0.7884 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.7795, allocations: 1.065 MB / 0.7895 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008529/0.7803, allocations: 234.6 kB / 0.7897 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.7805, allocations: 81.16 kB / 0.7898 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7805, allocations: 0 / 0.7898 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.04146/0.822, allocations: 25.39 MB / 0.8146 GB, free: 9.266 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)