Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001182/0.001182, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008882/0.0008883, allocations: 94.59 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1678/0.1678, allocations: 45.15 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2153/0.3832, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.4697, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.723, allocations: 3.455 GB / 3.959 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/5.723, allocations: 78.17 kB / 3.959 GB, free: 116.2 MB / 0.5261 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 3.336/9.059, allocations: 0.9551 GB / 4.914 GB, free: 69.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/9.059, allocations: 9.219 kB / 4.914 GB, free: 69.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008431/9.068, allocations: 0.8848 MB / 4.915 GB, free: 69.38 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/9.087, allocations: 5.759 MB / 4.92 GB, free: 68.94 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/9.088, allocations: 244.4 kB / 4.92 GB, free: 68.94 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004567/9.092, allocations: 419.9 kB / 4.921 GB, free: 68.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03046/9.123, allocations: 15.77 MB / 4.936 GB, free: 68.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/9.157, allocations: 13.18 MB / 4.949 GB, free: 68.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005319/9.157, allocations: 26.08 kB / 4.949 GB, free: 68.25 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004079/9.161, allocations: 12.42 kB / 4.949 GB, free: 68.25 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000728/9.162, allocations: 0.744 MB / 4.95 GB, free: 68.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09924/9.261, allocations: 47.06 MB / 4.996 GB, free: 53.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/9.273, allocations: 7.617 MB / 5.003 GB, free: 53.64 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/9.286, allocations: 7.324 MB / 5.01 GB, free: 53.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003679/9.29, allocations: 4.222 MB / 5.015 GB, free: 49.17 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/9.29, allocations: 143.9 kB / 5.015 GB, free: 49.12 MB / 0.573 GB Notification: Performance of pre-optimization done (n=881): time 2.781e-05/9.29, allocations: 0.8438 kB / 5.015 GB, free: 49.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=1121): time 0.3015/9.591, allocations: 80.32 MB / 5.093 GB, free: 36.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/9.591, allocations: 165.7 kB / 5.093 GB, free: 36.03 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/9.596, allocations: 2.352 MB / 5.096 GB, free: 33.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003162/9.599, allocations: 33.7 kB / 5.096 GB, free: 33.87 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/9.6, allocations: 2.015 MB / 5.098 GB, free: 32.11 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005626/9.606, allocations: 3.749 MB / 5.101 GB, free: 28.67 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003373/9.609, allocations: 0 / 5.101 GB, free: 28.67 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009552/9.61, allocations: 0.7458 MB / 5.102 GB, free: 28.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01509/9.625, allocations: 9.208 MB / 5.111 GB, free: 20.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/9.641, allocations: 10.52 MB / 5.121 GB, free: 10.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02844/9.669, allocations: 12.25 MB / 5.133 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.157e-05/9.669, allocations: 8 kB / 5.133 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.3863/10.06, allocations: 34.49 MB / 5.167 GB, free: 65.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002176/10.06, allocations: 11.27 MB / 5.178 GB, free: 53.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/10.06, allocations: 28.69 kB / 5.178 GB, free: 53.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2019/10.26, allocations: 39.81 MB / 5.217 GB, free: 53.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/10.27, allocations: 1.039 MB / 5.218 GB, free: 53.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07246/10.34, allocations: 37.45 MB / 5.254 GB, free: 52.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01631/10.35, allocations: 1.372 MB / 5.256 GB, free: 52.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003014/10.36, allocations: 0.575 MB / 5.256 GB, free: 52.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/10.36, allocations: 3.125 kB / 5.256 GB, free: 52.57 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05663/10.41, allocations: 28.78 MB / 5.284 GB, free: 52.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/10.41, allocations: 26.56 kB / 5.284 GB, free: 52.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.195/10.61, allocations: 38.35 MB / 5.322 GB, free: 43.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/10.62, allocations: 1.142 MB / 5.323 GB, free: 42.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3179/10.93, allocations: 33.29 MB / 5.356 GB, free: 56.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01542/10.95, allocations: 1.347 MB / 5.357 GB, free: 56.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00328/10.95, allocations: 0.5638 MB / 5.357 GB, free: 56.18 MB / 0.573 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.004219/10.96, allocations: 221 kB / 5.358 GB, free: 56.08 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002553/10.96, allocations: 0.5759 MB / 5.358 GB, free: 56.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06031/11.02, allocations: 32.43 MB / 5.39 GB, free: 55.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/11.02, allocations: 119.4 kB / 5.39 GB, free: 55.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/11.02, allocations: 0 / 5.39 GB, free: 55.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04252/11.06, allocations: 21.82 MB / 5.411 GB, free: 54.51 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08184/11.14, allocations: 41.46 MB / 5.452 GB, free: 53.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/11.14, allocations: 4.969 kB / 5.452 GB, free: 53.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/11.16, allocations: 2.071 MB / 5.454 GB, free: 53.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03735/11.19, allocations: 10.56 MB / 5.464 GB, free: 52.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003395/11.2, allocations: 497.2 kB / 5.465 GB, free: 52.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02948/11.23, allocations: 31.65 MB / 5.495 GB, free: 50.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/11.23, allocations: 1.031 kB / 5.495 GB, free: 50.36 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07201/11.3, allocations: 36.13 MB / 5.531 GB, free: 38.82 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08891/11.39, allocations: 50.16 MB / 5.58 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2606/11.65, allocations: 0.6775 MB / 5.58 GB, free: 79.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004218/11.65, allocations: 289.8 kB / 5.581 GB, free: 79.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01293/11.67, allocations: 1.114 MB / 5.582 GB, free: 79.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002154/11.67, allocations: 0.6873 MB / 5.582 GB, free: 79.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001766/11.67, allocations: 0.5327 MB / 5.583 GB, free: 79.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.002574/11.67, allocations: 1.744 MB / 5.585 GB, free: 79.24 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02684/11.7, allocations: 7.096 MB / 5.592 GB, free: 79.24 MB / 0.5886 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.01108/11.71, allocations: 3.794 MB / 5.595 GB, free: 79.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.06209/11.77, allocations: 33.89 MB / 5.628 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/11.77, allocations: 10.8 kB / 5.628 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01944/11.79, allocations: 11.4 MB / 5.64 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/11.81, allocations: 2.582 MB / 5.642 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06107/11.87, allocations: 26.95 MB / 5.668 GB, free: 75.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01205/11.88, allocations: 6.386 MB / 5.675 GB, free: 74.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.934e-06/11.88, allocations: 0 / 5.675 GB, free: 74.48 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1)