Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 82.64 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2604/0.2604, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.031e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.4/10.55, allocations: 3.626 GB / 4.092 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/10.55, allocations: 79.25 kB / 4.092 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.395/14.95, allocations: 0.9695 GB / 5.061 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/14.95, allocations: 1.938 kB / 5.061 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005364/14.95, allocations: 161.8 kB / 5.062 GB, free: 27.35 MB / 0.5417 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.05797/15.01, allocations: 9.644 MB / 5.071 GB, free: 23.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/15.01, allocations: 8.562 kB / 5.071 GB, free: 23.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/15.02, allocations: 0.8643 MB / 5.072 GB, free: 23.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/15.04, allocations: 5.736 MB / 5.078 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/15.04, allocations: 240.6 kB / 5.078 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007932/15.05, allocations: 425.3 kB / 5.078 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04248/15.09, allocations: 15.36 MB / 5.093 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04509/15.14, allocations: 12.89 MB / 5.106 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006616/15.14, allocations: 19.53 kB / 5.106 GB, free: 21.74 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005351/15.15, allocations: 10.12 kB / 5.106 GB, free: 21.74 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008771/15.15, allocations: 0.7112 MB / 5.106 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1205/15.27, allocations: 46.57 MB / 5.152 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02223/15.29, allocations: 10.49 MB / 5.162 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01467/15.3, allocations: 7.095 MB / 5.169 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00707/15.31, allocations: 4.146 MB / 5.173 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/15.31, allocations: 144.2 kB / 5.173 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01081/15.32, allocations: 0.8684 MB / 5.174 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=881): time 7.936e-05/15.32, allocations: 9.156 kB / 5.174 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1121): time 0.8592/16.18, allocations: 84.26 MB / 5.256 GB, free: 53.49 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/16.18, allocations: 164.1 kB / 5.257 GB, free: 53.42 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/16.19, allocations: 2.311 MB / 5.259 GB, free: 53.19 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004305/16.19, allocations: 33.05 kB / 5.259 GB, free: 53.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/16.19, allocations: 2.38 MB / 5.261 GB, free: 52.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007868/16.2, allocations: 3.752 MB / 5.265 GB, free: 50.29 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003653/16.2, allocations: 0 / 5.265 GB, free: 50.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001029/16.2, allocations: 0.7456 MB / 5.266 GB, free: 49.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01665/16.22, allocations: 8.795 MB / 5.274 GB, free: 49.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/16.24, allocations: 10.11 MB / 5.284 GB, free: 48.88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03999/16.28, allocations: 13.2 MB / 5.297 GB, free: 48.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/16.28, allocations: 6.719 kB / 5.297 GB, free: 48.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.09263/16.37, allocations: 31.37 MB / 5.328 GB, free: 48.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003018/16.38, allocations: 11.29 MB / 5.339 GB, free: 36.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/16.38, allocations: 30.83 kB / 5.339 GB, free: 36.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1879/16.57, allocations: 41.6 MB / 5.379 GB, free: 36.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006019/16.57, allocations: 1.071 MB / 5.38 GB, free: 36.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08741/16.66, allocations: 35.33 MB / 5.415 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0184/16.68, allocations: 1.573 MB / 5.416 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00629/16.68, allocations: 0.6043 MB / 5.417 GB, free: 12.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/16.68, allocations: 4 kB / 5.417 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1181/16.8, allocations: 30.83 MB / 5.447 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/16.8, allocations: 31.95 kB / 5.447 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7401/17.54, allocations: 41.79 MB / 5.488 GB, free: 66.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006342/17.55, allocations: 1.169 MB / 5.489 GB, free: 66.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06784/17.62, allocations: 31.32 MB / 5.52 GB, free: 65.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/17.63, allocations: 1.537 MB / 5.521 GB, free: 65.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006006/17.64, allocations: 0.5876 MB / 5.522 GB, free: 65.76 MB / 0.5886 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.01036/17.65, allocations: 213.8 kB / 5.522 GB, free: 65.65 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06787/17.72, allocations: 22.49 MB / 5.544 GB, free: 65.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006058/17.72, allocations: 0.5801 MB / 5.544 GB, free: 64.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08676/17.81, allocations: 26.62 MB / 5.57 GB, free: 63.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002707/17.81, allocations: 117.6 kB / 5.571 GB, free: 63.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001364/17.81, allocations: 0 / 5.571 GB, free: 63.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06024/17.87, allocations: 20.93 MB / 5.591 GB, free: 61.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1198/17.99, allocations: 40.54 MB / 5.631 GB, free: 37.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001183/17.99, allocations: 11.7 kB / 5.631 GB, free: 37.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01327/18.01, allocations: 2.128 MB / 5.633 GB, free: 35.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03516/18.04, allocations: 11.08 MB / 5.643 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005505/18.05, allocations: 477.6 kB / 5.644 GB, free: 27.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/18.08, allocations: 30.68 MB / 5.674 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/18.08, allocations: 7.984 kB / 5.674 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6755/18.75, allocations: 34.98 MB / 5.708 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/18.76, allocations: 0.699 MB / 5.709 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006743/18.76, allocations: 262 kB / 5.709 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02134/18.78, allocations: 1.252 MB / 5.71 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006618/18.79, allocations: 0.7649 MB / 5.711 GB, free: 74.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005442/18.8, allocations: 0.5533 MB / 5.712 GB, free: 74.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004918/18.8, allocations: 1.708 MB / 5.713 GB, free: 74.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.937e-06/18.8, allocations: 3.156 kB / 5.713 GB, free: 74.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.04196/18.84, allocations: 6.313 MB / 5.719 GB, free: 74.51 MB / 0.6042 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.1124/18.95, allocations: 39.56 MB / 5.758 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.07902/19.03, allocations: 32.38 MB / 5.79 GB, free: 71.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/19.03, allocations: 10.34 kB / 5.79 GB, free: 71.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02714/19.06, allocations: 11.26 MB / 5.801 GB, free: 71.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02167/19.08, allocations: 2.689 MB / 5.803 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09281/19.18, allocations: 28.49 MB / 5.831 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01146/19.19, allocations: 5.208 MB / 5.836 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0262/19.21, allocations: 5.141 MB / 5.841 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01303/19.23, allocations: 3.418 MB / 5.844 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of SimCode: time 1.713e-06/19.23, allocations: 4 kB / 5.844 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.921/21.15, allocations: 455.9 MB / 6.29 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/21.15, allocations: 212.8 kB / 6.29 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/38.85, allocations: 3.906 kB / 6.29 GB, free: 80.87 MB / 0.6355 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat