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.001319/0.001319, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009981, allocations: 93.92 kB / 281.6 MB, free: 5.324 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.1954/0.1954, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.747e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.504, allocations: 0.5046 GB / 0.9993 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.504, allocations: 86.92 kB / 0.9993 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/3.043, allocations: 381 MB / 1.371 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.325e-06/3.043, allocations: 0 / 1.371 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001632/3.043, allocations: 35.5 kB / 1.371 GB, free: 72.86 MB / 0.5105 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.006844/3.05, allocations: 1.73 MB / 1.373 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/3.05, allocations: 15.05 kB / 1.373 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/3.052, allocations: 209.7 kB / 1.373 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/3.055, allocations: 0.8692 MB / 1.374 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/3.055, allocations: 26.47 kB / 1.374 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/3.056, allocations: 43.39 kB / 1.374 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002653/3.059, allocations: 1.038 MB / 1.375 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/3.061, allocations: 1.116 MB / 1.376 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/3.061, allocations: 2.719 kB / 1.376 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/3.061, allocations: 3.594 kB / 1.376 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/3.061, allocations: 81.58 kB / 1.376 GB, free: 71.39 MB / 0.5105 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.007959/3.069, allocations: 5.017 MB / 1.381 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/3.07, allocations: 0.5214 MB / 1.382 GB, free: 68.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/3.07, allocations: 304.7 kB / 1.382 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/3.071, allocations: 351.2 kB / 1.382 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/3.071, allocations: 44.59 kB / 1.383 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 3.186e-06/3.071, allocations: 0 / 1.383 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.008268/3.079, allocations: 2.348 MB / 1.385 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/3.079, allocations: 214.1 kB / 1.385 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/3.08, allocations: 0.6932 MB / 1.386 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/3.08, allocations: 25.7 kB / 1.386 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/3.081, allocations: 0.5119 MB / 1.386 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/3.081, allocations: 217.3 kB / 1.386 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/3.081, allocations: 0 / 1.386 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/3.081, allocations: 343.3 kB / 1.387 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/3.081, allocations: 383.9 kB / 1.387 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/3.082, allocations: 0.6071 MB / 1.388 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/3.084, allocations: 0.8972 MB / 1.389 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/3.085, allocations: 6.906 kB / 1.389 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003759/3.088, allocations: 1.73 MB / 1.39 GB, free: 65.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005678/3.089, allocations: 2.182 MB / 1.392 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/3.089, allocations: 7.75 kB / 1.392 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/3.091, allocations: 486.2 kB / 1.393 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/3.091, allocations: 180.8 kB / 1.393 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/3.094, allocations: 1.439 MB / 1.394 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.095, allocations: 53.02 kB / 1.395 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/3.095, allocations: 90.95 kB / 1.395 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/3.095, allocations: 6.438 kB / 1.395 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/3.098, allocations: 1.403 MB / 1.396 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/3.098, allocations: 14.28 kB / 1.396 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/3.1, allocations: 314 kB / 1.396 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/3.1, allocations: 209.3 kB / 1.396 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008303/3.101, allocations: 0.994 MB / 1.397 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/3.102, allocations: 51.86 kB / 1.398 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/3.102, allocations: 93.83 kB / 1.398 GB, free: 60.64 MB / 0.5105 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.0003045/3.103, allocations: 129.5 kB / 1.398 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/3.103, allocations: 93.84 kB / 1.398 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/3.106, allocations: 1.326 MB / 1.399 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/3.106, allocations: 6.969 kB / 1.399 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/3.106, allocations: 0 / 1.399 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/3.106, allocations: 7.656 kB / 1.399 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/3.109, allocations: 1.818 MB / 1.401 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/3.109, allocations: 0 / 1.401 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/3.11, allocations: 155.9 kB / 1.401 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/3.11, allocations: 24.75 kB / 1.401 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/3.11, allocations: 14.48 kB / 1.401 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006573/3.111, allocations: 1.251 MB / 1.402 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/3.111, allocations: 2.969 kB / 1.402 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/3.113, allocations: 1.381 MB / 1.404 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/3.113, allocations: 185.9 kB / 1.404 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/3.113, allocations: 3.953 kB / 1.404 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/3.114, allocations: 43.59 kB / 1.404 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/3.114, allocations: 52.28 kB / 1.404 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/3.114, allocations: 57.53 kB / 1.404 GB, free: 57.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006721/3.115, allocations: 0.5225 MB / 1.404 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/3.115, allocations: 0 / 1.404 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00382/3.119, allocations: 1.106 MB / 1.406 GB, free: 56.63 MB / 0.5105 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.004817/3.124, allocations: 1.976 MB / 1.408 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002693/3.126, allocations: 1.44 MB / 1.409 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/3.126, allocations: 0 / 1.409 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/3.127, allocations: 480.9 kB / 1.409 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/3.13, allocations: 454.7 kB / 1.41 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/3.133, allocations: 1.401 MB / 1.411 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/3.133, allocations: 1.097 MB / 1.412 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003428/3.137, allocations: 1.346 MB / 1.414 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/3.138, allocations: 168.8 kB / 1.414 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/3.138, allocations: 0 / 1.414 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.05316/3.191, allocations: 36.79 MB / 1.45 GB, free: 16.11 MB / 0.5105 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)