Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008205/0.008205, allocations: 105.8 kB / 15.74 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.001878/0.001878, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7847/0.7847, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.61 kB / 0.5814 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, allocations: 80.2 MB / 0.6597 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05993/0.224, allocations: 61.17 MB / 0.7194 GB, free: 232 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.2426, allocations: 11.97 MB / 0.7311 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.2459, allocations: 59.62 kB / 0.7312 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2481, allocations: 0.6948 MB / 0.7318 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/0.2542, allocations: 2.066 MB / 0.7339 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.2577, allocations: 1.214 MB / 0.735 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004292/0.262, allocations: 3.087 MB / 0.7381 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.2636, allocations: 1.092 MB / 0.7391 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.2666, allocations: 1.378 MB / 0.7405 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2678, allocations: 0.8867 MB / 0.7413 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.268, allocations: 116 kB / 0.7414 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.2706, allocations: 1.435 MB / 0.7428 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.2709, allocations: 290.9 kB / 0.7431 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.2717, allocations: 0.692 MB / 0.7438 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.2753, allocations: 2.306 MB / 0.746 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2754, allocations: 3.984 kB / 0.7461 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2754, allocations: 3.938 kB / 0.7461 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.2754, allocations: 4 kB / 0.7461 GB, free: 4.844 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.003006/0.2784, allocations: 1.725 MB / 0.7477 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2785, allocations: 12.03 kB / 0.7478 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.2807, allocations: 410.6 kB / 0.7481 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2829, allocations: 1.159 MB / 0.7493 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.283, allocations: 62 kB / 0.7493 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2831, allocations: 83.94 kB / 0.7494 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.2852, allocations: 1.005 MB / 0.7504 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.2852, allocations: 4 kB / 0.7504 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.2853, allocations: 36 kB / 0.7504 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.2854, allocations: 16 kB / 0.7505 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.2876, allocations: 0.8586 MB / 0.7513 GB, free: 15.3 MB / 0.5919 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.006587/0.2942, allocations: 5.216 MB / 0.7564 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.2976, allocations: 0.7733 MB / 0.7571 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.2984, allocations: 300.5 kB / 0.7574 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.299, allocations: 0.9025 MB / 0.7583 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2991, allocations: 42.56 kB / 0.7584 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.2991, allocations: 0 / 0.7584 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.008497/0.3076, allocations: 1.845 MB / 0.7602 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3077, allocations: 55.41 kB / 0.7602 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.3094, allocations: 1.079 MB / 0.7613 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.3095, allocations: 37.7 kB / 0.7613 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.31, allocations: 0.5311 MB / 0.7618 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3101, allocations: 157.9 kB / 0.762 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3103, allocations: 134.1 kB / 0.7621 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3105, allocations: 326 kB / 0.7624 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.3114, allocations: 311.3 kB / 0.7627 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3125, allocations: 0.5346 MB / 0.7632 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.3142, allocations: 0.7211 MB / 0.7639 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.3142, allocations: 4 kB / 0.7639 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002771/0.317, allocations: 1.008 MB / 0.7649 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.317, allocations: 8 kB / 0.7649 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.317, allocations: 4 kB / 0.7649 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3183, allocations: 308.7 kB / 0.7652 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.3188, allocations: 127.8 kB / 0.7653 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3203, allocations: 0.9029 MB / 0.7662 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3216, allocations: 163.1 kB / 0.7664 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.3216, allocations: 39.97 kB / 0.7664 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001218/0.3229, allocations: 0.509 MB / 0.7669 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.3239, allocations: 0.5307 MB / 0.7674 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/0.3255, allocations: 0.7024 MB / 0.7681 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.3255, allocations: 0 / 0.7681 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002714/0.3282, allocations: 1.012 MB / 0.7691 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3283, allocations: 10.03 kB / 0.7691 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3283, allocations: 4 kB / 0.7691 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3294, allocations: 300.8 kB / 0.7694 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.33, allocations: 127.8 kB / 0.7695 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.3314, allocations: 0.8879 MB / 0.7704 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3327, allocations: 135.5 kB / 0.7705 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.3328, allocations: 35.92 kB / 0.7706 GB, free: 10.47 MB / 0.6075 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 (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.0002701/0.333, allocations: 225 kB / 0.7708 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.3333, allocations: 106.7 kB / 0.7709 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.3372, allocations: 1.088 MB / 0.7719 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.3373, allocations: 7.984 kB / 0.7719 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3373, allocations: 0 / 0.7719 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3373, allocations: 4 kB / 0.7719 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.3427, allocations: 2.162 MB / 0.7741 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3427, allocations: 0 / 0.7741 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.343, allocations: 59.89 kB / 0.7741 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.344, allocations: 292.9 kB / 0.7744 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.3441, allocations: 15.98 kB / 0.7744 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.3456, allocations: 0.9307 MB / 0.7753 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3456, allocations: 0 / 0.7753 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.3493, allocations: 1.152 MB / 0.7764 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.3499, allocations: 259.5 kB / 0.7767 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.3502, allocations: 12 kB / 0.7767 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/0.3511, allocations: 67.92 kB / 0.7768 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.3512, allocations: 43.83 kB / 0.7768 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.3513, allocations: 23.98 kB / 0.7768 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00145/0.3527, allocations: 0.7473 MB / 0.7776 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3527, allocations: 0 / 0.7776 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002047/0.3548, allocations: 0.5731 MB / 0.7781 GB, free: 2.516 MB / 0.6075 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009205/0.3557, allocations: 386.8 kB / 0.7785 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003423/0.3592, allocations: 1.128 MB / 0.7796 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.3592, allocations: 3.938 kB / 0.7796 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.3601, allocations: 346.3 kB / 0.7799 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.3632, allocations: 0.5046 MB / 0.7804 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/0.3696, allocations: 2.006 MB / 0.7824 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.3705, allocations: 1.061 MB / 0.7834 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001049/0.3715, allocations: 228.7 kB / 0.7836 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.3718, allocations: 71.42 kB / 0.7837 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/0.3718, allocations: 0 / 0.7837 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.0438/0.4156, allocations: 25.09 MB / 0.8082 GB, free: 3.957 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)