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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.393/1.393, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009518/0.0009518, allocations: 105.5 kB / 292.1 MB, free: 10.92 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.3733/0.3733, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 11.98 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4234, allocations: 61.9 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.727, allocations: 0.5053 GB / 1.015 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/1.728, allocations: 91.23 kB / 1.015 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.685/3.412, allocations: 386.2 MB / 1.392 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.357e-06/3.412, allocations: 4.938 kB / 1.392 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001744/3.413, allocations: 27.56 kB / 1.392 GB, free: 76.94 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.00772/3.42, allocations: 1.888 MB / 1.394 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/3.42, allocations: 7.781 kB / 1.394 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/3.421, allocations: 123 kB / 1.394 GB, free: 75.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/3.423, allocations: 222.9 kB / 1.394 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/3.426, allocations: 0.869 MB / 1.395 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/3.426, allocations: 59.34 kB / 1.395 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/3.426, allocations: 78.62 kB / 1.395 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/3.43, allocations: 1.25 MB / 1.397 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/3.43, allocations: 3.938 kB / 1.397 GB, free: 75.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/3.43, allocations: 33.89 kB / 1.397 GB, free: 75.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/3.43, allocations: 85.39 kB / 1.397 GB, free: 75.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/3.432, allocations: 1.231 MB / 1.398 GB, free: 75.29 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.008616/3.441, allocations: 4.863 MB / 1.403 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/3.442, allocations: 0.7334 MB / 1.403 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/3.443, allocations: 358.1 kB / 1.404 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/3.443, allocations: 42.69 kB / 1.404 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.845e-06/3.443, allocations: 3.344 kB / 1.404 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.008353/3.451, allocations: 2.819 MB / 1.407 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/3.451, allocations: 216.3 kB / 1.407 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/3.453, allocations: 0.8318 MB / 1.408 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/3.453, allocations: 41.2 kB / 1.408 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/3.453, allocations: 483.1 kB / 1.408 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/3.453, allocations: 252.1 kB / 1.408 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/3.453, allocations: 19.59 kB / 1.408 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/3.454, allocations: 347.1 kB / 1.409 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007313/3.454, allocations: 417.9 kB / 1.409 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/3.455, allocations: 0.6412 MB / 1.41 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/3.456, allocations: 0.4934 MB / 1.41 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/3.456, allocations: 3.688 kB / 1.41 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002487/3.458, allocations: 1.414 MB / 1.412 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005298/3.459, allocations: 2.196 MB / 1.414 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/3.459, allocations: 3.875 kB / 1.414 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/3.463, allocations: 0.7048 MB / 1.414 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/3.463, allocations: 176.8 kB / 1.415 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/3.465, allocations: 1.285 MB / 1.416 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/3.467, allocations: 86.55 kB / 1.416 GB, free: 64.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/3.467, allocations: 90.22 kB / 1.416 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/3.467, allocations: 3.844 kB / 1.416 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/3.469, allocations: 1.171 MB / 1.417 GB, free: 63.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/3.469, allocations: 7.031 kB / 1.417 GB, free: 63.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/3.471, allocations: 357.1 kB / 1.417 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/3.471, allocations: 207 kB / 1.418 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/3.472, allocations: 0.9621 MB / 1.419 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/3.474, allocations: 70.33 kB / 1.419 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/3.474, allocations: 86.2 kB / 1.419 GB, free: 63.11 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.001172/3.475, allocations: 377.9 kB / 1.419 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000525/3.476, allocations: 112 kB / 1.419 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/3.48, allocations: 1.895 MB / 1.421 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/3.48, allocations: 10.67 kB / 1.421 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/3.48, allocations: 0 / 1.421 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/3.48, allocations: 6.062 kB / 1.421 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/3.486, allocations: 2.464 MB / 1.423 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/3.486, allocations: 3.594 kB / 1.423 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/3.486, allocations: 182.2 kB / 1.424 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/3.487, allocations: 26.02 kB / 1.424 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/3.487, allocations: 43.16 kB / 1.424 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/3.488, allocations: 1.292 MB / 1.425 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/3.488, allocations: 7.906 kB / 1.425 GB, free: 59.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/3.491, allocations: 1.762 MB / 1.427 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006858/3.491, allocations: 193.3 kB / 1.427 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/3.492, allocations: 15.72 kB / 1.427 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/3.493, allocations: 68.5 kB / 1.427 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/3.493, allocations: 71.27 kB / 1.427 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/3.493, allocations: 69.41 kB / 1.427 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001456/3.495, allocations: 0.6541 MB / 1.428 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/3.495, allocations: 0 / 1.428 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005546/3.5, allocations: 1.183 MB / 1.429 GB, free: 57.73 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.009573/3.51, allocations: 4.743 MB / 1.434 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004401/3.514, allocations: 1.596 MB / 1.435 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/3.514, allocations: 0 / 1.435 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/3.516, allocations: 0.5651 MB / 1.436 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/3.519, allocations: 0.586 MB / 1.436 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009412/3.529, allocations: 7.044 MB / 1.443 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/3.529, allocations: 1.104 MB / 1.444 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003646/3.533, allocations: 1.469 MB / 1.446 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/3.534, allocations: 494.7 kB / 1.446 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of SimCode: time 7.775e-06/3.534, allocations: 0 / 1.446 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4838/4.018, allocations: 60.27 MB / 1.505 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/4.018, allocations: 268.4 kB / 1.505 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/8.338, allocations: 0.9062 kB / 1.505 GB, free: 86.88 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)