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.001323/0.001323, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001786, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3403/0.3403, allocations: 38 MB / 307.8 MB, free: 10.06 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.001852/0.001852, allocations: 68.75 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4582/0.5986, allocations: 190 MB / 0.6071 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.6083, allocations: 6.048 MB / 0.613 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007388/0.6091, allocations: 15.94 kB / 0.6131 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.6101, allocations: 325.8 kB / 0.6134 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.6153, allocations: 1.945 MB / 0.6153 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.6172, allocations: 0.7087 MB / 0.616 GB, free: 444 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.6191, allocations: 1.528 MB / 0.6175 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.6197, allocations: 424.2 kB / 0.6179 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008467/0.6205, allocations: 0.5722 MB / 0.6184 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.6211, allocations: 466.1 kB / 0.6189 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.6212, allocations: 48 kB / 0.6189 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.6252, allocations: 2.012 MB / 0.6209 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.6254, allocations: 159.5 kB / 0.621 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.6258, allocations: 342.5 kB / 0.6214 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.6288, allocations: 1.906 MB / 0.6232 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6288, allocations: 0 / 0.6232 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6289, allocations: 0 / 0.6232 GB, free: 8.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.6289, allocations: 0 / 0.6232 GB, free: 8.992 MB / 494.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.002105/0.631, allocations: 1.125 MB / 0.6243 GB, free: 7.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.631, allocations: 11.89 kB / 0.6243 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.632, allocations: 135.3 kB / 0.6245 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.6327, allocations: 472.4 kB / 0.6249 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6328, allocations: 29 kB / 0.6249 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.6328, allocations: 44 kB / 0.625 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6339, allocations: 0.5867 MB / 0.6255 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6339, allocations: 0 / 0.6255 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.634, allocations: 24 kB / 0.6256 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.634, allocations: 12 kB / 0.6256 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.6349, allocations: 475.5 kB / 0.626 GB, free: 5.973 MB / 494.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.003055/0.638, allocations: 2.678 MB / 0.6286 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.6387, allocations: 343.4 kB / 0.629 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.639, allocations: 165.3 kB / 0.6291 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.6405, allocations: 1.311 MB / 0.6304 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.6405, allocations: 38.84 kB / 0.6304 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.083e-06/0.6405, allocations: 4 kB / 0.6305 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001704/0.6422, allocations: 0.7065 MB / 0.6311 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.6423, allocations: 132.5 kB / 0.6313 GB, free: 92 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2254/0.8677, allocations: 467.5 kB / 0.6317 GB, free: 165 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.868, allocations: 34.14 kB / 0.6317 GB, free: 165 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.8682, allocations: 274.9 kB / 0.632 GB, free: 164.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.8683, allocations: 117.2 kB / 0.6321 GB, free: 164.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.8685, allocations: 100.2 kB / 0.6322 GB, free: 164.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8686, allocations: 356.9 kB / 0.6326 GB, free: 164.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.869, allocations: 150.4 kB / 0.6327 GB, free: 164.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.8694, allocations: 278.1 kB / 0.633 GB, free: 164.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.87, allocations: 430.1 kB / 0.6334 GB, free: 164.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.87, allocations: 7.844 kB / 0.6334 GB, free: 164.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00111/0.8711, allocations: 0.535 MB / 0.6339 GB, free: 164.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.8712, allocations: 9.906 kB / 0.6339 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8712, allocations: 3.25 kB / 0.6339 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.8729, allocations: 238 kB / 0.6341 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.8732, allocations: 103.8 kB / 0.6342 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004066/0.8736, allocations: 0.5897 MB / 0.6348 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.874, allocations: 47.62 kB / 0.6349 GB, free: 163.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.8741, allocations: 45.09 kB / 0.6349 GB, free: 163.6 MB / 494.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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.8743, allocations: 186.8 kB / 0.6351 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8745, allocations: 55.38 kB / 0.6351 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.876, allocations: 0.7041 MB / 0.6358 GB, free: 163.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.876, allocations: 3.688 kB / 0.6358 GB, free: 163.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.8761, allocations: 6.062 kB / 0.6358 GB, free: 163.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8761, allocations: 3.469 kB / 0.6358 GB, free: 163.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.8774, allocations: 1.012 MB / 0.6368 GB, free: 162.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.8774, allocations: 4.797 kB / 0.6368 GB, free: 162.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.8776, allocations: 59.67 kB / 0.6369 GB, free: 162.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/0.8805, allocations: 432.1 kB / 0.6373 GB, free: 162.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.8806, allocations: 7.312 kB / 0.6373 GB, free: 162.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003051/0.8809, allocations: 0.6066 MB / 0.6379 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8809, allocations: 2.844 kB / 0.6379 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.8816, allocations: 0.5123 MB / 0.6384 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.8817, allocations: 141.8 kB / 0.6385 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.8818, allocations: 6.844 kB / 0.6385 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.8821, allocations: 19.48 kB / 0.6386 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.8821, allocations: 30.03 kB / 0.6386 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.8822, allocations: 17.5 kB / 0.6386 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.8826, allocations: 402.8 kB / 0.639 GB, free: 161.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8826, allocations: 0 / 0.639 GB, free: 161.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00111/0.8837, allocations: 366.6 kB / 0.6393 GB, free: 161.4 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/0.8848, allocations: 0.5022 MB / 0.6398 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.8856, allocations: 389.3 kB / 0.6402 GB, free: 161.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8857, allocations: 4.781 kB / 0.6402 GB, free: 161.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.886, allocations: 162.6 kB / 0.6404 GB, free: 161.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.8876, allocations: 373.1 kB / 0.6407 GB, free: 161.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.889, allocations: 0.8968 MB / 0.6416 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.8893, allocations: 0.8518 MB / 0.6424 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007755/0.8901, allocations: 212.4 kB / 0.6426 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.8903, allocations: 73.88 kB / 0.6427 GB, free: 159.8 MB / 494.1 MB Notification: Performance of SimCode: time 5.92e-07/0.8903, allocations: 0 / 0.6427 GB, free: 159.8 MB / 494.1 MB Notification: Performance of Templates: time 0.03172/0.922, allocations: 18.32 MB / 0.6606 GB, free: 158.1 MB / 494.1 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)