Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 200.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.000873, allocations: 90.73 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.272e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/1.539, allocations: 0.5056 GB / 1.01 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.539, allocations: 86.45 kB / 1.01 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.409/2.949, allocations: 381.2 MB / 1.382 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/2.949, allocations: 3.375 kB / 1.382 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.542e-05/2.949, allocations: 29.77 kB / 1.382 GB, free: 66.13 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003987/2.953, allocations: 1.738 MB / 1.384 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/2.953, allocations: 7.812 kB / 1.384 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/2.954, allocations: 213.1 kB / 1.384 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/2.956, allocations: 0.8667 MB / 1.385 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/2.956, allocations: 31.61 kB / 1.385 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/2.956, allocations: 40.5 kB / 1.385 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/2.957, allocations: 1.034 MB / 1.386 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/2.959, allocations: 1.13 MB / 1.387 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/2.959, allocations: 4.406 kB / 1.387 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-05/2.959, allocations: 3.469 kB / 1.387 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/2.959, allocations: 78.55 kB / 1.387 GB, free: 64.99 MB / 0.5261 GB 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.006202/2.965, allocations: 5.01 MB / 1.392 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/2.966, allocations: 0.5269 MB / 1.393 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/2.966, allocations: 311.6 kB / 1.393 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/2.966, allocations: 344.8 kB / 1.393 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/2.966, allocations: 43.81 kB / 1.393 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 2.725e-06/2.966, allocations: 0 / 1.393 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.007273/2.974, allocations: 2.339 MB / 1.396 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/2.974, allocations: 219.4 kB / 1.396 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/2.974, allocations: 0.6887 MB / 1.397 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/2.974, allocations: 28.89 kB / 1.397 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/2.975, allocations: 0.5107 MB / 1.397 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/2.975, allocations: 215 kB / 1.397 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/2.975, allocations: 3.969 kB / 1.397 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/2.975, allocations: 347.5 kB / 1.398 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/2.975, allocations: 383.6 kB / 1.398 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/2.976, allocations: 0.6061 MB / 1.399 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/2.979, allocations: 1.057 MB / 1.4 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.979, allocations: 0 / 1.4 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004432/2.984, allocations: 1.885 MB / 1.402 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/2.984, allocations: 2.181 MB / 1.404 GB, free: 57.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.984, allocations: 7.781 kB / 1.404 GB, free: 57.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/2.986, allocations: 484.2 kB / 1.404 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/2.986, allocations: 180.6 kB / 1.404 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/2.988, allocations: 1.442 MB / 1.406 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/2.989, allocations: 53.73 kB / 1.406 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/2.989, allocations: 91.06 kB / 1.406 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/2.989, allocations: 7.312 kB / 1.406 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003927/2.993, allocations: 1.564 MB / 1.407 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/2.993, allocations: 3.781 kB / 1.407 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/2.995, allocations: 326.1 kB / 1.408 GB, free: 57.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/2.995, allocations: 198.7 kB / 1.408 GB, free: 57.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008953/2.996, allocations: 0.9975 MB / 1.409 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/2.997, allocations: 54.75 kB / 1.409 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/2.997, allocations: 86.72 kB / 1.409 GB, free: 56.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/2.998, allocations: 128.9 kB / 1.409 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/2.998, allocations: 98.17 kB / 1.409 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/3.001, allocations: 1.328 MB / 1.411 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/3.001, allocations: 6.344 kB / 1.411 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/3.001, allocations: 3.938 kB / 1.411 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/3.001, allocations: 3.797 kB / 1.411 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/3.003, allocations: 1.814 MB / 1.412 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/3.003, allocations: 3 kB / 1.412 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/3.004, allocations: 156.3 kB / 1.412 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.249e-05/3.004, allocations: 28.8 kB / 1.412 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/3.004, allocations: 17.09 kB / 1.412 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005685/3.005, allocations: 1.237 MB / 1.414 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/3.005, allocations: 0 / 1.414 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/3.007, allocations: 1.379 MB / 1.415 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/3.007, allocations: 182.5 kB / 1.415 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/3.007, allocations: 6.688 kB / 1.415 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/3.008, allocations: 37.61 kB / 1.415 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/3.008, allocations: 58.22 kB / 1.415 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/3.008, allocations: 52.25 kB / 1.415 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005549/3.009, allocations: 0.5272 MB / 1.416 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/3.009, allocations: 0 / 1.416 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003095/3.012, allocations: 1.121 MB / 1.417 GB, free: 54.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003274/3.015, allocations: 1.981 MB / 1.419 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002122/3.017, allocations: 1.451 MB / 1.42 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.017, allocations: 5.969 kB / 1.42 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/3.018, allocations: 469.1 kB / 1.421 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/3.02, allocations: 477.1 kB / 1.421 GB, free: 53.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/3.022, allocations: 1.406 MB / 1.423 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/3.022, allocations: 1.099 MB / 1.424 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002731/3.025, allocations: 1.349 MB / 1.425 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/3.026, allocations: 164.7 kB / 1.425 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of SimCode: time 2.304e-06/3.026, allocations: 3.938 kB / 1.425 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.04572/3.071, allocations: 36.69 MB / 1.461 GB, free: 50.55 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)