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.001195/0.001194, allocations: 184 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2206/0.2206, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.222/9.366, allocations: 3.627 GB / 4.106 GB, free: 53.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/9.366, allocations: 83.95 kB / 4.106 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.24/13.61, allocations: 0.979 GB / 5.085 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.506e-06/13.61, allocations: 4 kB / 5.085 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007432/13.61, allocations: 160.9 kB / 5.085 GB, free: 26.12 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.06117/13.67, allocations: 10.32 MB / 5.095 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.817e-05/13.67, allocations: 13.34 kB / 5.095 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01068/13.68, allocations: 1.045 MB / 5.096 GB, free: 21.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/13.69, allocations: 0.8638 MB / 5.097 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02996/13.72, allocations: 5.753 MB / 5.102 GB, free: 20.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/13.72, allocations: 0.5238 MB / 5.103 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007421/13.73, allocations: 0.7007 MB / 5.104 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05105/13.78, allocations: 14 MB / 5.117 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007889/13.78, allocations: 25.28 kB / 5.117 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006798/13.79, allocations: 293.2 kB / 5.118 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/13.79, allocations: 0.7044 MB / 5.118 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04523/13.83, allocations: 16.47 MB / 5.134 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6726/14.51, allocations: 47.57 MB / 5.181 GB, free: 50.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/14.53, allocations: 10.73 MB / 5.191 GB, free: 50.27 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005365/14.54, allocations: 4.137 MB / 5.195 GB, free: 46.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/14.54, allocations: 144.6 kB / 5.195 GB, free: 46 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009636/14.55, allocations: 0.8636 MB / 5.196 GB, free: 46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=882): time 9.428e-05/14.55, allocations: 2.156 kB / 5.196 GB, free: 46 MB / 0.573 GB Notification: Performance of matching and sorting (n=1122): time 0.3548/14.9, allocations: 98.86 MB / 5.293 GB, free: 41.24 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/14.9, allocations: 166.5 kB / 5.293 GB, free: 41.17 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/14.91, allocations: 3.5 MB / 5.296 GB, free: 40.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004908/14.91, allocations: 230.9 kB / 5.297 GB, free: 40.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/14.92, allocations: 2.387 MB / 5.299 GB, free: 40.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009141/14.93, allocations: 3.894 MB / 5.303 GB, free: 37.85 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005037/14.93, allocations: 215.3 kB / 5.303 GB, free: 37.85 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001434/14.93, allocations: 0.742 MB / 5.304 GB, free: 37.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02315/14.96, allocations: 10.04 MB / 5.313 GB, free: 37.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02667/14.98, allocations: 11.42 MB / 5.325 GB, free: 32.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02654/15.01, allocations: 11.09 MB / 5.335 GB, free: 26.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/15.01, allocations: 8 kB / 5.335 GB, free: 26.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.103/15.11, allocations: 32.36 MB / 5.367 GB, free: 0 / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0085/15.12, allocations: 11.89 MB / 5.379 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/15.12, allocations: 28 kB / 5.379 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8347/15.96, allocations: 82.16 MB / 5.459 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006043/15.96, allocations: 1.063 MB / 5.46 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09432/16.06, allocations: 35.11 MB / 5.494 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/16.08, allocations: 1.781 MB / 5.496 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006022/16.08, allocations: 0.5926 MB / 5.497 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/16.08, allocations: 5.469 kB / 5.497 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09542/16.18, allocations: 30.49 MB / 5.526 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/16.18, allocations: 26.94 kB / 5.526 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2356/16.41, allocations: 70.73 MB / 5.595 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006478/16.42, allocations: 1.16 MB / 5.597 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08274/16.5, allocations: 32.01 MB / 5.628 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01847/16.52, allocations: 1.749 MB / 5.63 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005817/16.53, allocations: 0.5769 MB / 5.63 GB, free: 2.242 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 580 * 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 {74 714} Notification: Performance of prepare postOptimizeDAE: time 0.5188/17.05, allocations: 2.613 MB / 5.633 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00572/17.05, allocations: 0.6505 MB / 5.633 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1037/17.16, allocations: 30.07 MB / 5.663 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002997/17.16, allocations: 114.2 kB / 5.663 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001715/17.16, allocations: 9.734 kB / 5.663 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06844/17.22, allocations: 23.79 MB / 5.686 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1249/17.35, allocations: 42 MB / 5.727 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000182/17.35, allocations: 3.719 kB / 5.727 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01548/17.37, allocations: 2.135 MB / 5.729 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0518/17.42, allocations: 14.12 MB / 5.743 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006699/17.42, allocations: 0.6047 MB / 5.743 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03994/17.46, allocations: 33.1 MB / 5.776 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/17.46, allocations: 2.656 kB / 5.776 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08304/17.55, allocations: 37.02 MB / 5.812 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/17.55, allocations: 0.813 MB / 5.813 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006723/17.56, allocations: 465 kB / 5.813 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01686/17.57, allocations: 1.451 MB / 5.815 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005047/17.58, allocations: 0.7683 MB / 5.815 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005144/17.58, allocations: 0.5563 MB / 5.816 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005971/17.59, allocations: 2.682 MB / 5.819 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/17.59, allocations: 0 / 5.819 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.04284/17.63, allocations: 6.96 MB / 5.825 GB, free: 23.39 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * 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 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.6788/18.31, allocations: 44.78 MB / 5.869 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.1119/18.42, allocations: 36.82 MB / 5.905 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/18.42, allocations: 4.656 kB / 5.905 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.03203/18.46, allocations: 12.64 MB / 5.917 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02236/18.48, allocations: 3.172 MB / 5.92 GB, free: 75.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1273/18.61, allocations: 62.1 MB / 5.981 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/18.62, allocations: 5.19 MB / 5.986 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02523/18.64, allocations: 4.938 MB / 5.991 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0142/18.66, allocations: 3.475 MB / 5.994 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.098e-05/18.66, allocations: 0 / 5.994 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.699/20.36, allocations: 476.3 MB / 6.46 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/20.36, allocations: 293.6 kB / 6.46 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/38.1, allocations: 3.938 kB / 6.46 GB, free: 102.2 MB / 0.6511 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