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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001039/0.001039, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.341/1.341, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001826/0.001825, allocations: 103.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1991/0.1991, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.729e-05, allocations: 6.609 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09778, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.622, allocations: 0.5727 GB / 0.962 GB, free: 112.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.622, allocations: 92.69 kB / 0.9621 GB, free: 112.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8659/2.488, allocations: 229.8 MB / 1.187 GB, free: 73.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/2.488, allocations: 0 / 1.187 GB, free: 73.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.217e-05/2.488, allocations: 21.33 kB / 1.187 GB, free: 73.02 MB / 426.7 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.002841/2.491, allocations: 0.9476 MB / 1.188 GB, free: 72.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/2.491, allocations: 7.156 kB / 1.188 GB, free: 72.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/2.492, allocations: 138 kB / 1.188 GB, free: 72.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/2.493, allocations: 0.5235 MB / 1.188 GB, free: 71.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/2.493, allocations: 12 kB / 1.188 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/2.493, allocations: 24 kB / 1.188 GB, free: 71.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000673/2.494, allocations: 389.9 kB / 1.189 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/2.495, allocations: 489.9 kB / 1.189 GB, free: 70.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/2.495, allocations: 11.89 kB / 1.189 GB, free: 70.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/2.495, allocations: 3.984 kB / 1.189 GB, free: 70.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/2.495, allocations: 12 kB / 1.189 GB, free: 70.73 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002572/2.498, allocations: 2.556 MB / 1.192 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/2.498, allocations: 231.2 kB / 1.192 GB, free: 67.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/2.498, allocations: 137.3 kB / 1.192 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/2.499, allocations: 322.7 kB / 1.192 GB, free: 67.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/2.499, allocations: 37 kB / 1.192 GB, free: 67.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/2.499, allocations: 0 / 1.192 GB, free: 67.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002474/2.501, allocations: 0.7561 MB / 1.193 GB, free: 66.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/2.501, allocations: 136.5 kB / 1.193 GB, free: 66.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/2.502, allocations: 365 kB / 1.193 GB, free: 65.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/2.502, allocations: 27.8 kB / 1.194 GB, free: 65.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/2.502, allocations: 303.3 kB / 1.194 GB, free: 65.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/2.502, allocations: 102.5 kB / 1.194 GB, free: 65.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/2.502, allocations: 0 / 1.194 GB, free: 65.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/2.502, allocations: 357.5 kB / 1.194 GB, free: 65.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/2.502, allocations: 145.1 kB / 1.194 GB, free: 65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/2.503, allocations: 316.8 kB / 1.195 GB, free: 64.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/2.505, allocations: 0.6275 MB / 1.195 GB, free: 63.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.505, allocations: 4 kB / 1.195 GB, free: 63.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002627/2.508, allocations: 0.972 MB / 1.196 GB, free: 63.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/2.508, allocations: 4 kB / 1.196 GB, free: 63.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/2.508, allocations: 8 kB / 1.196 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/2.508, allocations: 48.83 kB / 1.196 GB, free: 62.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/2.508, allocations: 143.8 kB / 1.196 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/2.515, allocations: 17.16 MB / 1.213 GB, free: 44.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/2.516, allocations: 65.03 kB / 1.213 GB, free: 44.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/2.516, allocations: 47.98 kB / 1.213 GB, free: 44.51 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.K:VARIABLE(unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.K:VARIABLE(unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 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.000311/2.516, allocations: 161.1 kB / 1.213 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/2.516, allocations: 51.45 kB / 1.214 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/2.518, allocations: 0.5877 MB / 1.214 GB, free: 43.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/2.518, allocations: 4 kB / 1.214 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/2.518, allocations: 4 kB / 1.214 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.518, allocations: 3.984 kB / 1.214 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/2.52, allocations: 1.072 MB / 1.215 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/2.52, allocations: 4.031 kB / 1.215 GB, free: 42.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/2.52, allocations: 51.91 kB / 1.215 GB, free: 42.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/2.52, allocations: 52.83 kB / 1.215 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/2.52, allocations: 7.953 kB / 1.215 GB, free: 42.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/2.52, allocations: 0.5991 MB / 1.216 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.52, allocations: 4.031 kB / 1.216 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/2.521, allocations: 0.6013 MB / 1.216 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/2.522, allocations: 148.4 kB / 1.217 GB, free: 40.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/2.522, allocations: 4 kB / 1.217 GB, free: 40.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/2.522, allocations: 27.97 kB / 1.217 GB, free: 40.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/2.522, allocations: 31.86 kB / 1.217 GB, free: 40.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/2.522, allocations: 12 kB / 1.217 GB, free: 40.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003018/2.522, allocations: 298.9 kB / 1.217 GB, free: 40.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/2.522, allocations: 0 / 1.217 GB, free: 40.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002036/2.525, allocations: 451.2 kB / 1.217 GB, free: 40.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.003145/2.528, allocations: 1.384 MB / 1.219 GB, free: 38.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/2.528, allocations: 327.7 kB / 1.219 GB, free: 38.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.528, allocations: 0 / 1.219 GB, free: 38.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/2.529, allocations: 120 kB / 1.219 GB, free: 38.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/2.53, allocations: 219 kB / 1.219 GB, free: 38.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/2.536, allocations: 2.215 MB / 1.222 GB, free: 36.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/2.536, allocations: 0.8707 MB / 1.222 GB, free: 35.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008755/2.537, allocations: 187.7 kB / 1.223 GB, free: 34.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/2.537, allocations: 67.42 kB / 1.223 GB, free: 34.86 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/2.537, allocations: 4 kB / 1.223 GB, free: 34.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02777/2.565, allocations: 17.69 MB / 1.24 GB, free: 17.19 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (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)