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-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_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.0008865/0.0008866, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.000968/0.0009681, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8033/0.8033, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.2803/0.4231, allocations: 62.9 MB / 0.6486 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.4355, allocations: 10.99 MB / 0.6593 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.4374, allocations: 53.28 kB / 0.6594 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.4394, allocations: 0.7402 MB / 0.6601 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.4452, allocations: 2.302 MB / 0.6624 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.4494, allocations: 1.523 MB / 0.6638 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004989/0.4544, allocations: 2.498 MB / 0.6663 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.4564, allocations: 1.035 MB / 0.6673 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.4594, allocations: 1.161 MB / 0.6684 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.4615, allocations: 0.7685 MB / 0.6692 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.4619, allocations: 55.25 kB / 0.6692 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.4653, allocations: 0.8391 MB / 0.6701 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.4659, allocations: 261.1 kB / 0.6703 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.4668, allocations: 359.1 kB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.4703, allocations: 2.019 MB / 0.6726 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4703, allocations: 0 / 0.6726 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4703, allocations: 0 / 0.6726 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.4704, allocations: 1.219 kB / 0.6726 GB, free: 1.539 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003332/0.4737, allocations: 1.781 MB / 0.6744 GB, free: 388 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4737, allocations: 9.375 kB / 0.6744 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.4745, allocations: 240 kB / 0.6746 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.4769, allocations: 1.378 MB / 0.6759 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.477, allocations: 76.25 kB / 0.676 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4771, allocations: 100.6 kB / 0.6761 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.4792, allocations: 1.107 MB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4793, allocations: 5.125 kB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.4794, allocations: 40.62 kB / 0.6772 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4794, allocations: 25.52 kB / 0.6773 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.4814, allocations: 0.9241 MB / 0.6782 GB, free: 14.54 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.006643/0.488, allocations: 4.95 MB / 0.683 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.4894, allocations: 0.6354 MB / 0.6836 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/0.49, allocations: 0.8261 MB / 0.6844 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4901, allocations: 43.38 kB / 0.6845 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.4901, allocations: 1.188 kB / 0.6845 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00712/0.4972, allocations: 1.873 MB / 0.6863 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4973, allocations: 59.16 kB / 0.6864 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.4991, allocations: 1.249 MB / 0.6876 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.4992, allocations: 42.95 kB / 0.6876 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.4997, allocations: 0.6048 MB / 0.6882 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.5, allocations: 221.6 kB / 0.6884 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.5, allocations: 14.56 kB / 0.6884 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5001, allocations: 329.6 kB / 0.6887 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.5008, allocations: 297.8 kB / 0.689 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/0.5017, allocations: 0.4928 MB / 0.6895 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5024, allocations: 359.4 kB / 0.6898 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5024, allocations: 5.344 kB / 0.6899 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004585/0.507, allocations: 1.388 MB / 0.6912 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005555/0.5076, allocations: 1.422 MB / 0.6926 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5076, allocations: 5.047 kB / 0.6926 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.5082, allocations: 139.7 kB / 0.6927 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5089, allocations: 171.4 kB / 0.6929 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.5098, allocations: 0.7047 MB / 0.6936 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5111, allocations: 168.8 kB / 0.6938 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.5112, allocations: 35.58 kB / 0.6938 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5112, allocations: 3.562 kB / 0.6938 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004326/0.5156, allocations: 1.252 MB / 0.695 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5156, allocations: 4.031 kB / 0.695 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.5161, allocations: 144 kB / 0.6952 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.5167, allocations: 167.7 kB / 0.6953 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007935/0.5175, allocations: 0.7079 MB / 0.696 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.519, allocations: 162.5 kB / 0.6962 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.5191, allocations: 30.12 kB / 0.6962 GB, free: 3.527 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.5202, allocations: 425.7 kB / 0.6966 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.5205, allocations: 131.5 kB / 0.6967 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.5252, allocations: 1.393 MB / 0.6981 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.5252, allocations: 14.64 kB / 0.6981 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5252, allocations: 0 / 0.6981 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004031/0.5293, allocations: 1.229 MB / 0.6993 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/0.536, allocations: 2.755 MB / 0.702 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5361, allocations: 7.5 kB / 0.702 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.5365, allocations: 127.3 kB / 0.7021 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.537, allocations: 139.3 kB / 0.7022 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.5371, allocations: 24.83 kB / 0.7023 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.5419, allocations: 2.5 MB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5419, allocations: 4.188 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.5478, allocations: 2.053 MB / 0.7067 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009258/0.5487, allocations: 352.3 kB / 0.7071 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.5489, allocations: 15.19 kB / 0.7071 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.5498, allocations: 90.72 kB / 0.7072 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5499, allocations: 65 kB / 0.7072 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.55, allocations: 28.61 kB / 0.7072 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001426/0.5514, allocations: 0.8958 MB / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5514, allocations: 1.094 kB / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002219/0.5536, allocations: 0.7262 MB / 0.7088 GB, free: 12.24 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000887/0.5545, allocations: 451.6 kB / 0.7093 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.557, allocations: 1.165 MB / 0.7104 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5571, allocations: 2.5 kB / 0.7104 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.5584, allocations: 0.5936 MB / 0.711 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.5616, allocations: 0.7585 MB / 0.7117 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.5652, allocations: 2.748 MB / 0.7144 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.566, allocations: 1.207 MB / 0.7156 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001277/0.5673, allocations: 307 kB / 0.7159 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.5676, allocations: 103.4 kB / 0.716 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5676, allocations: 0 / 0.716 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of Templates: time 0.04359/0.6112, allocations: 29.95 MB / 0.7452 GB, free: 9.387 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: