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.0009824/0.0009824, allocations: 103.1 kB / 16.35 MB, free: 6.289 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.001053/0.001053, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 135.1 MB / 426.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.91 kB / 0.5067 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3089, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06097/0.3699, allocations: 75.12 MB / 0.6591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.387, allocations: 12.74 MB / 0.6716 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.3894, allocations: 67.62 kB / 0.6716 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.3917, allocations: 0.8228 MB / 0.6724 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006483/0.3983, allocations: 2.472 MB / 0.6748 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.4016, allocations: 1.388 MB / 0.6762 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006037/0.4076, allocations: 4.384 MB / 0.6805 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.4099, allocations: 1.439 MB / 0.6819 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00402/0.4139, allocations: 1.626 MB / 0.6835 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.4161, allocations: 1.198 MB / 0.6846 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.4166, allocations: 160 kB / 0.6848 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.42, allocations: 1.404 MB / 0.6862 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.4206, allocations: 398.6 kB / 0.6865 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.4224, allocations: 0.9099 MB / 0.6874 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.4267, allocations: 2.867 MB / 0.6902 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4268, allocations: 0 / 0.6902 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4268, allocations: 0 / 0.6902 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.4268, allocations: 0 / 0.6902 GB, free: 15.33 MB / 0.5294 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.003439/0.4302, allocations: 2.083 MB / 0.6923 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4303, allocations: 9.109 kB / 0.6923 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.431, allocations: 230.8 kB / 0.6925 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.4334, allocations: 1.52 MB / 0.694 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.4335, allocations: 77.94 kB / 0.694 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.4336, allocations: 100 kB / 0.6941 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.4354, allocations: 1.096 MB / 0.6952 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.4355, allocations: 8 kB / 0.6952 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.4356, allocations: 40 kB / 0.6953 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4356, allocations: 24 kB / 0.6953 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4373, allocations: 0.89 MB / 0.6961 GB, free: 9.102 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.005434/0.4428, allocations: 4.903 MB / 0.7009 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.4441, allocations: 0.625 MB / 0.7015 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.4447, allocations: 342.3 kB / 0.7019 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/0.4454, allocations: 0.8316 MB / 0.7027 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.4454, allocations: 43.12 kB / 0.7027 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.264e-06/0.4454, allocations: 3.938 kB / 0.7027 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006442/0.4519, allocations: 1.674 MB / 0.7044 GB, free: 172 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4519, allocations: 59.97 kB / 0.7044 GB, free: 100 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.4535, allocations: 1.218 MB / 0.7056 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.4536, allocations: 45.7 kB / 0.7057 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.4541, allocations: 0.6026 MB / 0.7062 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.4542, allocations: 216.9 kB / 0.7065 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.4545, allocations: 154.6 kB / 0.7066 GB, free: 13.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4546, allocations: 341.9 kB / 0.7069 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.4552, allocations: 284.7 kB / 0.7072 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.456, allocations: 0.4967 MB / 0.7077 GB, free: 12.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.4573, allocations: 0.709 MB / 0.7084 GB, free: 11.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4573, allocations: 0 / 0.7084 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004232/0.4615, allocations: 1.265 MB / 0.7096 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4615, allocations: 12.36 kB / 0.7096 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4616, allocations: 8 kB / 0.7096 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.4621, allocations: 136.7 kB / 0.7098 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.4627, allocations: 155.8 kB / 0.7099 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/0.4635, allocations: 0.6967 MB / 0.7106 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000876/0.4643, allocations: 119.1 kB / 0.7107 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.4644, allocations: 35.98 kB / 0.7107 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009692/0.4654, allocations: 0.5487 MB / 0.7113 GB, free: 8.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007492/0.4662, allocations: 495.8 kB / 0.7117 GB, free: 8.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.4674, allocations: 0.7012 MB / 0.7124 GB, free: 7.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.4674, allocations: 0 / 0.7124 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0041/0.4715, allocations: 1.269 MB / 0.7137 GB, free: 6.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4716, allocations: 4.094 kB / 0.7137 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4716, allocations: 8.312 kB / 0.7137 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.472, allocations: 136.7 kB / 0.7138 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.4726, allocations: 159.7 kB / 0.714 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000716/0.4733, allocations: 0.6967 MB / 0.7146 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/0.4742, allocations: 95.45 kB / 0.7147 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.4743, allocations: 28 kB / 0.7148 GB, free: 5.125 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.0002413/0.4746, allocations: 232.1 kB / 0.715 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4748, allocations: 134.3 kB / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.4791, allocations: 1.263 MB / 0.7163 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4791, allocations: 4 kB / 0.7163 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4791, allocations: 0 / 0.7163 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003718/0.4828, allocations: 1.103 MB / 0.7174 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006464/0.4893, allocations: 2.618 MB / 0.72 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.4894, allocations: 4 kB / 0.72 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.4898, allocations: 115.8 kB / 0.7201 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.4903, allocations: 133 kB / 0.7202 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.4904, allocations: 19.98 kB / 0.7202 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.495, allocations: 2.587 MB / 0.7228 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.495, allocations: 4 kB / 0.7228 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.5, allocations: 1.691 MB / 0.7244 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.5007, allocations: 307.2 kB / 0.7247 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5009, allocations: 19.98 kB / 0.7247 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.5016, allocations: 67.92 kB / 0.7248 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5018, allocations: 52.36 kB / 0.7249 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.5018, allocations: 35.98 kB / 0.7249 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001234/0.5031, allocations: 0.8855 MB / 0.7257 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5031, allocations: 0 / 0.7257 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001731/0.5048, allocations: 0.7212 MB / 0.7265 GB, free: 8.723 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.0008731/0.5057, allocations: 453.3 kB / 0.7269 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.5081, allocations: 1.117 MB / 0.728 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5081, allocations: 192 / 0.728 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.5095, allocations: 0.5602 MB / 0.7285 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.5124, allocations: 0.7946 MB / 0.7293 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.5157, allocations: 2.264 MB / 0.7315 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.5165, allocations: 1.168 MB / 0.7327 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009173/0.5174, allocations: 307 kB / 0.7329 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.5176, allocations: 107.3 kB / 0.733 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of SimCode: time 3.807e-06/0.5176, allocations: 0 / 0.733 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of Templates: time 0.2735/0.7911, allocations: 32.08 MB / 0.7644 GB, free: 149.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)