Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002154/0.002154, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.72 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3102/0.3102, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.127e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4472, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.99/11.44, allocations: 3.626 GB / 4.092 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/11.44, allocations: 78.14 kB / 4.092 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 5.989/17.43, allocations: 0.9695 GB / 5.061 GB, free: 29.18 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.145e-06/17.43, allocations: 0.9375 kB / 5.061 GB, free: 29.18 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0005766/17.43, allocations: 159.6 kB / 5.062 GB, free: 29.17 MB / 0.5421 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.06142/17.49, allocations: 9.652 MB / 5.071 GB, free: 25.48 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/17.49, allocations: 8.75 kB / 5.071 GB, free: 25.48 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009098/17.5, allocations: 0.863 MB / 5.072 GB, free: 25.08 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02809/17.53, allocations: 5.727 MB / 5.077 GB, free: 24.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006831/17.53, allocations: 245.8 kB / 5.078 GB, free: 24.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/17.54, allocations: 413.5 kB / 5.078 GB, free: 24.29 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04456/17.58, allocations: 15.36 MB / 5.093 GB, free: 24.26 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0486/17.63, allocations: 12.88 MB / 5.106 GB, free: 23.61 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006073/17.63, allocations: 26.28 kB / 5.106 GB, free: 23.61 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005189/17.63, allocations: 9.156 kB / 5.106 GB, free: 23.61 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/17.64, allocations: 0.7026 MB / 5.106 GB, free: 23.59 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/17.78, allocations: 46.58 MB / 5.152 GB, free: 8.859 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0295/17.81, allocations: 10.49 MB / 5.162 GB, free: 8.789 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01885/17.83, allocations: 7.099 MB / 5.169 GB, free: 8.07 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006198/17.84, allocations: 4.132 MB / 5.173 GB, free: 19.73 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/17.84, allocations: 151.9 kB / 5.173 GB, free: 19.62 MB / 0.5577 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01113/17.85, allocations: 0.8697 MB / 5.174 GB, free: 19.3 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=881): time 6.468e-05/17.85, allocations: 1.75 kB / 5.174 GB, free: 19.3 MB / 0.5577 GB Notification: Performance of matching and sorting (n=1121): time 1.194/19.04, allocations: 84.46 MB / 5.257 GB, free: 51.88 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003249/19.04, allocations: 166.8 kB / 5.257 GB, free: 51.8 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/19.05, allocations: 2.306 MB / 5.259 GB, free: 51.61 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.005729/19.06, allocations: 30.8 kB / 5.259 GB, free: 51.58 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.00388/19.06, allocations: 2.285 MB / 5.261 GB, free: 51.27 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.01267/19.07, allocations: 3.752 MB / 5.265 GB, free: 49.3 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005767/19.08, allocations: 3.531 kB / 5.265 GB, free: 49.3 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.002078/19.08, allocations: 0.7511 MB / 5.266 GB, free: 48.97 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03951/19.12, allocations: 8.794 MB / 5.274 GB, free: 48.95 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03958/19.16, allocations: 10.1 MB / 5.284 GB, free: 47.88 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09539/19.26, allocations: 13.2 MB / 5.297 GB, free: 47.75 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/19.26, allocations: 12.31 kB / 5.297 GB, free: 47.75 MB / 0.5733 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.1941/19.45, allocations: 31.23 MB / 5.328 GB, free: 47.2 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.004122/19.46, allocations: 10.75 MB / 5.338 GB, free: 36 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003691/19.46, allocations: 26.53 kB / 5.338 GB, free: 36 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3518/19.81, allocations: 41.61 MB / 5.379 GB, free: 35.69 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009434/19.82, allocations: 1.068 MB / 5.38 GB, free: 35.69 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1193/19.94, allocations: 35.33 MB / 5.414 GB, free: 27.72 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03201/19.97, allocations: 1.578 MB / 5.416 GB, free: 26.79 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005964/19.97, allocations: 0.5932 MB / 5.416 GB, free: 26.3 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/19.97, allocations: 4.625 kB / 5.416 GB, free: 26.29 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1171/20.09, allocations: 28.96 MB / 5.445 GB, free: 2.516 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/20.09, allocations: 29.31 kB / 5.445 GB, free: 2.488 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8903/20.98, allocations: 41.78 MB / 5.485 GB, free: 65.63 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/20.99, allocations: 1.174 MB / 5.487 GB, free: 65.63 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09807/21.09, allocations: 31.34 MB / 5.517 GB, free: 64.81 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0241/21.11, allocations: 1.537 MB / 5.519 GB, free: 64.81 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005312/21.12, allocations: 0.5909 MB / 5.519 GB, free: 64.81 MB / 0.589 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.00894/21.13, allocations: 218.7 kB / 5.519 GB, free: 64.7 MB / 0.589 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08485/21.21, allocations: 22.48 MB / 5.541 GB, free: 64.19 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006572/21.22, allocations: 0.5748 MB / 5.542 GB, free: 64.19 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1033/21.32, allocations: 26.63 MB / 5.568 GB, free: 63.28 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002279/21.32, allocations: 117.2 kB / 5.568 GB, free: 63.28 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/21.32, allocations: 2.75 kB / 5.568 GB, free: 63.28 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07542/21.4, allocations: 20.92 MB / 5.589 GB, free: 62.37 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1497/21.55, allocations: 40.55 MB / 5.628 GB, free: 47.11 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001531/21.55, allocations: 0 / 5.628 GB, free: 47.11 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02171/21.57, allocations: 2.131 MB / 5.63 GB, free: 45.44 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06106/21.63, allocations: 11.09 MB / 5.641 GB, free: 38.01 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004836/21.64, allocations: 481.4 kB / 5.642 GB, free: 37.69 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04336/21.68, allocations: 30.67 MB / 5.671 GB, free: 9.152 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/21.68, allocations: 3.656 kB / 5.671 GB, free: 9.152 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1742/21.86, allocations: 37.32 MB / 5.708 GB, free: 2.266 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/21.86, allocations: 0.7049 MB / 5.709 GB, free: 1.602 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006318/21.87, allocations: 263.6 kB / 5.709 GB, free: 1.414 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02478/21.89, allocations: 1.253 MB / 5.71 GB, free: 324 kB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.5135/22.4, allocations: 0.7589 MB / 5.711 GB, free: 81.98 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005764/22.41, allocations: 0.5569 MB / 5.711 GB, free: 81.98 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.00468/22.41, allocations: 1.709 MB / 5.713 GB, free: 81.84 MB / 0.6046 GB Notification: Performance of sort global known variables: time 1.062e-06/22.41, allocations: 0 / 5.713 GB, free: 81.84 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.04564/22.46, allocations: 6.311 MB / 5.719 GB, free: 81.84 MB / 0.6046 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.1486/22.61, allocations: 39.55 MB / 5.758 GB, free: 79.99 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.1024/22.71, allocations: 32.31 MB / 5.789 GB, free: 79.59 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/22.71, allocations: 6.188 kB / 5.789 GB, free: 79.59 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.03448/22.75, allocations: 11.25 MB / 5.8 GB, free: 79.03 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02757/22.77, allocations: 2.697 MB / 5.803 GB, free: 78.95 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/22.93, allocations: 28.84 MB / 5.831 GB, free: 75.23 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/22.94, allocations: 5.21 MB / 5.836 GB, free: 74.29 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/22.96, allocations: 3.501 MB / 5.84 GB, free: 73.43 MB / 0.6046 GB Notification: Performance of SimCode: time 1.683e-06/22.96, allocations: 0 / 5.84 GB, free: 73.43 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.77/33.72, allocations: 0.5756 GB / 6.415 GB, free: 121.7 MB / 0.6515 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat