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.001228/0.001228, allocations: 108 kB / 16.41 MB, free: 6.027 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.001384/0.001384, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.388/1.388, 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-master/package.mo): time 0.8287/0.8287, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 75.88 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0672/0.2401, allocations: 61.2 MB / 0.7251 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.2577, allocations: 11.98 MB / 0.7368 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.2604, allocations: 59.62 kB / 0.7368 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.2628, allocations: 0.6713 MB / 0.7375 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.2691, allocations: 1.959 MB / 0.7394 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.2728, allocations: 1.201 MB / 0.7406 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.2779, allocations: 3.094 MB / 0.7436 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.2801, allocations: 1.1 MB / 0.7447 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.2842, allocations: 1.363 MB / 0.746 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.2863, allocations: 0.8906 MB / 0.7469 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/0.2868, allocations: 119.9 kB / 0.747 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.2904, allocations: 1.458 MB / 0.7484 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.2909, allocations: 298.8 kB / 0.7487 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4188/0.7097, allocations: 0.6849 MB / 0.7494 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005808/0.7156, allocations: 2.326 MB / 0.7517 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7156, allocations: 0.7031 kB / 0.7517 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7156, allocations: 0 / 0.7517 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.7157, allocations: 0.9375 kB / 0.7517 GB, free: 23.13 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.004736/0.7204, allocations: 1.725 MB / 0.7533 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.7205, allocations: 10.55 kB / 0.7533 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7225, allocations: 344.8 kB / 0.7537 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.7255, allocations: 1.158 MB / 0.7548 GB, free: 21.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.7257, allocations: 61.44 kB / 0.7549 GB, free: 21.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.7258, allocations: 83.59 kB / 0.7549 GB, free: 21.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.7283, allocations: 0.974 MB / 0.7559 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.7284, allocations: 1.656 kB / 0.7559 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.7285, allocations: 30.88 kB / 0.7559 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.7285, allocations: 19.25 kB / 0.7559 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.731, allocations: 0.8025 MB / 0.7567 GB, free: 21.62 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.007083/0.7381, allocations: 5.131 MB / 0.7617 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.7398, allocations: 0.5588 MB / 0.7623 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/0.7406, allocations: 265.3 kB / 0.7625 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.7418, allocations: 1.368 MB / 0.7639 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.7419, allocations: 40.94 kB / 0.7639 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/0.7419, allocations: 0 / 0.7639 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008787/0.7507, allocations: 1.767 MB / 0.7656 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.7507, allocations: 55.78 kB / 0.7657 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.7527, allocations: 1.078 MB / 0.7667 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/0.7528, allocations: 40.39 kB / 0.7668 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.7533, allocations: 0.5281 MB / 0.7673 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7534, allocations: 145.8 kB / 0.7674 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.7536, allocations: 136.3 kB / 0.7676 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.7537, allocations: 328.7 kB / 0.7679 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007346/0.7545, allocations: 278.9 kB / 0.7681 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.7554, allocations: 0.4983 MB / 0.7686 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.7567, allocations: 0.655 MB / 0.7693 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7567, allocations: 5.469 kB / 0.7693 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002438/0.7591, allocations: 0.9507 MB / 0.7702 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7592, allocations: 7.484 kB / 0.7702 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.7592, allocations: 5.188 kB / 0.7702 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.7606, allocations: 308.1 kB / 0.7705 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.7611, allocations: 116.6 kB / 0.7706 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.7624, allocations: 0.8902 MB / 0.7715 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.7637, allocations: 156.8 kB / 0.7716 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.7638, allocations: 27.38 kB / 0.7717 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001167/0.765, allocations: 492.3 kB / 0.7721 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/0.7658, allocations: 0.5034 MB / 0.7726 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/0.7672, allocations: 0.6527 MB / 0.7733 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.858e-06/0.7672, allocations: 2.469 kB / 0.7733 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002452/0.7697, allocations: 0.9438 MB / 0.7742 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7697, allocations: 6.875 kB / 0.7742 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7697, allocations: 5.531 kB / 0.7742 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.7709, allocations: 293.5 kB / 0.7745 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.7714, allocations: 124.7 kB / 0.7746 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.7728, allocations: 0.8954 MB / 0.7755 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.7743, allocations: 125.9 kB / 0.7756 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.7744, allocations: 33.23 kB / 0.7756 GB, free: 13.36 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.0003551/0.7747, allocations: 214.9 kB / 0.7758 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.775, allocations: 118.3 kB / 0.7759 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.7789, allocations: 1.058 MB / 0.777 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.7789, allocations: 11.91 kB / 0.777 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.7789, allocations: 1.094 kB / 0.777 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.7789, allocations: 3 kB / 0.777 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.784, allocations: 2.055 MB / 0.779 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.784, allocations: 1.281 kB / 0.779 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.7842, allocations: 54.56 kB / 0.7791 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009872/0.7852, allocations: 305.2 kB / 0.7793 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.7853, allocations: 13.78 kB / 0.7794 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.7866, allocations: 0.9353 MB / 0.7803 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7866, allocations: 3.266 kB / 0.7803 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.79, allocations: 1.091 MB / 0.7813 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.7905, allocations: 260.8 kB / 0.7816 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7907, allocations: 12.78 kB / 0.7816 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.7914, allocations: 68.08 kB / 0.7817 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7915, allocations: 34.16 kB / 0.7817 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.7916, allocations: 21.77 kB / 0.7817 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00132/0.7929, allocations: 0.7568 MB / 0.7825 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7929, allocations: 0 / 0.7825 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001977/0.7949, allocations: 0.5778 MB / 0.783 GB, free: 11.37 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.0009131/0.7958, allocations: 395.6 kB / 0.7834 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.7986, allocations: 1.022 MB / 0.7844 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7986, allocations: 1.344 kB / 0.7844 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.7994, allocations: 321.2 kB / 0.7847 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8016, allocations: 0.523 MB / 0.7852 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.8049, allocations: 1.832 MB / 0.787 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.8053, allocations: 1.059 MB / 0.788 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.8055, allocations: 83.12 kB / 0.7881 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.8055, allocations: 0 / 0.7881 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.03114/0.8367, allocations: 24.23 MB / 0.8118 GB, free: 12.07 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)