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.001765/0.001765, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.777/1.777, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001035/0.001035, allocations: 93.5 kB / 267.1 MB, free: 9.281 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.5139/0.5139, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.106e-05/5.115e-05, allocations: 7.984 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.168, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.54/11.7, allocations: 3.627 GB / 4.099 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/11.7, allocations: 82.78 kB / 4.1 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.599/16.3, allocations: 0.9779 GB / 5.077 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/16.3, allocations: 0 / 5.077 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006056/16.3, allocations: 159.3 kB / 5.078 GB, free: 35.22 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.05082/16.35, allocations: 9.659 MB / 5.087 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/16.35, allocations: 12.34 kB / 5.087 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007379/16.36, allocations: 1.018 MB / 5.088 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009935/16.37, allocations: 0.8629 MB / 5.089 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/16.4, allocations: 5.737 MB / 5.094 GB, free: 31.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009469/16.4, allocations: 0.5233 MB / 5.095 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005604/16.4, allocations: 0.7009 MB / 5.096 GB, free: 31.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04518/16.45, allocations: 13.83 MB / 5.109 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/16.45, allocations: 22.06 kB / 5.109 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004837/16.45, allocations: 288.6 kB / 5.109 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008142/16.46, allocations: 0.7085 MB / 5.11 GB, free: 30.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04051/16.5, allocations: 16.19 MB / 5.126 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1116/16.61, allocations: 47.57 MB / 5.172 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/16.63, allocations: 10.59 MB / 5.183 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01383/16.64, allocations: 7.16 MB / 5.19 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005387/16.65, allocations: 4.133 MB / 5.194 GB, free: 27.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/16.65, allocations: 148.8 kB / 5.194 GB, free: 27.55 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008548/16.66, allocations: 0.8597 MB / 5.195 GB, free: 27.19 MB / 0.573 GB Notification: Performance of pre-optimization done (n=882): time 3.913e-05/16.66, allocations: 0 / 5.195 GB, free: 27.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=1122): time 0.3148/16.97, allocations: 84.79 MB / 5.278 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/16.97, allocations: 168.2 kB / 5.278 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006935/16.98, allocations: 3.458 MB / 5.281 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00462/16.98, allocations: 235.6 kB / 5.281 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/16.99, allocations: 2.383 MB / 5.284 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.008824/16.99, allocations: 3.901 MB / 5.287 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004932/17, allocations: 212 kB / 5.288 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001263/17, allocations: 0.7467 MB / 5.288 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04289/17.04, allocations: 10.76 MB / 5.299 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5777/17.62, allocations: 10.17 MB / 5.309 GB, free: 60.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02161/17.64, allocations: 9.853 MB / 5.318 GB, free: 60.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/17.64, allocations: 6.094 kB / 5.318 GB, free: 60.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.08202/17.73, allocations: 28.59 MB / 5.346 GB, free: 59.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003591/17.73, allocations: 11.88 MB / 5.358 GB, free: 47.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/17.73, allocations: 28.94 kB / 5.358 GB, free: 47.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2686/18, allocations: 78.05 MB / 5.434 GB, free: 41.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006055/18, allocations: 1.057 MB / 5.435 GB, free: 40.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06657/18.07, allocations: 31.6 MB / 5.466 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/18.09, allocations: 1.786 MB / 5.468 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004721/18.09, allocations: 0.5891 MB / 5.468 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/18.09, allocations: 4.625 kB / 5.468 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06884/18.16, allocations: 26.8 MB / 5.495 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/18.16, allocations: 24 kB / 5.495 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.958/19.12, allocations: 70.97 MB / 5.564 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007107/19.13, allocations: 1.156 MB / 5.565 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06156/19.19, allocations: 28.51 MB / 5.593 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01942/19.21, allocations: 1.751 MB / 5.595 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005366/19.22, allocations: 0.5775 MB / 5.595 GB, free: 68.9 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 (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.008918/19.22, allocations: 0.5958 MB / 5.596 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00482/19.23, allocations: 0.6492 MB / 5.596 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07347/19.3, allocations: 26.87 MB / 5.623 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002502/19.3, allocations: 118.5 kB / 5.623 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000121/19.3, allocations: 3.562 kB / 5.623 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06112/19.36, allocations: 20.5 MB / 5.643 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1152/19.48, allocations: 41.47 MB / 5.683 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001271/19.48, allocations: 8.797 kB / 5.683 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01317/19.49, allocations: 2.134 MB / 5.685 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03812/19.53, allocations: 11.68 MB / 5.697 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004704/19.54, allocations: 0.6078 MB / 5.697 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02609/19.56, allocations: 30.04 MB / 5.727 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/19.56, allocations: 8.938 kB / 5.727 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7494/20.31, allocations: 38.14 MB / 5.764 GB, free: 83.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/20.32, allocations: 0.8085 MB / 5.765 GB, free: 83.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007954/20.32, allocations: 460.8 kB / 5.765 GB, free: 83.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01848/20.34, allocations: 1.455 MB / 5.767 GB, free: 83.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005502/20.35, allocations: 0.7659 MB / 5.767 GB, free: 83.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004317/20.35, allocations: 0.5543 MB / 5.768 GB, free: 83.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.005832/20.36, allocations: 2.644 MB / 5.771 GB, free: 83.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/20.36, allocations: 0 / 5.771 GB, free: 83.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.04568/20.4, allocations: 6.961 MB / 5.777 GB, free: 83.1 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 (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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,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.1231/20.53, allocations: 39.98 MB / 5.816 GB, free: 81.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.08671/20.61, allocations: 33.26 MB / 5.849 GB, free: 80.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.859e-05/20.61, allocations: 8.469 kB / 5.849 GB, free: 80.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02851/20.64, allocations: 11.52 MB / 5.86 GB, free: 80 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02225/20.66, allocations: 3.163 MB / 5.863 GB, free: 79.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09566/20.76, allocations: 29.56 MB / 5.892 GB, free: 75.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007349/20.77, allocations: 5.207 MB / 5.897 GB, free: 73.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.02989/20.8, allocations: 5.572 MB / 5.903 GB, free: 73.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/20.81, allocations: 3.429 MB / 5.906 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.245e-06/20.81, allocations: 7.172 kB / 5.906 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/22.78, allocations: 487.9 MB / 6.382 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/22.78, allocations: 255.1 kB / 6.383 GB, free: 101 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/42.73, allocations: 0 / 6.383 GB, free: 101 MB / 0.6667 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)