Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 96.56 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 45.14 MB / 383.7 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.663e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.157, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.05/10.2, allocations: 3.455 GB / 3.959 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/10.2, allocations: 75.34 kB / 3.959 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.539/14.74, allocations: 0.9377 GB / 4.897 GB, free: 31.49 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.116e-06/14.74, allocations: 2.25 kB / 4.897 GB, free: 31.49 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007561/14.74, allocations: 164.2 kB / 4.897 GB, free: 31.48 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.05113/14.79, allocations: 9.492 MB / 4.906 GB, free: 27.79 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/14.79, allocations: 11.28 kB / 4.906 GB, free: 27.79 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009962/14.8, allocations: 0.8735 MB / 4.907 GB, free: 27.39 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/14.83, allocations: 5.74 MB / 4.913 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007589/14.83, allocations: 238.6 kB / 4.913 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005662/14.84, allocations: 416.4 kB / 4.914 GB, free: 26.6 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04203/14.88, allocations: 15.34 MB / 4.929 GB, free: 26.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05769/14.94, allocations: 12.86 MB / 4.941 GB, free: 25.92 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/14.94, allocations: 22.36 kB / 4.941 GB, free: 25.92 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004464/14.94, allocations: 10.41 kB / 4.941 GB, free: 25.92 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007819/14.94, allocations: 0.7067 MB / 4.942 GB, free: 25.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/15.06, allocations: 46.6 MB / 4.987 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/15.08, allocations: 10.48 MB / 4.998 GB, free: 9.781 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/15.09, allocations: 7.085 MB / 5.005 GB, free: 7.215 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005233/15.1, allocations: 4.225 MB / 5.009 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/15.1, allocations: 141.8 kB / 5.009 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008816/15.11, allocations: 0.8806 MB / 5.01 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=881): time 8.984e-05/15.11, allocations: 0 / 5.01 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1121): time 0.8677/15.98, allocations: 82.77 MB / 5.09 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/15.98, allocations: 165.9 kB / 5.091 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006626/15.98, allocations: 2.312 MB / 5.093 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.006444/15.99, allocations: 33.92 kB / 5.093 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/15.99, allocations: 2.378 MB / 5.095 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.008522/16, allocations: 3.75 MB / 5.099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003132/16, allocations: 0 / 5.099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.001095/16, allocations: 0.7436 MB / 5.1 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02031/16.02, allocations: 8.788 MB / 5.108 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/16.04, allocations: 10.1 MB / 5.118 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03074/16.08, allocations: 11.66 MB / 5.129 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/16.08, allocations: 8.156 kB / 5.129 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.07748/16.15, allocations: 29.81 MB / 5.159 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002821/16.16, allocations: 11.29 MB / 5.17 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/16.16, allocations: 32.77 kB / 5.17 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1811/16.34, allocations: 41.56 MB / 5.21 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005758/16.34, allocations: 1.062 MB / 5.211 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07927/16.42, allocations: 35.28 MB / 5.246 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/16.44, allocations: 1.58 MB / 5.247 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006147/16.45, allocations: 0.5734 MB / 5.248 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/16.45, allocations: 4 kB / 5.248 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06885/16.51, allocations: 27.39 MB / 5.275 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/16.51, allocations: 32.58 kB / 5.275 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7797/17.29, allocations: 44.06 MB / 5.318 GB, free: 67.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006968/17.3, allocations: 1.165 MB / 5.319 GB, free: 67.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07535/17.38, allocations: 31.28 MB / 5.349 GB, free: 67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01697/17.39, allocations: 1.539 MB / 5.351 GB, free: 67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004661/17.4, allocations: 0.5608 MB / 5.351 GB, free: 67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 582 * 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 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.005208/17.4, allocations: 217.8 kB / 5.352 GB, free: 66.9 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05727/17.46, allocations: 22.42 MB / 5.373 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006054/17.47, allocations: 0.5747 MB / 5.374 GB, free: 66.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0712/17.54, allocations: 28.49 MB / 5.402 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001653/17.54, allocations: 120.5 kB / 5.402 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-05/17.54, allocations: 0 / 5.402 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04919/17.59, allocations: 20.86 MB / 5.422 GB, free: 64.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1059/17.69, allocations: 40.46 MB / 5.462 GB, free: 52.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001411/17.69, allocations: 8.078 kB / 5.462 GB, free: 52.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01491/17.71, allocations: 2.119 MB / 5.464 GB, free: 52.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03432/17.74, allocations: 11.07 MB / 5.475 GB, free: 46.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005449/17.75, allocations: 476.6 kB / 5.475 GB, free: 46.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/17.78, allocations: 30.64 MB / 5.505 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/17.78, allocations: 10.33 kB / 5.505 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09914/17.88, allocations: 34.8 MB / 5.539 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003927/17.88, allocations: 0.691 MB / 5.54 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006581/17.89, allocations: 275.8 kB / 5.54 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01725/17.9, allocations: 1.252 MB / 5.541 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005138/17.91, allocations: 0.7481 MB / 5.542 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004063/17.91, allocations: 0.5402 MB / 5.542 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003554/17.92, allocations: 1.707 MB / 5.544 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/17.92, allocations: 0 / 5.544 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.07044/17.99, allocations: 8.563 MB / 5.553 GB, free: 0 / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.744/18.73, allocations: 39.25 MB / 5.591 GB, free: 86.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.09959/18.83, allocations: 32.33 MB / 5.622 GB, free: 85.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-05/18.83, allocations: 10.06 kB / 5.622 GB, free: 85.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03343/18.86, allocations: 11.23 MB / 5.633 GB, free: 85.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02516/18.89, allocations: 2.735 MB / 5.636 GB, free: 85.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1108/19, allocations: 28.44 MB / 5.664 GB, free: 81.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/19.01, allocations: 5.204 MB / 5.669 GB, free: 80.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02988/19.04, allocations: 5.896 MB / 5.675 GB, free: 80.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01509/19.06, allocations: 3.392 MB / 5.678 GB, free: 80.09 MB / 0.6355 GB Notification: Performance of SimCode: time 2.655e-06/19.06, allocations: 2.297 kB / 5.678 GB, free: 80.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.545/21.6, allocations: 452.7 MB / 6.12 GB, free: 98.43 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/21.6, allocations: 212.9 kB / 6.12 GB, free: 98.14 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/40.47, allocations: 0 / 6.12 GB, free: 98.14 MB / 0.6668 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat