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.001211/0.001211, allocations: 200 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001028, allocations: 101 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4411/0.4411, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 4 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4, allocations: 62.95 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.665, allocations: 0.5063 GB / 1.025 GB, free: 99.58 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.665, allocations: 93.47 kB / 1.025 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.532/3.197, allocations: 383.7 MB / 1.4 GB, free: 84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.816e-06/3.197, allocations: 0 / 1.4 GB, free: 84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001321/3.197, allocations: 27.8 kB / 1.4 GB, free: 84 MB / 0.5417 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.005187/3.202, allocations: 1.875 MB / 1.401 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/3.202, allocations: 11.25 kB / 1.401 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/3.203, allocations: 214.6 kB / 1.402 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/3.205, allocations: 0.9044 MB / 1.403 GB, free: 82.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/3.205, allocations: 58.83 kB / 1.403 GB, free: 82.83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/3.205, allocations: 71.5 kB / 1.403 GB, free: 82.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/3.207, allocations: 1.261 MB / 1.404 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/3.207, allocations: 0 / 1.404 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/3.207, allocations: 39.66 kB / 1.404 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/3.207, allocations: 80.41 kB / 1.404 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/3.209, allocations: 1.236 MB / 1.405 GB, free: 82.61 MB / 0.5417 GB 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.006522/3.216, allocations: 4.867 MB / 1.41 GB, free: 80.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/3.217, allocations: 0.7244 MB / 1.411 GB, free: 80.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/3.218, allocations: 380.8 kB / 1.411 GB, free: 80.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/3.218, allocations: 354.2 kB / 1.411 GB, free: 79.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/3.218, allocations: 40.44 kB / 1.411 GB, free: 79.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.166e-06/3.218, allocations: 3.891 kB / 1.411 GB, free: 79.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.007086/3.225, allocations: 2.817 MB / 1.414 GB, free: 79.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/3.225, allocations: 219.8 kB / 1.414 GB, free: 79.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/3.226, allocations: 0.9429 MB / 1.415 GB, free: 78.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/3.226, allocations: 40.3 kB / 1.415 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/3.227, allocations: 478.8 kB / 1.416 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/3.227, allocations: 253.8 kB / 1.416 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/3.227, allocations: 16.91 kB / 1.416 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001118/3.227, allocations: 353.2 kB / 1.416 GB, free: 78.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/3.228, allocations: 408.3 kB / 1.417 GB, free: 78.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000879/3.229, allocations: 0.6444 MB / 1.417 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/3.23, allocations: 1.024 MB / 1.418 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/3.23, allocations: 0 / 1.418 GB, free: 77.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002857/3.233, allocations: 1.424 MB / 1.42 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/3.234, allocations: 252.5 kB / 1.42 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/3.234, allocations: 9.25 kB / 1.42 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/3.237, allocations: 0.7001 MB / 1.421 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/3.237, allocations: 183 kB / 1.421 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/3.239, allocations: 1.292 MB / 1.422 GB, free: 76.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/3.24, allocations: 75.95 kB / 1.422 GB, free: 76.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/3.24, allocations: 98.84 kB / 1.422 GB, free: 76.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/3.24, allocations: 6.094 kB / 1.422 GB, free: 76.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002/3.242, allocations: 1.172 MB / 1.424 GB, free: 76.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/3.242, allocations: 3.938 kB / 1.424 GB, free: 76.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/3.244, allocations: 358 kB / 1.424 GB, free: 76.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/3.244, allocations: 206.7 kB / 1.424 GB, free: 76.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009108/3.245, allocations: 0.9715 MB / 1.425 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/3.246, allocations: 67.77 kB / 1.425 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/3.246, allocations: 89.48 kB / 1.425 GB, free: 76.2 MB / 0.5417 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 () * Number of clocked 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.0006777/3.247, allocations: 369.7 kB / 1.425 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/3.247, allocations: 108.9 kB / 1.426 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/3.251, allocations: 1.895 MB / 1.427 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/3.251, allocations: 10.75 kB / 1.427 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/3.251, allocations: 3.375 kB / 1.427 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/3.251, allocations: 3.562 kB / 1.427 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/3.254, allocations: 2.463 MB / 1.43 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/3.254, allocations: 2.938 kB / 1.43 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/3.255, allocations: 196.6 kB / 1.43 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-05/3.255, allocations: 25.09 kB / 1.43 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/3.255, allocations: 40.52 kB / 1.43 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006704/3.256, allocations: 1.286 MB / 1.431 GB, free: 73.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.256, allocations: 2.812 kB / 1.431 GB, free: 73.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/3.258, allocations: 1.632 MB / 1.433 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/3.258, allocations: 195 kB / 1.433 GB, free: 73.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/3.259, allocations: 27 kB / 1.433 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/3.259, allocations: 61.25 kB / 1.433 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/3.259, allocations: 75.83 kB / 1.433 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/3.26, allocations: 74.09 kB / 1.433 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008586/3.26, allocations: 0.6495 MB / 1.434 GB, free: 73.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/3.26, allocations: 0 / 1.434 GB, free: 73.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003962/3.264, allocations: 1.185 MB / 1.435 GB, free: 73.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * 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.00377/3.268, allocations: 1.799 MB / 1.437 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003018/3.271, allocations: 1.6 MB / 1.438 GB, free: 72.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/3.271, allocations: 0 / 1.438 GB, free: 72.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/3.272, allocations: 0.5715 MB / 1.439 GB, free: 72.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/3.275, allocations: 0.5922 MB / 1.44 GB, free: 72.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/3.279, allocations: 2.36 MB / 1.442 GB, free: 71.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/3.279, allocations: 1.086 MB / 1.443 GB, free: 70.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003726/3.283, allocations: 1.464 MB / 1.444 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/3.284, allocations: 198.3 kB / 1.445 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/3.284, allocations: 3.281 kB / 1.445 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of Templates: time 0.07817/3.362, allocations: 48.4 MB / 1.492 GB, free: 47.95 MB / 0.5417 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)