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.001147/0.001147, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001119/0.00112, allocations: 187 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.1 MB / 426.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.69 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1896, allocations: 80.91 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.08276/0.2725, allocations: 75.13 MB / 0.7386 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4325/0.705, allocations: 12.72 MB / 0.7511 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.7078, allocations: 66.94 kB / 0.7511 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.7103, allocations: 0.8309 MB / 0.7519 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.7175, allocations: 2.461 MB / 0.7543 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.721, allocations: 1.386 MB / 0.7557 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007552/0.7286, allocations: 4.384 MB / 0.76 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.7321, allocations: 1.445 MB / 0.7614 GB, free: 25.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.7378, allocations: 1.654 MB / 0.763 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.7409, allocations: 1.198 MB / 0.7642 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008548/0.7417, allocations: 163.4 kB / 0.7643 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/0.7472, allocations: 1.405 MB / 0.7657 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.7484, allocations: 399.8 kB / 0.7661 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.7516, allocations: 0.9016 MB / 0.767 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.7589, allocations: 2.877 MB / 0.7698 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7589, allocations: 0 / 0.7698 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7589, allocations: 4 kB / 0.7698 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.504e-05/0.759, allocations: 1 kB / 0.7698 GB, free: 24.8 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.004662/0.7636, allocations: 2.079 MB / 0.7718 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7637, allocations: 10.11 kB / 0.7718 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.7647, allocations: 226.1 kB / 0.772 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.7674, allocations: 1.528 MB / 0.7735 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.7675, allocations: 75.78 kB / 0.7736 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.7676, allocations: 105.8 kB / 0.7737 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.7699, allocations: 1.1 MB / 0.7748 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.7699, allocations: 1.094 kB / 0.7748 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.77, allocations: 40.06 kB / 0.7748 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.7701, allocations: 33.28 kB / 0.7748 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.772, allocations: 0.8846 MB / 0.7757 GB, free: 23.08 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.006346/0.7784, allocations: 4.899 MB / 0.7805 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7798, allocations: 0.614 MB / 0.7811 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.7806, allocations: 362.1 kB / 0.7814 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/0.7811, allocations: 0.8279 MB / 0.7822 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7811, allocations: 40.44 kB / 0.7823 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.7811, allocations: 1.594 kB / 0.7823 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007326/0.7885, allocations: 1.674 MB / 0.7839 GB, free: 18.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.7885, allocations: 65.69 kB / 0.784 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.7905, allocations: 1.221 MB / 0.7852 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.7906, allocations: 42.02 kB / 0.7852 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.791, allocations: 0.6028 MB / 0.7858 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.7913, allocations: 216.9 kB / 0.786 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.7915, allocations: 157.3 kB / 0.7862 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.7916, allocations: 330.9 kB / 0.7865 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.7922, allocations: 291.4 kB / 0.7868 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.793, allocations: 499.5 kB / 0.7872 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7944, allocations: 0.7054 MB / 0.7879 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7944, allocations: 5.812 kB / 0.7879 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004623/0.799, allocations: 1.272 MB / 0.7892 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.7991, allocations: 6.875 kB / 0.7892 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7991, allocations: 9.672 kB / 0.7892 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.7997, allocations: 136.6 kB / 0.7893 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.8003, allocations: 159.4 kB / 0.7895 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.8011, allocations: 0.6903 MB / 0.7901 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.8023, allocations: 111.8 kB / 0.7903 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.8024, allocations: 38.61 kB / 0.7903 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.8035, allocations: 0.5502 MB / 0.7908 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000692/0.8042, allocations: 0.4917 MB / 0.7913 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001189/0.8054, allocations: 0.7103 MB / 0.792 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.8054, allocations: 0 / 0.792 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004346/0.8097, allocations: 1.263 MB / 0.7932 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8098, allocations: 9.359 kB / 0.7932 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.8098, allocations: 12.62 kB / 0.7933 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.8102, allocations: 130.8 kB / 0.7934 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.8108, allocations: 166.6 kB / 0.7935 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006151/0.8114, allocations: 0.6962 MB / 0.7942 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.8125, allocations: 93.33 kB / 0.7943 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.8126, allocations: 26.84 kB / 0.7943 GB, free: 12.41 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.000248/0.8129, allocations: 236 kB / 0.7946 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.8131, allocations: 136.8 kB / 0.7947 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.8175, allocations: 1.258 MB / 0.7959 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.8175, allocations: 8 kB / 0.7959 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8175, allocations: 0 / 0.7959 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.8215, allocations: 1.1 MB / 0.797 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.8278, allocations: 2.619 MB / 0.7996 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8278, allocations: 10.38 kB / 0.7996 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.8283, allocations: 110 kB / 0.7997 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.8287, allocations: 127 kB / 0.7998 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.8288, allocations: 20.42 kB / 0.7998 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.8338, allocations: 2.579 MB / 0.8023 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.8339, allocations: 7.906 kB / 0.8023 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/0.8398, allocations: 1.697 MB / 0.804 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.8408, allocations: 313.4 kB / 0.8043 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.841, allocations: 16.19 kB / 0.8043 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.8418, allocations: 57.41 kB / 0.8044 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.842, allocations: 59.89 kB / 0.8044 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.842, allocations: 36.52 kB / 0.8045 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00119/0.8432, allocations: 0.8808 MB / 0.8053 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8432, allocations: 7.75 kB / 0.8053 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002213/0.8455, allocations: 0.7126 MB / 0.806 GB, free: 4.766 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.001125/0.8466, allocations: 452.5 kB / 0.8065 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.8491, allocations: 1.123 MB / 0.8075 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.8492, allocations: 4 kB / 0.8076 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.8507, allocations: 0.5608 MB / 0.8081 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/0.855, allocations: 0.8042 MB / 0.8089 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.8587, allocations: 2.287 MB / 0.8111 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.8596, allocations: 1.165 MB / 0.8123 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.86, allocations: 111.4 kB / 0.8124 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.86, allocations: 0 / 0.8124 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.04524/0.9053, allocations: 31.23 MB / 0.8429 GB, free: 15.69 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)