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.001178/0.001178, allocations: 109.8 kB / 16.36 MB, free: 6.344 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.001207/0.001207, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 55.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.396, allocations: 80.19 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06984/0.4659, allocations: 75.14 MB / 0.6548 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.4861, allocations: 12.73 MB / 0.6673 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/0.4893, allocations: 67.62 kB / 0.6673 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.4919, allocations: 0.8268 MB / 0.6682 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008101/0.5001, allocations: 2.468 MB / 0.6706 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.5046, allocations: 1.384 MB / 0.6719 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006999/0.5116, allocations: 4.39 MB / 0.6762 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.5139, allocations: 1.447 MB / 0.6776 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.5184, allocations: 1.62 MB / 0.6792 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.521, allocations: 1.19 MB / 0.6804 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003726/0.5214, allocations: 164 kB / 0.6805 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.5248, allocations: 1.404 MB / 0.6819 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.5253, allocations: 406.6 kB / 0.6823 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.5267, allocations: 0.8982 MB / 0.6832 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.5317, allocations: 2.867 MB / 0.6859 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5318, allocations: 4 kB / 0.686 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5318, allocations: 4 kB / 0.686 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.355e-05/0.5319, allocations: 0 / 0.686 GB, free: 2.949 MB / 0.5137 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.004562/0.5364, allocations: 2.075 MB / 0.688 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5365, allocations: 12.03 kB / 0.688 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.5373, allocations: 226.9 kB / 0.6882 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.5403, allocations: 1.52 MB / 0.6897 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.5403, allocations: 78 kB / 0.6898 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5405, allocations: 103.9 kB / 0.6899 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.5425, allocations: 1.1 MB / 0.6909 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.5426, allocations: 3.938 kB / 0.6909 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.5427, allocations: 39.98 kB / 0.691 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.5427, allocations: 36 kB / 0.691 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5445, allocations: 0.8822 MB / 0.6919 GB, free: 12.72 MB / 0.5294 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.006711/0.5513, allocations: 4.903 MB / 0.6967 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.5527, allocations: 0.6159 MB / 0.6973 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/0.5534, allocations: 351.3 kB / 0.6976 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/0.5542, allocations: 0.8238 MB / 0.6984 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.5542, allocations: 47.11 kB / 0.6985 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.968e-06/0.5542, allocations: 0 / 0.6985 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006777/0.561, allocations: 1.677 MB / 0.7001 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.5611, allocations: 59.97 kB / 0.7002 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.5629, allocations: 1.225 MB / 0.7013 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.563, allocations: 37.7 kB / 0.7014 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.5636, allocations: 0.6026 MB / 0.702 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.5638, allocations: 212.9 kB / 0.7022 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.564, allocations: 162.5 kB / 0.7023 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5642, allocations: 333.9 kB / 0.7026 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.5648, allocations: 296.6 kB / 0.7029 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.5656, allocations: 499.8 kB / 0.7034 GB, free: 268 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.567, allocations: 0.7051 MB / 0.7041 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.567, allocations: 4 kB / 0.7041 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004566/0.5716, allocations: 1.265 MB / 0.7053 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5716, allocations: 4 kB / 0.7053 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5716, allocations: 4 kB / 0.7053 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.5722, allocations: 137.1 kB / 0.7055 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.5729, allocations: 163.7 kB / 0.7056 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/0.5737, allocations: 0.6967 MB / 0.7063 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5748, allocations: 115.1 kB / 0.7064 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.5749, allocations: 35.98 kB / 0.7065 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.576, allocations: 0.5488 MB / 0.707 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007704/0.5768, allocations: 491.8 kB / 0.7075 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.5781, allocations: 0.7051 MB / 0.7081 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.5781, allocations: 0 / 0.7081 GB, free: 11.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004431/0.5826, allocations: 1.269 MB / 0.7094 GB, free: 9.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5826, allocations: 8 kB / 0.7094 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5826, allocations: 11.98 kB / 0.7094 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/0.5831, allocations: 133.2 kB / 0.7095 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.5837, allocations: 163.8 kB / 0.7097 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007541/0.5844, allocations: 0.6966 MB / 0.7104 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5856, allocations: 99.44 kB / 0.7105 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.5857, allocations: 28 kB / 0.7105 GB, free: 8.746 MB / 0.545 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.0002967/0.586, allocations: 228.8 kB / 0.7107 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.5862, allocations: 134.3 kB / 0.7108 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.5906, allocations: 1.263 MB / 0.7121 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.5906, allocations: 12 kB / 0.7121 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.5906, allocations: 0 / 0.7121 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003693/0.5943, allocations: 1.099 MB / 0.7132 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.6007, allocations: 2.606 MB / 0.7157 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.6007, allocations: 11.97 kB / 0.7157 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.6012, allocations: 115.8 kB / 0.7158 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.6017, allocations: 128.7 kB / 0.7159 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.6017, allocations: 23.98 kB / 0.716 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.6063, allocations: 2.592 MB / 0.7185 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6064, allocations: 7.984 kB / 0.7185 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.6113, allocations: 1.688 MB / 0.7202 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/0.6121, allocations: 315.1 kB / 0.7205 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6123, allocations: 16 kB / 0.7205 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.6131, allocations: 63.94 kB / 0.7205 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.6133, allocations: 56.3 kB / 0.7206 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.6133, allocations: 31.98 kB / 0.7206 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001406/0.6148, allocations: 0.8816 MB / 0.7215 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6148, allocations: 4 kB / 0.7215 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001945/0.6167, allocations: 0.7174 MB / 0.7222 GB, free: 12.36 MB / 0.5606 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.000894/0.6176, allocations: 455.5 kB / 0.7226 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002658/0.6203, allocations: 1.117 MB / 0.7237 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6203, allocations: 4 kB / 0.7237 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.6218, allocations: 0.5609 MB / 0.7243 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.6249, allocations: 0.7986 MB / 0.725 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.6285, allocations: 2.256 MB / 0.7272 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6292, allocations: 1.164 MB / 0.7284 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009753/0.6302, allocations: 303 kB / 0.7287 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.6305, allocations: 107.4 kB / 0.7288 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.6305, allocations: 11.94 kB / 0.7288 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.311/0.9415, allocations: 32.07 MB / 0.7601 GB, free: 149.7 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)