Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009089/0.000909, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2766/0.2766, allocations: 38.03 MB / 308.4 MB, free: 10.39 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005578, allocations: 20 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09653, allocations: 57.52 MB / 434 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3371/0.4337, allocations: 173.2 MB / 0.5929 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.4409, allocations: 5.719 MB / 0.5985 GB, free: 5.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.4412, allocations: 23.81 kB / 0.5985 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.4418, allocations: 250.4 kB / 0.5988 GB, free: 5.305 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003498/0.4453, allocations: 1.678 MB / 0.6004 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.4467, allocations: 0.5581 MB / 0.601 GB, free: 3.082 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4483, allocations: 1.734 MB / 0.6027 GB, free: 1.348 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.4487, allocations: 342.4 kB / 0.603 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.4494, allocations: 0.5058 MB / 0.6035 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.4498, allocations: 446.3 kB / 0.6039 GB, free: 68 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.4499, allocations: 28 kB / 0.6039 GB, free: 40 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.4529, allocations: 1.836 MB / 0.6057 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.453, allocations: 127.5 kB / 0.6058 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.4531, allocations: 145.4 kB / 0.606 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4545, allocations: 1.224 MB / 0.6072 GB, free: 12.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4545, allocations: 0 / 0.6072 GB, free: 12.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4545, allocations: 0 / 0.6072 GB, free: 12.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4545, allocations: 4 kB / 0.6072 GB, free: 12.7 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001509/0.4561, allocations: 0.9793 MB / 0.6081 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4561, allocations: 8.031 kB / 0.6081 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008786/0.457, allocations: 143.1 kB / 0.6083 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.4576, allocations: 464.8 kB / 0.6087 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.4576, allocations: 29 kB / 0.6088 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.4577, allocations: 36 kB / 0.6088 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.4586, allocations: 0.5945 MB / 0.6094 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4586, allocations: 0 / 0.6094 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.4587, allocations: 20 kB / 0.6094 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.4587, allocations: 12 kB / 0.6094 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.4595, allocations: 483.5 kB / 0.6099 GB, free: 9.82 MB / 478.1 MB 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.002633/0.4621, allocations: 2.674 MB / 0.6125 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.4628, allocations: 347.5 kB / 0.6128 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.4631, allocations: 173.3 kB / 0.613 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.4642, allocations: 1.315 MB / 0.6143 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4642, allocations: 38.78 kB / 0.6143 GB, free: 4.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.342e-06/0.4642, allocations: 0 / 0.6143 GB, free: 4.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001427/0.4657, allocations: 0.7182 MB / 0.615 GB, free: 4.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.4657, allocations: 132.5 kB / 0.6151 GB, free: 3.918 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.4662, allocations: 477.9 kB / 0.6156 GB, free: 3.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.4663, allocations: 33.7 kB / 0.6156 GB, free: 3.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4664, allocations: 275.8 kB / 0.6159 GB, free: 3.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.4665, allocations: 122.3 kB / 0.616 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.4666, allocations: 8 kB / 0.616 GB, free: 3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4667, allocations: 358.8 kB / 0.6163 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.467, allocations: 148.7 kB / 0.6165 GB, free: 2.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.4673, allocations: 291.6 kB / 0.6168 GB, free: 2.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.4677, allocations: 185 kB / 0.6169 GB, free: 1.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4677, allocations: 4 kB / 0.6169 GB, free: 1.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008553/0.4685, allocations: 0.5364 MB / 0.6175 GB, free: 1.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4685, allocations: 4 kB / 0.6175 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4686, allocations: 4 kB / 0.6175 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.4699, allocations: 289 kB / 0.6177 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.4702, allocations: 111.4 kB / 0.6178 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/0.4706, allocations: 0.5991 MB / 0.6184 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.4709, allocations: 63.5 kB / 0.6185 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.471, allocations: 44 kB / 0.6185 GB, free: 308 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.4712, allocations: 186.8 kB / 0.6187 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4713, allocations: 51.44 kB / 0.6188 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4728, allocations: 0.7305 MB / 0.6195 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4728, allocations: 4 kB / 0.6195 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4728, allocations: 7.938 kB / 0.6195 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4728, allocations: 3.984 kB / 0.6195 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4741, allocations: 1.014 MB / 0.6205 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4741, allocations: 0 / 0.6205 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.4743, allocations: 59.91 kB / 0.6205 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/0.4771, allocations: 0.5355 MB / 0.6211 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.4771, allocations: 8 kB / 0.6211 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/0.4775, allocations: 0.6062 MB / 0.6217 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4775, allocations: 4.031 kB / 0.6217 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.4782, allocations: 0.5038 MB / 0.6222 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.4784, allocations: 164.3 kB / 0.6223 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.4784, allocations: 8 kB / 0.6223 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.4788, allocations: 35.97 kB / 0.6224 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.4788, allocations: 31.86 kB / 0.6224 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4789, allocations: 19.98 kB / 0.6224 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4793, allocations: 370.8 kB / 0.6228 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4793, allocations: 0 / 0.6228 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008853/0.4802, allocations: 371.6 kB / 0.6231 GB, free: 11.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * Single equations (assignments): 26 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.4812, allocations: 0.5038 MB / 0.6236 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007516/0.4819, allocations: 385 kB / 0.624 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.482, allocations: 0 / 0.624 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.4823, allocations: 175 kB / 0.6241 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4836, allocations: 290.9 kB / 0.6244 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4851, allocations: 1.048 MB / 0.6254 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.4856, allocations: 0.8633 MB / 0.6263 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008155/0.4864, allocations: 197.3 kB / 0.6265 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.4866, allocations: 75.42 kB / 0.6265 GB, free: 7.855 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4866, allocations: 0 / 0.6265 GB, free: 7.855 MB / 494.1 MB Notification: Performance of Templates: time 0.1905/0.6771, allocations: 16.17 MB / 0.6423 GB, free: 157.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) Environment - environmentSimulation: