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.00153/0.00153, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001139/0.001139, allocations: 90.69 kB / 267.5 MB, free: 14.05 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.2947/0.2947, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.486e-05/4.504e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.37/11.51, allocations: 3.627 GB / 4.099 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/11.51, allocations: 84.86 kB / 4.1 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.587/17.1, allocations: 0.9779 GB / 5.077 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.678e-06/17.1, allocations: 0 / 5.077 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005487/17.1, allocations: 159.2 kB / 5.078 GB, free: 6.066 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.06178/17.16, allocations: 9.65 MB / 5.087 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/17.16, allocations: 15.97 kB / 5.087 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007516/17.17, allocations: 1.025 MB / 5.088 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009355/17.18, allocations: 0.854 MB / 5.089 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03733/17.22, allocations: 5.739 MB / 5.094 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001509/17.22, allocations: 0.5243 MB / 5.095 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00775/17.23, allocations: 0.6987 MB / 5.096 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.04/18.27, allocations: 13.83 MB / 5.109 GB, free: 32.92 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/18.27, allocations: 23.59 kB / 5.109 GB, free: 32.92 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005546/18.27, allocations: 285.8 kB / 5.109 GB, free: 32.92 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/18.28, allocations: 0.706 MB / 5.11 GB, free: 32.9 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05455/18.33, allocations: 16.19 MB / 5.126 GB, free: 32.84 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1481/18.48, allocations: 47.56 MB / 5.172 GB, free: 18.47 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03129/18.51, allocations: 10.61 MB / 5.183 GB, free: 18.36 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01991/18.53, allocations: 7.157 MB / 5.19 GB, free: 18.3 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006618/18.54, allocations: 4.131 MB / 5.194 GB, free: 30.07 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/18.54, allocations: 144.3 kB / 5.194 GB, free: 30.03 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009673/18.55, allocations: 0.8649 MB / 5.195 GB, free: 29.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=882): time 4.478e-05/18.55, allocations: 5.281 kB / 5.195 GB, free: 29.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=1122): time 0.4806/19.03, allocations: 83.4 MB / 5.276 GB, free: 7.871 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/19.03, allocations: 168.2 kB / 5.276 GB, free: 7.691 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/19.04, allocations: 3.465 MB / 5.28 GB, free: 4.645 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004618/19.04, allocations: 225.7 kB / 5.28 GB, free: 4.418 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/19.05, allocations: 2.204 MB / 5.282 GB, free: 2.582 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009293/19.05, allocations: 3.894 MB / 5.286 GB, free: 15.08 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004522/19.06, allocations: 212 kB / 5.286 GB, free: 14.88 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001444/19.06, allocations: 0.749 MB / 5.287 GB, free: 14.25 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02851/19.09, allocations: 8.794 MB / 5.295 GB, free: 6.656 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03752/19.13, allocations: 10.53 MB / 5.306 GB, free: 14.42 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03175/19.16, allocations: 9.851 MB / 5.315 GB, free: 6.32 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-05/19.16, allocations: 8 kB / 5.315 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.6126/19.77, allocations: 28.76 MB / 5.343 GB, free: 74.79 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.002684/19.77, allocations: 10.76 MB / 5.354 GB, free: 63.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/19.77, allocations: 26.31 kB / 5.354 GB, free: 63.59 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4835/20.26, allocations: 78.05 MB / 5.43 GB, free: 63.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009396/20.27, allocations: 1.053 MB / 5.431 GB, free: 63.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1019/20.37, allocations: 31.6 MB / 5.462 GB, free: 57.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02668/20.4, allocations: 1.787 MB / 5.464 GB, free: 56.89 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005487/20.4, allocations: 0.5891 MB / 5.464 GB, free: 56.48 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/20.4, allocations: 4 kB / 5.464 GB, free: 56.48 MB / 0.6043 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09177/20.49, allocations: 26.81 MB / 5.491 GB, free: 41.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/20.49, allocations: 25.8 kB / 5.491 GB, free: 41.91 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.384/20.88, allocations: 53.6 MB / 5.543 GB, free: 2.375 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/20.89, allocations: 1.158 MB / 5.544 GB, free: 1.465 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6362/21.52, allocations: 28.5 MB / 5.572 GB, free: 74.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02441/21.55, allocations: 1.745 MB / 5.574 GB, free: 74.08 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005251/21.55, allocations: 0.5738 MB / 5.574 GB, free: 74.08 MB / 0.6043 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.008948/21.56, allocations: 0.6042 MB / 5.575 GB, free: 73.97 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005899/21.57, allocations: 0.6495 MB / 5.575 GB, free: 73.97 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09255/21.66, allocations: 26.86 MB / 5.602 GB, free: 73.1 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002034/21.66, allocations: 116.5 kB / 5.602 GB, free: 73.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-05/21.66, allocations: 2.219 kB / 5.602 GB, free: 73.1 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06565/21.73, allocations: 20.5 MB / 5.622 GB, free: 72.36 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1574/21.88, allocations: 41.47 MB / 5.662 GB, free: 63.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001861/21.89, allocations: 1.312 kB / 5.662 GB, free: 63.95 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02261/21.91, allocations: 2.133 MB / 5.664 GB, free: 63.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07094/21.98, allocations: 11.68 MB / 5.676 GB, free: 62.18 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004698/21.98, allocations: 0.6023 MB / 5.676 GB, free: 61.96 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03996/22.02, allocations: 30.04 MB / 5.706 GB, free: 40.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/22.02, allocations: 2.25 kB / 5.706 GB, free: 40.2 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1185/22.14, allocations: 35.27 MB / 5.74 GB, free: 17.15 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/22.15, allocations: 0.812 MB / 5.741 GB, free: 16.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006153/22.15, allocations: 457.8 kB / 5.741 GB, free: 16.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02419/22.18, allocations: 1.464 MB / 5.743 GB, free: 15.06 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004845/22.18, allocations: 0.7592 MB / 5.744 GB, free: 14.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004666/22.19, allocations: 0.5611 MB / 5.744 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.00701/22.19, allocations: 2.632 MB / 5.747 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.122e-06/22.19, allocations: 3.375 kB / 5.747 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.03958/22.23, allocations: 6.969 MB / 5.753 GB, free: 5.52 MB / 0.6043 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.7018/22.93, allocations: 43.32 MB / 5.796 GB, free: 87.52 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.1171/23.05, allocations: 32.98 MB / 5.828 GB, free: 87.05 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/23.05, allocations: 7.031 kB / 5.828 GB, free: 87.05 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0378/23.09, allocations: 11.51 MB / 5.839 GB, free: 86.43 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02935/23.12, allocations: 3.17 MB / 5.842 GB, free: 86.33 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1116/23.23, allocations: 29.89 MB / 5.872 GB, free: 82.78 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/23.24, allocations: 5.204 MB / 5.877 GB, free: 81.83 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0131/23.25, allocations: 3.531 MB / 5.88 GB, free: 81.82 MB / 0.6199 GB Notification: Performance of SimCode: time 1.543e-06/23.25, allocations: 0 / 5.88 GB, free: 81.82 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.44/33.69, allocations: 0.5822 GB / 6.462 GB, free: 41.07 MB / 0.6668 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