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.001759/0.00176, allocations: 109.2 kB / 16.41 MB, free: 6.398 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.002093/0.002093, allocations: 189.5 kB / 17.34 MB, free: 5.695 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.409/1.409, allocations: 222.9 MB / 241 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.8204/0.8204, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.38 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.176, allocations: 80.94 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.061/0.2371, allocations: 61.19 MB / 0.7251 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.2542, allocations: 11.98 MB / 0.7368 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.257, allocations: 63.62 kB / 0.7368 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.2593, allocations: 0.6752 MB / 0.7375 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006201/0.2655, allocations: 1.959 MB / 0.7394 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.269, allocations: 1.208 MB / 0.7406 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004813/0.2739, allocations: 3.079 MB / 0.7436 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.2759, allocations: 1.111 MB / 0.7447 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.2797, allocations: 1.352 MB / 0.746 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.2817, allocations: 0.9023 MB / 0.7469 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.2822, allocations: 115.9 kB / 0.747 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.2861, allocations: 1.462 MB / 0.7484 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.2867, allocations: 290.9 kB / 0.7487 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4244/0.7111, allocations: 0.6908 MB / 0.7494 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005754/0.7169, allocations: 2.322 MB / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7169, allocations: 1.188 kB / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7169, allocations: 2.625 kB / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.042e-05/0.717, allocations: 1.062 kB / 0.7517 GB, free: 23.19 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.00421/0.7212, allocations: 1.722 MB / 0.7533 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7212, allocations: 10.58 kB / 0.7533 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.7232, allocations: 346.3 kB / 0.7537 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.7258, allocations: 1.163 MB / 0.7548 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.7259, allocations: 61.92 kB / 0.7549 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.726, allocations: 81.16 kB / 0.7549 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.7282, allocations: 0.9664 MB / 0.7559 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.7282, allocations: 5.812 kB / 0.7559 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.7283, allocations: 37.38 kB / 0.7559 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.7283, allocations: 18.91 kB / 0.756 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.7305, allocations: 0.8015 MB / 0.7567 GB, free: 21.68 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.00723/0.7378, allocations: 5.126 MB / 0.7617 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.7395, allocations: 0.5602 MB / 0.7623 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.7403, allocations: 268.2 kB / 0.7625 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.7416, allocations: 1.365 MB / 0.7639 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.7416, allocations: 37.36 kB / 0.7639 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.977e-06/0.7416, allocations: 3.125 kB / 0.7639 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008701/0.7503, allocations: 1.766 MB / 0.7656 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.7504, allocations: 57.08 kB / 0.7657 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.7526, allocations: 1.077 MB / 0.7667 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.7527, allocations: 40.05 kB / 0.7668 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.7531, allocations: 0.528 MB / 0.7673 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.7533, allocations: 148.2 kB / 0.7674 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.7535, allocations: 134.6 kB / 0.7676 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.7536, allocations: 331.7 kB / 0.7679 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/0.7543, allocations: 277.2 kB / 0.7682 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.7553, allocations: 0.4947 MB / 0.7686 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.7567, allocations: 0.6587 MB / 0.7693 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7567, allocations: 2.469 kB / 0.7693 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002717/0.7594, allocations: 0.9507 MB / 0.7702 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.7595, allocations: 7.734 kB / 0.7702 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7595, allocations: 5.125 kB / 0.7702 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.761, allocations: 307.6 kB / 0.7705 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.7616, allocations: 127.7 kB / 0.7706 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.7631, allocations: 0.8894 MB / 0.7715 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.7648, allocations: 149.3 kB / 0.7716 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.7649, allocations: 35.03 kB / 0.7717 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00147/0.7664, allocations: 488.8 kB / 0.7721 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009319/0.7673, allocations: 0.4979 MB / 0.7726 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.7687, allocations: 0.6455 MB / 0.7733 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.7687, allocations: 3.969 kB / 0.7733 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002628/0.7714, allocations: 0.9439 MB / 0.7742 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7714, allocations: 7.75 kB / 0.7742 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7714, allocations: 7.312 kB / 0.7742 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.7725, allocations: 301.3 kB / 0.7745 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.773, allocations: 120.7 kB / 0.7746 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.7743, allocations: 0.8984 MB / 0.7755 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.7757, allocations: 120.9 kB / 0.7756 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.7758, allocations: 32.92 kB / 0.7756 GB, free: 13.42 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.0002983/0.7761, allocations: 223.3 kB / 0.7758 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.7764, allocations: 115.6 kB / 0.776 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.7801, allocations: 1.051 MB / 0.777 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.7801, allocations: 5.781 kB / 0.777 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.7801, allocations: 0 / 0.777 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.7801, allocations: 2.766 kB / 0.777 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.7853, allocations: 2.053 MB / 0.779 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.7853, allocations: 3.859 kB / 0.779 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.7855, allocations: 53.31 kB / 0.779 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009985/0.7865, allocations: 313.4 kB / 0.7793 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.7866, allocations: 12.55 kB / 0.7794 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.788, allocations: 0.9261 MB / 0.7803 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.788, allocations: 6.156 kB / 0.7803 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.7915, allocations: 1.096 MB / 0.7813 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.7921, allocations: 261.9 kB / 0.7816 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.7923, allocations: 12.38 kB / 0.7816 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.7931, allocations: 62.41 kB / 0.7817 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.7932, allocations: 44.12 kB / 0.7817 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.7933, allocations: 22.86 kB / 0.7817 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001275/0.7946, allocations: 0.7487 MB / 0.7825 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7946, allocations: 0 / 0.7825 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001912/0.7965, allocations: 0.5797 MB / 0.783 GB, free: 11.43 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.0009372/0.7974, allocations: 405 kB / 0.7834 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.8002, allocations: 1.028 MB / 0.7844 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8002, allocations: 1.062 kB / 0.7844 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.801, allocations: 321.2 kB / 0.7847 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.8035, allocations: 0.5135 MB / 0.7852 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.8069, allocations: 1.832 MB / 0.787 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.8074, allocations: 1.056 MB / 0.788 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.8076, allocations: 83.45 kB / 0.7881 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.8076, allocations: 0 / 0.7881 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of Templates: time 0.03367/0.8413, allocations: 24.4 MB / 0.8119 GB, free: 11.85 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)