Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001573/0.001574, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.00185, allocations: 193.6 kB / 16.53 MB, free: 6.656 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9365/0.9365, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 60.81 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 80.94 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3949/0.5613, allocations: 61.14 MB / 0.6441 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.5751, allocations: 12 MB / 0.6558 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.5776, allocations: 59.47 kB / 0.6558 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.5797, allocations: 0.6768 MB / 0.6565 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.5848, allocations: 1.959 MB / 0.6584 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.5879, allocations: 1.194 MB / 0.6596 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005146/0.593, allocations: 3.073 MB / 0.6626 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.5957, allocations: 1.099 MB / 0.6637 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.5992, allocations: 1.326 MB / 0.665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.6008, allocations: 0.8926 MB / 0.6658 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.601, allocations: 115 kB / 0.6659 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.6042, allocations: 1.432 MB / 0.6673 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.6045, allocations: 301.1 kB / 0.6676 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.6053, allocations: 0.6868 MB / 0.6683 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.6089, allocations: 2.276 MB / 0.6705 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6089, allocations: 5.312 kB / 0.6705 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6089, allocations: 0 / 0.6705 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.609, allocations: 0 / 0.6705 GB, free: 1.148 MB / 0.4981 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.002966/0.6119, allocations: 1.715 MB / 0.6722 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.612, allocations: 10.88 kB / 0.6722 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.6142, allocations: 409.2 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.6163, allocations: 1.111 MB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.6167, allocations: 115.4 kB / 0.6738 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6168, allocations: 83.25 kB / 0.6739 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.6189, allocations: 1.003 MB / 0.6749 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6189, allocations: 5.094 kB / 0.6749 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.619, allocations: 32.06 kB / 0.6749 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.6191, allocations: 19.28 kB / 0.6749 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.6214, allocations: 0.864 MB / 0.6757 GB, free: 14.32 MB / 0.5137 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.007106/0.6285, allocations: 5.269 MB / 0.6809 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.6321, allocations: 0.7913 MB / 0.6817 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.6329, allocations: 301.2 kB / 0.682 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.6337, allocations: 0.9032 MB / 0.6828 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6338, allocations: 50.31 kB / 0.6829 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.6338, allocations: 0 / 0.6829 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009152/0.6429, allocations: 1.905 MB / 0.6847 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.643, allocations: 56.84 kB / 0.6848 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.645, allocations: 1.081 MB / 0.6859 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.6451, allocations: 38.89 kB / 0.6859 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.6456, allocations: 0.5231 MB / 0.6864 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.6458, allocations: 153.6 kB / 0.6865 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.6461, allocations: 140.1 kB / 0.6867 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6462, allocations: 326.5 kB / 0.687 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009205/0.6471, allocations: 310.2 kB / 0.6873 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6483, allocations: 0.5451 MB / 0.6878 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.6503, allocations: 0.7314 MB / 0.6885 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.6503, allocations: 1.781 kB / 0.6885 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003039/0.6533, allocations: 1.023 MB / 0.6895 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6534, allocations: 12.09 kB / 0.6895 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.6534, allocations: 6.031 kB / 0.6896 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.6549, allocations: 317 kB / 0.6899 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.6555, allocations: 131.1 kB / 0.69 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.6571, allocations: 0.9138 MB / 0.6909 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6587, allocations: 158.3 kB / 0.691 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6588, allocations: 31.52 kB / 0.6911 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001384/0.6602, allocations: 0.5099 MB / 0.6916 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/0.6614, allocations: 0.5426 MB / 0.6921 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001803/0.6632, allocations: 0.7121 MB / 0.6928 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.175e-06/0.6633, allocations: 1.312 kB / 0.6928 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003357/0.6666, allocations: 1.017 MB / 0.6938 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6667, allocations: 6.5 kB / 0.6938 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.6667, allocations: 7.031 kB / 0.6938 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.668, allocations: 319.2 kB / 0.6941 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.6685, allocations: 128.2 kB / 0.6942 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.6701, allocations: 0.9131 MB / 0.6951 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.6717, allocations: 142.5 kB / 0.6952 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.6718, allocations: 33.05 kB / 0.6953 GB, free: 2.562 MB / 0.5137 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.0003113/0.6721, allocations: 225.1 kB / 0.6955 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.6725, allocations: 111.9 kB / 0.6956 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.677, allocations: 1.103 MB / 0.6967 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.677, allocations: 11.42 kB / 0.6967 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.677, allocations: 0 / 0.6967 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.677, allocations: 2.484 kB / 0.6967 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/0.6832, allocations: 2.158 MB / 0.6988 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6833, allocations: 6.219 kB / 0.6988 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.6836, allocations: 64.88 kB / 0.6989 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.6847, allocations: 309.3 kB / 0.6992 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.6847, allocations: 15.55 kB / 0.6992 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.6863, allocations: 0.9356 MB / 0.7001 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.6863, allocations: 6.562 kB / 0.7001 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.6903, allocations: 1.17 MB / 0.7012 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.691, allocations: 268 kB / 0.7015 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.6914, allocations: 9.75 kB / 0.7015 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6924, allocations: 74.97 kB / 0.7016 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6925, allocations: 38.86 kB / 0.7016 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.6926, allocations: 23.33 kB / 0.7016 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001514/0.6941, allocations: 0.7598 MB / 0.7024 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6941, allocations: 0 / 0.7024 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002239/0.6964, allocations: 0.5642 MB / 0.7029 GB, free: 14.57 MB / 0.5294 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.001091/0.6975, allocations: 381.5 kB / 0.7033 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.7011, allocations: 1.145 MB / 0.7044 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.7011, allocations: 5.875 kB / 0.7044 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.702, allocations: 348.2 kB / 0.7047 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.705, allocations: 0.5117 MB / 0.7052 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.7112, allocations: 2.041 MB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.7121, allocations: 1.064 MB / 0.7083 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001284/0.7134, allocations: 224.3 kB / 0.7085 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.7136, allocations: 72.2 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.7136, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.04379/0.7574, allocations: 24.98 MB / 0.7329 GB, free: 3.898 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)