Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001356/0.001356, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.43/1.43, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001668/0.001668, allocations: 111.5 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2058/0.2058, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.067e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 54.86 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/1.868, allocations: 0.5928 GB / 1.03 GB, free: 139.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.868, allocations: 94.77 kB / 1.031 GB, free: 139.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8217/2.69, allocations: 275.4 MB / 1.299 GB, free: 71.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/2.69, allocations: 0 / 1.299 GB, free: 71.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.173e-05/2.69, allocations: 18.27 kB / 1.3 GB, free: 71.02 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003017/2.693, allocations: 1.234 MB / 1.301 GB, free: 69.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/2.693, allocations: 8.031 kB / 1.301 GB, free: 69.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/2.694, allocations: 162.5 kB / 1.301 GB, free: 69.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/2.695, allocations: 0.5183 MB / 1.301 GB, free: 69.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/2.695, allocations: 16 kB / 1.301 GB, free: 69.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/2.695, allocations: 24 kB / 1.301 GB, free: 68.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005936/2.696, allocations: 426.5 kB / 1.302 GB, free: 68.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/2.696, allocations: 0.5405 MB / 1.302 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/2.697, allocations: 0 / 1.302 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/2.697, allocations: 0 / 1.302 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/2.697, allocations: 12 kB / 1.302 GB, free: 67.97 MB / 474.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.002218/2.699, allocations: 2.547 MB / 1.305 GB, free: 65.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/2.699, allocations: 214.8 kB / 1.305 GB, free: 65.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/2.699, allocations: 133.6 kB / 1.305 GB, free: 64.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/2.7, allocations: 324 kB / 1.305 GB, free: 64.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/2.7, allocations: 46.48 kB / 1.306 GB, free: 64.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/2.7, allocations: 0 / 1.306 GB, free: 64.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.002383/2.702, allocations: 0.7711 MB / 1.306 GB, free: 63.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/2.702, allocations: 158.2 kB / 1.306 GB, free: 63.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/2.702, allocations: 385.2 kB / 1.307 GB, free: 63.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/2.702, allocations: 33.02 kB / 1.307 GB, free: 63.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/2.703, allocations: 327 kB / 1.307 GB, free: 62.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/2.703, allocations: 118.3 kB / 1.307 GB, free: 62.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/2.703, allocations: 0 / 1.307 GB, free: 62.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/2.703, allocations: 358.8 kB / 1.308 GB, free: 62.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/2.703, allocations: 121.1 kB / 1.308 GB, free: 62.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/2.703, allocations: 344.6 kB / 1.308 GB, free: 61.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/2.705, allocations: 0.6059 MB / 1.309 GB, free: 61.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/2.705, allocations: 0 / 1.309 GB, free: 61.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002349/2.708, allocations: 0.9594 MB / 1.31 GB, free: 60.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/2.708, allocations: 8 kB / 1.31 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.708, allocations: 4 kB / 1.31 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/2.708, allocations: 52.83 kB / 1.31 GB, free: 60.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/2.708, allocations: 139 kB / 1.31 GB, free: 60 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004139/2.709, allocations: 0.6147 MB / 1.31 GB, free: 59.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/2.709, allocations: 54.98 kB / 1.31 GB, free: 59.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/2.709, allocations: 55.98 kB / 1.31 GB, free: 59.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001112/2.709, allocations: 120.8 kB / 1.311 GB, free: 59.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/2.709, allocations: 59.3 kB / 1.311 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/2.711, allocations: 0.5994 MB / 1.311 GB, free: 58.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/2.711, allocations: 4 kB / 1.311 GB, free: 58.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.711, allocations: 0 / 1.311 GB, free: 58.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.711, allocations: 0 / 1.311 GB, free: 58.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/2.712, allocations: 1.097 MB / 1.312 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.712, allocations: 0 / 1.312 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/2.713, allocations: 55.92 kB / 1.312 GB, free: 57.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/2.713, allocations: 48.77 kB / 1.312 GB, free: 57.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/2.713, allocations: 7.984 kB / 1.312 GB, free: 57.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/2.713, allocations: 0.6064 MB / 1.313 GB, free: 56.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.713, allocations: 4 kB / 1.313 GB, free: 56.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/2.714, allocations: 0.6268 MB / 1.314 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/2.714, allocations: 152.1 kB / 1.314 GB, free: 55.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/2.714, allocations: 4 kB / 1.314 GB, free: 55.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/2.715, allocations: 19.83 kB / 1.314 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/2.715, allocations: 23.97 kB / 1.314 GB, free: 55.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/2.715, allocations: 19.03 kB / 1.314 GB, free: 55.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002927/2.715, allocations: 318.9 kB / 1.314 GB, free: 55.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.715, allocations: 0 / 1.314 GB, free: 55.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001646/2.717, allocations: 451.4 kB / 1.315 GB, free: 54.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002373/2.719, allocations: 1.507 MB / 1.316 GB, free: 53.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006578/2.72, allocations: 342.8 kB / 1.316 GB, free: 53.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.72, allocations: 0 / 1.316 GB, free: 53.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/2.72, allocations: 116.5 kB / 1.316 GB, free: 53.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/2.721, allocations: 262.4 kB / 1.317 GB, free: 52.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/2.727, allocations: 2.386 MB / 1.319 GB, free: 50.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/2.727, allocations: 0.8744 MB / 1.32 GB, free: 49.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009505/2.728, allocations: 196.6 kB / 1.32 GB, free: 49.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/2.729, allocations: 71.41 kB / 1.32 GB, free: 49.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/2.729, allocations: 0 / 1.32 GB, free: 49.25 MB / 474.7 MB Notification: Performance of Templates: time 0.02525/2.754, allocations: 18.5 MB / 1.338 GB, free: 30.82 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)