Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006794/0.006794, allocations: 104.5 kB / 15.73 MB, free: 6.047 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.001483/0.001483, allocations: 192.1 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8335/0.8335, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 62.42 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1908, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07324/0.2641, allocations: 75.13 MB / 0.733 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.2844, allocations: 12.73 MB / 0.7455 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.2878, allocations: 63.62 kB / 0.7455 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.2903, allocations: 0.8579 MB / 0.7464 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007352/0.2977, allocations: 2.584 MB / 0.7489 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.3013, allocations: 1.401 MB / 0.7503 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007109/0.3084, allocations: 4.385 MB / 0.7545 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.3108, allocations: 1.433 MB / 0.7559 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.3147, allocations: 1.661 MB / 0.7576 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3162, allocations: 1.198 MB / 0.7587 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.3165, allocations: 164 kB / 0.7589 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.3195, allocations: 1.408 MB / 0.7603 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.3199, allocations: 406.6 kB / 0.7606 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.321, allocations: 0.9021 MB / 0.7615 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.3253, allocations: 2.867 MB / 0.7643 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3253, allocations: 0 / 0.7643 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.574e-06/0.3253, allocations: 0 / 0.7643 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.3254, allocations: 7.984 kB / 0.7643 GB, free: 1.945 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003876/0.3293, allocations: 2.083 MB / 0.7664 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3293, allocations: 8.031 kB / 0.7664 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.3302, allocations: 230.8 kB / 0.7666 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.3327, allocations: 1.516 MB / 0.7681 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.3328, allocations: 78 kB / 0.7681 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.333, allocations: 100 kB / 0.7682 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3349, allocations: 1.108 MB / 0.7693 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.335, allocations: 0 / 0.7693 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.3351, allocations: 39.98 kB / 0.7694 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.3351, allocations: 28 kB / 0.7694 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.3371, allocations: 0.8861 MB / 0.7703 GB, free: 11.72 MB / 0.6075 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.006864/0.3439, allocations: 4.903 MB / 0.775 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.3454, allocations: 0.6166 MB / 0.7756 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.3461, allocations: 351.1 kB / 0.776 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.3468, allocations: 0.8238 MB / 0.7768 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3469, allocations: 55 kB / 0.7768 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.3469, allocations: 0 / 0.7768 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007717/0.3546, allocations: 1.67 MB / 0.7785 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3547, allocations: 55.97 kB / 0.7785 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.3565, allocations: 1.229 MB / 0.7797 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3566, allocations: 37.7 kB / 0.7798 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.3571, allocations: 0.6026 MB / 0.7803 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.3574, allocations: 216.9 kB / 0.7806 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.3576, allocations: 158.5 kB / 0.7807 GB, free: 464 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3578, allocations: 337.9 kB / 0.781 GB, free: 120 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.3585, allocations: 292.7 kB / 0.7813 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.3593, allocations: 499.4 kB / 0.7818 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3608, allocations: 0.7129 MB / 0.7825 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3608, allocations: 0 / 0.7825 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004936/0.3657, allocations: 1.265 MB / 0.7837 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3657, allocations: 16 kB / 0.7837 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3658, allocations: 4 kB / 0.7837 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.3664, allocations: 136.7 kB / 0.7839 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.3671, allocations: 155.8 kB / 0.784 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008525/0.3679, allocations: 0.6928 MB / 0.7847 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3692, allocations: 119.1 kB / 0.7848 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.3693, allocations: 28 kB / 0.7848 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.3707, allocations: 0.5605 MB / 0.7854 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008621/0.3715, allocations: 492.7 kB / 0.7858 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001406/0.3729, allocations: 0.709 MB / 0.7865 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-06/0.373, allocations: 0 / 0.7865 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005002/0.378, allocations: 1.269 MB / 0.7878 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.378, allocations: 8 kB / 0.7878 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.378, allocations: 4.375 kB / 0.7878 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.3786, allocations: 136.7 kB / 0.7879 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3792, allocations: 159.7 kB / 0.7881 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008173/0.38, allocations: 0.6967 MB / 0.7888 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.3812, allocations: 95.39 kB / 0.7888 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.3813, allocations: 40.05 kB / 0.7889 GB, free: 7.734 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.3816, allocations: 222.8 kB / 0.7891 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.3819, allocations: 142.4 kB / 0.7892 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/0.3868, allocations: 1.259 MB / 0.7905 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.3868, allocations: 15.98 kB / 0.7905 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3868, allocations: 0 / 0.7905 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004376/0.3912, allocations: 1.096 MB / 0.7915 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/0.3982, allocations: 2.614 MB / 0.7941 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.3982, allocations: 4 kB / 0.7941 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.3987, allocations: 111.8 kB / 0.7942 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.3993, allocations: 133.1 kB / 0.7943 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.3993, allocations: 20 kB / 0.7944 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/0.4045, allocations: 2.591 MB / 0.7969 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4045, allocations: 4 kB / 0.7969 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.4101, allocations: 1.703 MB / 0.7986 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.4108, allocations: 307.2 kB / 0.7988 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.4111, allocations: 27.98 kB / 0.7989 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.4119, allocations: 55.88 kB / 0.7989 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.412, allocations: 60.31 kB / 0.799 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.4121, allocations: 35.97 kB / 0.799 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001318/0.4134, allocations: 0.8777 MB / 0.7999 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4135, allocations: 4 kB / 0.7999 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001954/0.4154, allocations: 0.7135 MB / 0.8006 GB, free: 11.35 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009835/0.4164, allocations: 448.5 kB / 0.801 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.4191, allocations: 1.114 MB / 0.8021 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.4192, allocations: 8.062 kB / 0.8021 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4206, allocations: 0.5601 MB / 0.8026 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/0.424, allocations: 0.8079 MB / 0.8034 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.4276, allocations: 2.245 MB / 0.8056 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007885/0.4284, allocations: 1.176 MB / 0.8068 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001065/0.4295, allocations: 307 kB / 0.8071 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.4298, allocations: 111.3 kB / 0.8072 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.4298, allocations: 0 / 0.8072 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of Templates: time 0.4501/0.8798, allocations: 32.29 MB / 0.8387 GB, free: 134.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)