Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") [: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.1+maint.om/package.mo): time 0.004566/0.004565, allocations: 173.8 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.711/1.711, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002072/0.002072, allocations: 127.8 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2407/0.2407, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.13e-05, allocations: 1.281 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.207/2.361, allocations: 0.6476 GB / 1.036 GB, free: 56.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/2.361, allocations: 74.27 kB / 1.036 GB, free: 56.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.598/4.959, allocations: 0.5368 GB / 1.573 GB, free: 16.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005148/4.96, allocations: 67.92 kB / 1.573 GB, free: 16.29 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0174/4.977, allocations: 3.01 MB / 1.576 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.993e-05/4.977, allocations: 8.031 kB / 1.576 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/4.983, allocations: 448.7 kB / 1.577 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008187/4.991, allocations: 1.934 MB / 1.579 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/4.991, allocations: 55.91 kB / 1.579 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005293/4.992, allocations: 104 kB / 1.579 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003755/4.995, allocations: 2.162 MB / 1.581 GB, free: 8.512 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/4.999, allocations: 2.391 MB / 1.583 GB, free: 5.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.908e-05/4.999, allocations: 3.938 kB / 1.583 GB, free: 5.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/4.999, allocations: 8 kB / 1.583 GB, free: 5.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/4.999, allocations: 155 kB / 1.583 GB, free: 5.805 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/5.016, allocations: 11.39 MB / 1.595 GB, free: 9.691 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/5.018, allocations: 1.006 MB / 1.596 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/5.019, allocations: 0.9684 MB / 1.596 GB, free: 7.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/5.02, allocations: 456.4 kB / 1.597 GB, free: 7.211 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/5.022, allocations: 1.051 MB / 1.598 GB, free: 6.133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 5e-06/5.022, allocations: 0 / 1.598 GB, free: 6.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=169): time 0.4033/5.425, allocations: 9.378 MB / 1.607 GB, free: 72.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/5.426, allocations: 254.3 kB / 1.607 GB, free: 72.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/5.428, allocations: 1.083 MB / 1.608 GB, free: 72.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003142/5.428, allocations: 29.64 kB / 1.608 GB, free: 72.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/5.429, allocations: 0.6682 MB / 1.609 GB, free: 71.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/5.429, allocations: 0.5509 MB / 1.61 GB, free: 71.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/5.43, allocations: 0 / 1.61 GB, free: 71.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/5.43, allocations: 385.9 kB / 1.61 GB, free: 71.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/5.431, allocations: 0.9918 MB / 1.611 GB, free: 71.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/5.433, allocations: 1.415 MB / 1.612 GB, free: 70.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/5.443, allocations: 2.412 MB / 1.615 GB, free: 70.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/5.443, allocations: 6.75 kB / 1.615 GB, free: 70.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01536/5.459, allocations: 4.039 MB / 1.619 GB, free: 70.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001992/5.461, allocations: 4.167 MB / 1.623 GB, free: 66.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/5.461, allocations: 11.12 kB / 1.623 GB, free: 66.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/5.461, allocations: 172.7 kB / 1.623 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/5.464, allocations: 0.5398 MB / 1.623 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/5.466, allocations: 2.369 MB / 1.626 GB, free: 64.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/5.47, allocations: 172.7 kB / 1.626 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/5.47, allocations: 185.8 kB / 1.626 GB, free: 64.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/5.47, allocations: 3.344 kB / 1.626 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/5.484, allocations: 3.514 MB / 1.629 GB, free: 64.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/5.484, allocations: 12.56 kB / 1.63 GB, free: 64.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/5.485, allocations: 174.7 kB / 1.63 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/5.487, allocations: 0.5329 MB / 1.63 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/5.489, allocations: 2.36 MB / 1.633 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/5.492, allocations: 170 kB / 1.633 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/5.493, allocations: 186 kB / 1.633 GB, free: 62.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001319/5.494, allocations: 231.2 kB / 1.633 GB, free: 61.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/5.495, allocations: 184.6 kB / 1.633 GB, free: 61.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02011/5.515, allocations: 4.203 MB / 1.637 GB, free: 61.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/5.516, allocations: 18.78 kB / 1.637 GB, free: 61.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/5.516, allocations: 1.969 kB / 1.637 GB, free: 61.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0151/5.531, allocations: 3.463 MB / 1.641 GB, free: 61.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/5.556, allocations: 6.72 MB / 1.647 GB, free: 60.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/5.556, allocations: 11.03 kB / 1.647 GB, free: 60.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/5.559, allocations: 410 kB / 1.648 GB, free: 60.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/5.559, allocations: 171.8 kB / 1.648 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005862/5.56, allocations: 67.14 kB / 1.648 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/5.562, allocations: 3.033 MB / 1.651 GB, free: 57.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/5.562, allocations: 6.922 kB / 1.651 GB, free: 57.46 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01874/5.581, allocations: 5.218 MB / 1.656 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/5.583, allocations: 0.4969 MB / 1.656 GB, free: 56.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/5.584, allocations: 25.55 kB / 1.657 GB, free: 56.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/5.587, allocations: 87.09 kB / 1.657 GB, free: 56.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/5.588, allocations: 144.1 kB / 1.657 GB, free: 56.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000547/5.588, allocations: 146.7 kB / 1.657 GB, free: 56.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002362/5.591, allocations: 0.7937 MB / 1.658 GB, free: 56.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0127/5.603, allocations: 1.784 MB / 1.659 GB, free: 56.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/5.615, allocations: 2.677 MB / 1.662 GB, free: 55.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01095/5.626, allocations: 3.908 MB / 1.666 GB, free: 55.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/5.626, allocations: 2.344 kB / 1.666 GB, free: 55.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/5.629, allocations: 1.324 MB / 1.667 GB, free: 55.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00608/5.635, allocations: 0.7494 MB / 1.668 GB, free: 55.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/5.655, allocations: 5.58 MB / 1.673 GB, free: 54.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005058/5.661, allocations: 2.125 MB / 1.675 GB, free: 53.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.584e-06/5.661, allocations: 0 / 1.675 GB, free: 53.84 MB / 458.7 MB Notification: Performance of Templates: time 0.1507/5.811, allocations: 71.44 MB / 1.745 GB, free: 43.39 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)