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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001829/0.001829, allocations: 185.9 kB / 7.804 MB, free: 2.488 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.879/1.879, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001452/0.001452, allocations: 84.31 kB / 261.4 MB, free: 13.54 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.2567/0.2567, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2957/0.5524, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/1.017, allocations: 58.83 MB / 476.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.641/9.658, allocations: 3.626 GB / 4.091 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/9.659, allocations: 79.45 kB / 4.091 GB, free: 59.3 MB / 0.4948 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 4.077/13.74, allocations: 0.9864 GB / 5.078 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/13.74, allocations: 17.81 kB / 5.078 GB, free: 24.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/13.75, allocations: 0.8669 MB / 5.079 GB, free: 24.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/13.77, allocations: 5.76 MB / 5.084 GB, free: 23.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007416/13.77, allocations: 248.9 kB / 5.085 GB, free: 23.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0069/13.78, allocations: 414.9 kB / 5.085 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03933/13.82, allocations: 15.79 MB / 5.1 GB, free: 23.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0566/13.88, allocations: 13.21 MB / 5.113 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007176/13.88, allocations: 25.67 kB / 5.113 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006405/13.88, allocations: 11.77 kB / 5.113 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001363/13.89, allocations: 0.7476 MB / 5.114 GB, free: 22.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/14.03, allocations: 47.03 MB / 5.16 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4527/14.48, allocations: 8.116 MB / 5.168 GB, free: 79.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01602/14.5, allocations: 7.332 MB / 5.175 GB, free: 79.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004618/14.5, allocations: 4.141 MB / 5.179 GB, free: 74.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/14.5, allocations: 145.5 kB / 5.179 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=881): time 1.148e-05/14.5, allocations: 0 / 5.179 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1121): time 0.3028/14.8, allocations: 80.56 MB / 5.258 GB, free: 72.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/14.8, allocations: 162.9 kB / 5.258 GB, free: 72.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/14.81, allocations: 2.347 MB / 5.26 GB, free: 72.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004823/14.81, allocations: 32.42 kB / 5.26 GB, free: 72.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/14.81, allocations: 2.015 MB / 5.262 GB, free: 71.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006983/14.82, allocations: 3.749 MB / 5.266 GB, free: 69.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/14.82, allocations: 1.969 kB / 5.266 GB, free: 69.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00083/14.82, allocations: 0.7474 MB / 5.267 GB, free: 68.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01407/14.84, allocations: 9.217 MB / 5.276 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0201/14.86, allocations: 10.53 MB / 5.286 GB, free: 67.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04393/14.9, allocations: 13.81 MB / 5.3 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/14.9, allocations: 8.188 kB / 5.3 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.09798/15, allocations: 32.89 MB / 5.332 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003037/15, allocations: 11.27 MB / 5.343 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/15, allocations: 28 kB / 5.343 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2013/15.2, allocations: 39.85 MB / 5.382 GB, free: 17.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/15.21, allocations: 1.052 MB / 5.383 GB, free: 16.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.496/15.71, allocations: 39.79 MB / 5.421 GB, free: 70.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/15.73, allocations: 1.371 MB / 5.423 GB, free: 70.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004958/15.73, allocations: 0.5988 MB / 5.423 GB, free: 70.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/15.73, allocations: 3.75 kB / 5.423 GB, free: 70.84 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08491/15.82, allocations: 30.38 MB / 5.453 GB, free: 70.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/15.82, allocations: 28.44 kB / 5.453 GB, free: 70.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1937/16.01, allocations: 38.39 MB / 5.491 GB, free: 70.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00678/16.02, allocations: 1.148 MB / 5.492 GB, free: 70.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0684/16.09, allocations: 33.34 MB / 5.524 GB, free: 69.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01788/16.1, allocations: 1.346 MB / 5.526 GB, free: 69.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005246/16.11, allocations: 0.5843 MB / 5.526 GB, free: 69.44 MB / 0.5573 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.006168/16.11, allocations: 224.5 kB / 5.526 GB, free: 69.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002857/16.12, allocations: 0.5769 MB / 5.527 GB, free: 69.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06996/16.19, allocations: 28.59 MB / 5.555 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001655/16.19, allocations: 119.3 kB / 5.555 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.79e-05/16.19, allocations: 0 / 5.555 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06119/16.25, allocations: 21.89 MB / 5.576 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1277/16.38, allocations: 41.54 MB / 5.617 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001269/16.38, allocations: 2.188 kB / 5.617 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01643/16.39, allocations: 2.08 MB / 5.619 GB, free: 19.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4461/16.84, allocations: 10.6 MB / 5.629 GB, free: 74.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006237/16.85, allocations: 0.4947 MB / 5.63 GB, free: 74.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03201/16.88, allocations: 31.68 MB / 5.661 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/16.88, allocations: 1.594 kB / 5.661 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09523/16.97, allocations: 36.2 MB / 5.696 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1246/17.1, allocations: 50.26 MB / 5.745 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003696/17.1, allocations: 0.6759 MB / 5.746 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006522/17.11, allocations: 290.3 kB / 5.746 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01798/17.13, allocations: 1.119 MB / 5.747 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00532/17.13, allocations: 0.6857 MB / 5.748 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003467/17.14, allocations: 0.5527 MB / 5.748 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004816/17.14, allocations: 1.746 MB / 5.75 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.04364/17.18, allocations: 7.186 MB / 5.757 GB, free: 53.52 MB / 0.5573 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.01921/17.2, allocations: 4.052 MB / 5.761 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.07681/17.28, allocations: 33.93 MB / 5.794 GB, free: 42.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/17.28, allocations: 7.375 kB / 5.794 GB, free: 42.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0263/17.31, allocations: 11.42 MB / 5.805 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02039/17.33, allocations: 2.539 MB / 5.808 GB, free: 31.33 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09137/17.42, allocations: 26.96 MB / 5.834 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02138/17.44, allocations: 6.431 MB / 5.84 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of SimCode: time 2.434e-06/17.44, allocations: 0.9375 kB / 5.84 GB, free: 5.953 MB / 0.5573 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)