Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 183 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007683/0.0007681, allocations: 102.7 kB / 293.3 MB, free: 10.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3852/0.3852, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 12 kB / 461.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 61.87 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.384, allocations: 0.5055 GB / 1.016 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.385, allocations: 91.94 kB / 1.016 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.415/2.8, allocations: 384 MB / 1.391 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/2.8, allocations: 0 / 1.391 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001596/2.8, allocations: 35.31 kB / 1.391 GB, free: 78.74 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.006421/2.806, allocations: 1.872 MB / 1.393 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/2.806, allocations: 7.156 kB / 1.393 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/2.808, allocations: 217.1 kB / 1.393 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/2.81, allocations: 0.8956 MB / 1.394 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/2.81, allocations: 62.92 kB / 1.394 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/2.811, allocations: 71.78 kB / 1.394 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/2.813, allocations: 1.266 MB / 1.396 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/2.813, allocations: 0 / 1.396 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/2.814, allocations: 37.36 kB / 1.396 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/2.814, allocations: 81.12 kB / 1.396 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/2.816, allocations: 1.237 MB / 1.397 GB, free: 77.17 MB / 0.5261 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.008228/2.824, allocations: 4.863 MB / 1.402 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/2.825, allocations: 0.7308 MB / 1.402 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/2.826, allocations: 380.4 kB / 1.403 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/2.826, allocations: 350.1 kB / 1.403 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/2.827, allocations: 45.41 kB / 1.403 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.789e-06/2.827, allocations: 0 / 1.403 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.007917/2.834, allocations: 2.816 MB / 1.406 GB, free: 73.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/2.835, allocations: 217.1 kB / 1.406 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/2.836, allocations: 0.9367 MB / 1.407 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/2.836, allocations: 44.02 kB / 1.407 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/2.836, allocations: 476.7 kB / 1.407 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/2.837, allocations: 260.6 kB / 1.408 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/2.837, allocations: 20.62 kB / 1.408 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/2.837, allocations: 346.6 kB / 1.408 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/2.838, allocations: 413.4 kB / 1.408 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/2.838, allocations: 0.646 MB / 1.409 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/2.84, allocations: 1.023 MB / 1.41 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/2.84, allocations: 0 / 1.41 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002479/2.842, allocations: 1.421 MB / 1.412 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/2.843, allocations: 259 kB / 1.412 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/2.843, allocations: 3.875 kB / 1.412 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/2.846, allocations: 0.7078 MB / 1.412 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/2.847, allocations: 180.6 kB / 1.413 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/2.848, allocations: 1.291 MB / 1.414 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/2.849, allocations: 77.31 kB / 1.414 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/2.85, allocations: 95.31 kB / 1.414 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-06/2.85, allocations: 6.812 kB / 1.414 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002004/2.852, allocations: 1.168 MB / 1.415 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/2.852, allocations: 6.906 kB / 1.415 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/2.853, allocations: 364.7 kB / 1.416 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/2.854, allocations: 206.4 kB / 1.416 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/2.855, allocations: 0.966 MB / 1.417 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/2.856, allocations: 73.58 kB / 1.417 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/2.856, allocations: 92.02 kB / 1.417 GB, free: 68.8 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 () * 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.000945/2.857, allocations: 367.1 kB / 1.417 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/2.857, allocations: 108.2 kB / 1.417 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/2.861, allocations: 1.906 MB / 1.419 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/2.861, allocations: 3.812 kB / 1.419 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.861, allocations: 3.062 kB / 1.419 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/2.861, allocations: 5.969 kB / 1.419 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/2.865, allocations: 2.457 MB / 1.422 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/2.865, allocations: 9.812 kB / 1.422 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/2.866, allocations: 188.2 kB / 1.422 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/2.866, allocations: 24.58 kB / 1.422 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/2.866, allocations: 39.36 kB / 1.422 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007952/2.867, allocations: 1.288 MB / 1.423 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.867, allocations: 3.562 kB / 1.423 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/2.87, allocations: 1.625 MB / 1.425 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/2.87, allocations: 192.8 kB / 1.425 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/2.87, allocations: 19.91 kB / 1.425 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/2.871, allocations: 61.77 kB / 1.425 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/2.871, allocations: 81.31 kB / 1.425 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/2.871, allocations: 73.25 kB / 1.425 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009344/2.872, allocations: 0.6507 MB / 1.426 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.872, allocations: 0 / 1.426 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004207/2.877, allocations: 1.187 MB / 1.427 GB, free: 63.62 MB / 0.5261 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.004955/2.882, allocations: 1.784 MB / 1.429 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00311/2.885, allocations: 1.6 MB / 1.43 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.885, allocations: 3.688 kB / 1.43 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/2.886, allocations: 0.5636 MB / 1.431 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/2.889, allocations: 0.5962 MB / 1.431 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/2.893, allocations: 2.363 MB / 1.434 GB, free: 61.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/2.894, allocations: 1.079 MB / 1.435 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003229/2.897, allocations: 1.471 MB / 1.436 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/2.897, allocations: 194.2 kB / 1.436 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/2.897, allocations: 0 / 1.436 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.06613/2.964, allocations: 48.47 MB / 1.484 GB, free: 16.15 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)