Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00161/0.00161, 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.459/1.459, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001843/0.001843, allocations: 110 kB / 247.4 MB, free: 6.207 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.191/0.191, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.494e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09108, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/1.642, allocations: 0.5946 GB / 1.032 GB, free: 137.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.643, allocations: 85.27 kB / 1.032 GB, free: 137.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9377/2.581, allocations: 342.8 MB / 1.367 GB, free: 1.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/2.581, allocations: 0 / 1.367 GB, free: 1.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001119/2.581, allocations: 26.27 kB / 1.367 GB, free: 1.879 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00522/2.586, allocations: 1.554 MB / 1.369 GB, free: 296 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/2.586, allocations: 12.02 kB / 1.369 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/2.588, allocations: 194.6 kB / 1.369 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2577/2.845, allocations: 0.8286 MB / 1.37 GB, free: 55.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/2.845, allocations: 24.62 kB / 1.37 GB, free: 55.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/2.846, allocations: 34.69 kB / 1.37 GB, free: 55.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/2.847, allocations: 0.9709 MB / 1.371 GB, free: 55.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/2.849, allocations: 1.041 MB / 1.372 GB, free: 55.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.849, allocations: 2.047 kB / 1.372 GB, free: 55.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/2.849, allocations: 1.281 kB / 1.372 GB, free: 55.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/2.849, allocations: 82.62 kB / 1.372 GB, free: 55.07 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.006581/2.855, allocations: 4.306 MB / 1.376 GB, free: 53.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/2.857, allocations: 0.6327 MB / 1.377 GB, free: 53.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/2.857, allocations: 291.9 kB / 1.377 GB, free: 53.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/2.857, allocations: 322.4 kB / 1.377 GB, free: 53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/2.857, allocations: 37.81 kB / 1.377 GB, free: 52.96 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005736/2.858, allocations: 96.47 kB / 1.377 GB, free: 52.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/2.858, allocations: 1.375 kB / 1.377 GB, free: 52.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.002468/2.861, allocations: 0.9338 MB / 1.378 GB, free: 52.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/2.861, allocations: 225.4 kB / 1.378 GB, free: 52.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/2.861, allocations: 0.6599 MB / 1.379 GB, free: 52.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/2.861, allocations: 27.08 kB / 1.379 GB, free: 52.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/2.862, allocations: 0.4916 MB / 1.38 GB, free: 52.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.862, allocations: 167.6 kB / 1.38 GB, free: 52.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/2.862, allocations: 0 / 1.38 GB, free: 52.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/2.862, allocations: 397.8 kB / 1.38 GB, free: 51.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/2.863, allocations: 357.7 kB / 1.381 GB, free: 51.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/2.863, allocations: 0.5932 MB / 1.381 GB, free: 51.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/2.871, allocations: 1.874 MB / 1.383 GB, free: 51.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/2.871, allocations: 0 / 1.383 GB, free: 51.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.008966/2.88, allocations: 2.634 MB / 1.385 GB, free: 51.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000396/2.881, allocations: 2.444 MB / 1.388 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/2.881, allocations: 6.188 kB / 1.388 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/2.884, allocations: 0.6171 MB / 1.388 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/2.884, allocations: 176 kB / 1.389 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/2.886, allocations: 1.339 MB / 1.39 GB, free: 48.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/2.887, allocations: 47.92 kB / 1.39 GB, free: 48.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/2.887, allocations: 70.86 kB / 1.39 GB, free: 48.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/2.887, allocations: 5.625 kB / 1.39 GB, free: 48.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008993/2.896, allocations: 2.361 MB / 1.392 GB, free: 48.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/2.896, allocations: 10.91 kB / 1.392 GB, free: 48.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/2.897, allocations: 159.5 kB / 1.393 GB, free: 48.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/2.898, allocations: 204.7 kB / 1.393 GB, free: 48.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/2.9, allocations: 2.078 MB / 1.395 GB, free: 47.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/2.901, allocations: 52.58 kB / 1.395 GB, free: 47.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/2.901, allocations: 67.94 kB / 1.395 GB, free: 47.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/2.901, allocations: 130.1 kB / 1.395 GB, free: 46.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/2.901, allocations: 86.84 kB / 1.395 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/2.904, allocations: 1.044 MB / 1.396 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/2.904, allocations: 10.67 kB / 1.396 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/2.904, allocations: 0 / 1.396 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/2.904, allocations: 0 / 1.396 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/2.907, allocations: 1.698 MB / 1.398 GB, free: 46.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/2.907, allocations: 0 / 1.398 GB, free: 46.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/2.907, allocations: 57.86 kB / 1.398 GB, free: 46.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/2.909, allocations: 482 kB / 1.398 GB, free: 46.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/2.909, allocations: 11.62 kB / 1.398 GB, free: 46.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/2.91, allocations: 1.274 MB / 1.4 GB, free: 46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.91, allocations: 2.438 kB / 1.4 GB, free: 46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/2.912, allocations: 1.022 MB / 1.401 GB, free: 45.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/2.912, allocations: 173.3 kB / 1.401 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/2.912, allocations: 2.875 kB / 1.401 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/2.913, allocations: 42.67 kB / 1.401 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/2.913, allocations: 38.83 kB / 1.401 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/2.913, allocations: 30.17 kB / 1.401 GB, free: 45.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004937/2.913, allocations: 0.4945 MB / 1.401 GB, free: 45.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.913, allocations: 0 / 1.401 GB, free: 45.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003152/2.916, allocations: 1.185 MB / 1.402 GB, free: 45.51 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003802/2.92, allocations: 1.991 MB / 1.404 GB, free: 45.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002177/2.922, allocations: 1.433 MB / 1.406 GB, free: 45.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/2.922, allocations: 3.719 kB / 1.406 GB, free: 45.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/2.923, allocations: 330.3 kB / 1.406 GB, free: 45.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/2.925, allocations: 422.7 kB / 1.407 GB, free: 45.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/2.931, allocations: 2.789 MB / 1.409 GB, free: 44.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/2.933, allocations: 1.071 MB / 1.41 GB, free: 60.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001708/2.934, allocations: 457.9 kB / 1.411 GB, free: 60.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/2.934, allocations: 68 kB / 1.411 GB, free: 60.14 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/2.934, allocations: 0 / 1.411 GB, free: 60.14 MB / 490.7 MB Notification: Performance of Templates: time 0.04209/2.977, allocations: 33.17 MB / 1.443 GB, free: 58.31 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)