Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",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.001254/0.001254, 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.47/1.47, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0009303/0.0009302, allocations: 85.73 kB / 281.6 MB, free: 5.332 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.2585/0.2585, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.961e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1618, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.38/10.54, allocations: 3.461 GB / 3.956 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/10.54, allocations: 75.97 kB / 3.956 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.417/14.96, allocations: 0.9487 GB / 4.905 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/14.96, allocations: 0 / 4.905 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000708/14.96, allocations: 159 kB / 4.905 GB, free: 30.21 MB / 0.5573 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.05142/15.01, allocations: 9.457 MB / 4.914 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/15.01, allocations: 15.23 kB / 4.914 GB, free: 26.26 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008891/15.02, allocations: 0.8636 MB / 4.915 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02286/15.05, allocations: 5.735 MB / 4.921 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008747/15.05, allocations: 239 kB / 4.921 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006947/15.05, allocations: 418.5 kB / 4.921 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03706/15.09, allocations: 15.34 MB / 4.936 GB, free: 25.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0412/15.13, allocations: 12.86 MB / 4.949 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/15.13, allocations: 19.19 kB / 4.949 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005134/15.14, allocations: 14.2 kB / 4.949 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008154/15.14, allocations: 0.7061 MB / 4.949 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/15.25, allocations: 46.59 MB / 4.995 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03461/15.29, allocations: 11.3 MB / 5.006 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/15.3, allocations: 7.091 MB / 5.013 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006409/15.31, allocations: 4.148 MB / 5.017 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/15.31, allocations: 138.2 kB / 5.017 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01028/15.32, allocations: 0.882 MB / 5.018 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=881): time 7.186e-05/15.32, allocations: 0 / 5.018 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1121): time 0.8314/16.15, allocations: 81.48 MB / 5.098 GB, free: 54.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/16.15, allocations: 169.1 kB / 5.098 GB, free: 54.49 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/16.16, allocations: 2.309 MB / 5.1 GB, free: 54.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.004673/16.16, allocations: 35.89 kB / 5.1 GB, free: 54.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/16.17, allocations: 2.379 MB / 5.102 GB, free: 53.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.007714/16.17, allocations: 3.752 MB / 5.106 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003861/16.18, allocations: 0 / 5.106 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001118/16.18, allocations: 0.744 MB / 5.107 GB, free: 50.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01626/16.2, allocations: 8.779 MB / 5.115 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02184/16.22, allocations: 10.1 MB / 5.125 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03096/16.25, allocations: 11.37 MB / 5.136 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/16.25, allocations: 10.75 kB / 5.136 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.08683/16.34, allocations: 29.52 MB / 5.165 GB, free: 48.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003414/16.34, allocations: 11.29 MB / 5.176 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/16.34, allocations: 27.25 kB / 5.176 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.184/16.52, allocations: 41.56 MB / 5.217 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006926/16.53, allocations: 1.063 MB / 5.218 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.119/16.65, allocations: 37.52 MB / 5.254 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01899/16.67, allocations: 1.573 MB / 5.256 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0056/16.67, allocations: 0.5761 MB / 5.257 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/16.67, allocations: 9.5 kB / 5.257 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6216/17.3, allocations: 27.1 MB / 5.283 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002419/17.3, allocations: 29.19 kB / 5.283 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1831/17.48, allocations: 40.15 MB / 5.322 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006916/17.49, allocations: 1.167 MB / 5.323 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09174/17.58, allocations: 31.27 MB / 5.354 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/17.6, allocations: 1.546 MB / 5.355 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005666/17.6, allocations: 0.5611 MB / 5.356 GB, free: 66.59 MB / 0.6042 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.009939/17.61, allocations: 223 kB / 5.356 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06998/17.68, allocations: 22.42 MB / 5.378 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006296/17.69, allocations: 0.5786 MB / 5.379 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0833/17.77, allocations: 28.5 MB / 5.406 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002269/17.77, allocations: 116.7 kB / 5.407 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.945e-05/17.77, allocations: 0 / 5.407 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06387/17.84, allocations: 20.87 MB / 5.427 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1271/17.96, allocations: 40.48 MB / 5.466 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001278/17.96, allocations: 0 / 5.466 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01407/17.98, allocations: 2.13 MB / 5.469 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0372/18.01, allocations: 11.06 MB / 5.479 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005606/18.02, allocations: 471.8 kB / 5.48 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6366/18.66, allocations: 30.69 MB / 5.51 GB, free: 78.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/18.66, allocations: 4.344 kB / 5.51 GB, free: 78.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09413/18.75, allocations: 34.78 MB / 5.544 GB, free: 78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003291/18.75, allocations: 0.697 MB / 5.544 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006403/18.76, allocations: 273.3 kB / 5.545 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01697/18.78, allocations: 1.25 MB / 5.546 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005389/18.78, allocations: 0.751 MB / 5.547 GB, free: 77.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005245/18.79, allocations: 0.5359 MB / 5.547 GB, free: 77.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00486/18.79, allocations: 1.708 MB / 5.549 GB, free: 77.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/18.79, allocations: 2.297 kB / 5.549 GB, free: 77.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.05905/18.85, allocations: 6.175 MB / 5.555 GB, free: 77.75 MB / 0.6198 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.1527/19.01, allocations: 39.23 MB / 5.593 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.08238/19.09, allocations: 32.33 MB / 5.625 GB, free: 73.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.204e-05/19.09, allocations: 9.25 kB / 5.625 GB, free: 73.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02967/19.12, allocations: 11.24 MB / 5.636 GB, free: 69.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02305/19.14, allocations: 2.689 MB / 5.638 GB, free: 68.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/19.24, allocations: 28.41 MB / 5.666 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/19.25, allocations: 5.209 MB / 5.671 GB, free: 49.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.02546/19.28, allocations: 5.894 MB / 5.677 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01262/19.29, allocations: 3.389 MB / 5.68 GB, free: 42.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/19.29, allocations: 0 / 5.68 GB, free: 42.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.971/21.26, allocations: 452.4 MB / 6.122 GB, free: 79.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/21.26, allocations: 225.1 kB / 6.122 GB, free: 79.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/38.74, allocations: 4.031 kB / 6.122 GB, free: 79.2 MB / 0.6511 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat