Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001422/0.001422, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001296/0.001296, allocations: 187 kB / 17.34 MB, free: 5.715 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8602/0.8602, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.25 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1624, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.08113/0.2436, allocations: 75.26 MB / 0.7388 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4006/0.6442, allocations: 12.74 MB / 0.7513 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.6474, allocations: 68.38 kB / 0.7513 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.6502, allocations: 0.8649 MB / 0.7522 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0086/0.6588, allocations: 2.589 MB / 0.7547 GB, free: 26.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.6627, allocations: 1.397 MB / 0.7561 GB, free: 26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007661/0.6704, allocations: 4.379 MB / 0.7604 GB, free: 26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.6729, allocations: 1.183 MB / 0.7615 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.6783, allocations: 1.661 MB / 0.7631 GB, free: 25.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.6822, allocations: 1.199 MB / 0.7643 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000842/0.683, allocations: 162.8 kB / 0.7645 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.6884, allocations: 1.403 MB / 0.7658 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008564/0.6893, allocations: 415.2 kB / 0.7662 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.6913, allocations: 0.9065 MB / 0.7671 GB, free: 25.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.6973, allocations: 2.88 MB / 0.7699 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.6973, allocations: 4.562 kB / 0.7699 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6973, allocations: 0 / 0.7699 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.285e-05/0.6974, allocations: 0.5625 kB / 0.7699 GB, free: 24.92 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004783/0.7022, allocations: 2.134 MB / 0.772 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7022, allocations: 9.859 kB / 0.772 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009006/0.7031, allocations: 244.2 kB / 0.7723 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.7057, allocations: 1.533 MB / 0.7737 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.7058, allocations: 77.47 kB / 0.7738 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.706, allocations: 103.8 kB / 0.7739 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.7081, allocations: 1.105 MB / 0.775 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.7081, allocations: 0.8438 kB / 0.775 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.7082, allocations: 42.53 kB / 0.775 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.7082, allocations: 28.78 kB / 0.7751 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.7101, allocations: 0.8861 MB / 0.7759 GB, free: 23.14 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.005565/0.7157, allocations: 4.907 MB / 0.7807 GB, free: 20.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.717, allocations: 0.5893 MB / 0.7813 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.7177, allocations: 335.8 kB / 0.7816 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.7182, allocations: 0.8248 MB / 0.7824 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.7182, allocations: 41.84 kB / 0.7825 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.146e-06/0.7182, allocations: 4 kB / 0.7825 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006895/0.7251, allocations: 1.678 MB / 0.7841 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.7252, allocations: 56.81 kB / 0.7842 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.7269, allocations: 1.227 MB / 0.7854 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.727, allocations: 40.67 kB / 0.7854 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.7274, allocations: 0.609 MB / 0.786 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.7276, allocations: 228.8 kB / 0.7862 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.7278, allocations: 150.6 kB / 0.7864 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.7279, allocations: 340.3 kB / 0.7867 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.7285, allocations: 290.9 kB / 0.787 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.7292, allocations: 496.4 kB / 0.7874 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.7305, allocations: 0.7117 MB / 0.7881 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7305, allocations: 1.375 kB / 0.7881 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004398/0.7349, allocations: 1.279 MB / 0.7894 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7349, allocations: 6.875 kB / 0.7894 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.7349, allocations: 3.125 kB / 0.7894 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.7355, allocations: 141.4 kB / 0.7895 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.7361, allocations: 155.2 kB / 0.7897 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006949/0.7368, allocations: 0.6968 MB / 0.7904 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.7379, allocations: 122.2 kB / 0.7905 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.738, allocations: 30.41 kB / 0.7905 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001004/0.739, allocations: 0.5561 MB / 0.791 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006978/0.7397, allocations: 491.9 kB / 0.7915 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/0.7409, allocations: 0.7034 MB / 0.7922 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.7409, allocations: 4 kB / 0.7922 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004154/0.7451, allocations: 1.27 MB / 0.7934 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7451, allocations: 6.906 kB / 0.7934 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7451, allocations: 6.688 kB / 0.7935 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.7455, allocations: 139.4 kB / 0.7936 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.746, allocations: 150.7 kB / 0.7937 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006012/0.7467, allocations: 0.7017 MB / 0.7944 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.7477, allocations: 97.58 kB / 0.7945 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.7478, allocations: 32.39 kB / 0.7945 GB, free: 12.23 MB / 0.5762 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.0002163/0.748, allocations: 233 kB / 0.7948 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.7482, allocations: 140 kB / 0.7949 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.7523, allocations: 1.265 MB / 0.7961 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.7524, allocations: 9.641 kB / 0.7961 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.7524, allocations: 0 / 0.7961 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/0.7559, allocations: 1.1 MB / 0.7972 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.7618, allocations: 2.614 MB / 0.7998 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.7618, allocations: 2.094 kB / 0.7998 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.7623, allocations: 116.3 kB / 0.7999 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.7627, allocations: 128.5 kB / 0.8 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.7628, allocations: 18.53 kB / 0.8 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.7669, allocations: 2.582 MB / 0.8025 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7669, allocations: 12.91 kB / 0.8026 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006032/0.773, allocations: 1.703 MB / 0.8042 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.7742, allocations: 311 kB / 0.8045 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.7745, allocations: 19.14 kB / 0.8045 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7759, allocations: 55.62 kB / 0.8046 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.7761, allocations: 55.34 kB / 0.8046 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.7762, allocations: 38.03 kB / 0.8047 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001823/0.778, allocations: 0.8814 MB / 0.8055 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.778, allocations: 0 / 0.8055 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00341/0.7814, allocations: 0.7234 MB / 0.8062 GB, free: 4.562 MB / 0.5762 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.001399/0.7828, allocations: 458.4 kB / 0.8067 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.7866, allocations: 1.062 MB / 0.8077 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7866, allocations: 4 kB / 0.8077 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.7887, allocations: 0.5366 MB / 0.8082 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/0.7943, allocations: 0.8039 MB / 0.809 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.7992, allocations: 2.325 MB / 0.8113 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.8005, allocations: 1.172 MB / 0.8124 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.8011, allocations: 115.4 kB / 0.8126 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/0.8011, allocations: 0 / 0.8126 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.0558/0.8569, allocations: 31.36 MB / 0.8432 GB, free: 15.61 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)