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.001081/0.001081, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008531/0.0008531, allocations: 99.94 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3245/0.3245, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.0002561, allocations: 11.98 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3239, allocations: 63.24 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9164/1.24, allocations: 0.5063 GB / 1.026 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.241, allocations: 83.95 kB / 1.026 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/2.616, allocations: 386.4 MB / 1.403 GB, free: 71.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/2.616, allocations: 0 / 1.403 GB, free: 71.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001682/2.616, allocations: 31.02 kB / 1.403 GB, free: 71.45 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.007092/2.623, allocations: 1.882 MB / 1.405 GB, free: 70.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/2.623, allocations: 8.969 kB / 1.405 GB, free: 70.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/2.625, allocations: 220.5 kB / 1.405 GB, free: 70.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/2.628, allocations: 0.8672 MB / 1.406 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/2.628, allocations: 66.59 kB / 1.406 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/2.628, allocations: 71.56 kB / 1.406 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/2.631, allocations: 1.249 MB / 1.407 GB, free: 70.15 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/2.631, allocations: 6.344 kB / 1.407 GB, free: 70.15 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/2.631, allocations: 37.16 kB / 1.407 GB, free: 70.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/2.631, allocations: 83.3 kB / 1.407 GB, free: 70.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/2.634, allocations: 1.238 MB / 1.409 GB, free: 70.14 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.007521/2.641, allocations: 4.853 MB / 1.413 GB, free: 67.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/2.642, allocations: 0.7334 MB / 1.414 GB, free: 67.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/2.643, allocations: 349.3 kB / 1.414 GB, free: 67.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/2.643, allocations: 45.09 kB / 1.414 GB, free: 67.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.695e-06/2.643, allocations: 2.344 kB / 1.414 GB, free: 67.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.007186/2.65, allocations: 2.83 MB / 1.417 GB, free: 66.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/2.65, allocations: 220.4 kB / 1.417 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/2.651, allocations: 0.8346 MB / 1.418 GB, free: 66.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/2.651, allocations: 41.77 kB / 1.418 GB, free: 66.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/2.651, allocations: 477.1 kB / 1.419 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/2.652, allocations: 258.9 kB / 1.419 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/2.652, allocations: 18.25 kB / 1.419 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001196/2.652, allocations: 340.3 kB / 1.419 GB, free: 65.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/2.653, allocations: 412.9 kB / 1.42 GB, free: 65.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009071/2.653, allocations: 0.6434 MB / 1.42 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/2.654, allocations: 0.4943 MB / 1.421 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.654, allocations: 0 / 1.421 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002527/2.657, allocations: 1.419 MB / 1.422 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008306/2.658, allocations: 2.19 MB / 1.424 GB, free: 63.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/2.658, allocations: 6.75 kB / 1.424 GB, free: 63.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/2.662, allocations: 0.6963 MB / 1.425 GB, free: 63.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/2.662, allocations: 183.5 kB / 1.425 GB, free: 63.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/2.664, allocations: 1.291 MB / 1.426 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.665, allocations: 80.45 kB / 1.426 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/2.665, allocations: 92.7 kB / 1.427 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/2.666, allocations: 7.328 kB / 1.427 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001847/2.667, allocations: 1.169 MB / 1.428 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/2.667, allocations: 7.172 kB / 1.428 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/2.669, allocations: 359.5 kB / 1.428 GB, free: 62.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/2.67, allocations: 201.2 kB / 1.428 GB, free: 62.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/2.67, allocations: 0.9688 MB / 1.429 GB, free: 62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/2.671, allocations: 73.42 kB / 1.429 GB, free: 62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/2.671, allocations: 87.31 kB / 1.429 GB, free: 62 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.0006024/2.672, allocations: 368.6 kB / 1.43 GB, free: 61.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/2.672, allocations: 112.7 kB / 1.43 GB, free: 61.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/2.675, allocations: 1.89 MB / 1.432 GB, free: 61.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/2.675, allocations: 20.39 kB / 1.432 GB, free: 61.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.675, allocations: 0 / 1.432 GB, free: 61.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/2.675, allocations: 3.422 kB / 1.432 GB, free: 61.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/2.679, allocations: 2.461 MB / 1.434 GB, free: 60.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/2.679, allocations: 3.969 kB / 1.434 GB, free: 60.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/2.679, allocations: 190.9 kB / 1.434 GB, free: 60.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-05/2.679, allocations: 18.8 kB / 1.434 GB, free: 60.92 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/2.679, allocations: 43.91 kB / 1.434 GB, free: 60.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/2.68, allocations: 1.294 MB / 1.436 GB, free: 59.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.68, allocations: 3.875 kB / 1.436 GB, free: 59.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/2.682, allocations: 1.759 MB / 1.437 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/2.682, allocations: 193.1 kB / 1.438 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/2.683, allocations: 22.48 kB / 1.438 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/2.683, allocations: 61.97 kB / 1.438 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/2.683, allocations: 76.28 kB / 1.438 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.901e-05/2.684, allocations: 72.59 kB / 1.438 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007175/2.684, allocations: 0.6516 MB / 1.438 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/2.684, allocations: 0 / 1.438 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004355/2.689, allocations: 1.196 MB / 1.44 GB, free: 58.7 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.003216/2.692, allocations: 1.791 MB / 1.441 GB, free: 58.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002569/2.695, allocations: 1.592 MB / 1.443 GB, free: 58.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.695, allocations: 5.312 kB / 1.443 GB, free: 58.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/2.695, allocations: 0.567 MB / 1.443 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/2.698, allocations: 0.6037 MB / 1.444 GB, free: 58.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/2.7, allocations: 2.349 MB / 1.446 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/2.701, allocations: 1.103 MB / 1.447 GB, free: 56.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002633/2.703, allocations: 1.458 MB / 1.449 GB, free: 56.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/2.704, allocations: 201.2 kB / 1.449 GB, free: 56.37 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/2.704, allocations: 0 / 1.449 GB, free: 56.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.05461/2.759, allocations: 46.92 MB / 1.495 GB, free: 50.86 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)