Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") [: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.003767/0.003767, allocations: 180.7 kB / 7.449 MB, free: 2.52 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.695/1.695, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001904/0.001904, allocations: 115.8 kB / 217.7 MB, free: 8.152 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.2403/0.2403, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.05e-05, allocations: 1.562 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.207/2.353, allocations: 0.6476 GB / 1.036 GB, free: 56.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/2.354, allocations: 71.89 kB / 1.037 GB, free: 56.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.481/4.835, allocations: 0.5368 GB / 1.573 GB, free: 15.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002157/4.835, allocations: 67.53 kB / 1.573 GB, free: 14.99 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.01276/4.848, allocations: 3.007 MB / 1.576 GB, free: 11.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/4.848, allocations: 12.02 kB / 1.576 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/4.852, allocations: 436.8 kB / 1.577 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006044/4.858, allocations: 1.942 MB / 1.579 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/4.858, allocations: 55.91 kB / 1.579 GB, free: 9.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/4.859, allocations: 103.9 kB / 1.579 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003728/4.863, allocations: 2.165 MB / 1.581 GB, free: 7.207 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/4.866, allocations: 2.391 MB / 1.583 GB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/4.866, allocations: 7.938 kB / 1.583 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/4.867, allocations: 4 kB / 1.583 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/4.867, allocations: 163 kB / 1.583 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/4.888, allocations: 11.39 MB / 1.595 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/4.89, allocations: 1.014 MB / 1.596 GB, free: 7.383 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/4.892, allocations: 0.9645 MB / 1.596 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/4.893, allocations: 456.4 kB / 1.597 GB, free: 5.918 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001988/4.895, allocations: 1.055 MB / 1.598 GB, free: 4.832 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 6.733e-06/4.895, allocations: 4 kB / 1.598 GB, free: 4.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=169): time 0.4081/5.303, allocations: 9.369 MB / 1.607 GB, free: 72.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/5.303, allocations: 262.7 kB / 1.607 GB, free: 72.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/5.305, allocations: 1.078 MB / 1.608 GB, free: 72.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000323/5.305, allocations: 28.7 kB / 1.608 GB, free: 72.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/5.306, allocations: 0.6703 MB / 1.609 GB, free: 71.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/5.307, allocations: 0.5469 MB / 1.61 GB, free: 71.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/5.307, allocations: 0 / 1.61 GB, free: 71.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/5.307, allocations: 389.5 kB / 1.61 GB, free: 71.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/5.309, allocations: 0.9845 MB / 1.611 GB, free: 71.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/5.311, allocations: 1.422 MB / 1.612 GB, free: 70.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/5.321, allocations: 2.416 MB / 1.615 GB, free: 70.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/5.321, allocations: 3.531 kB / 1.615 GB, free: 70.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01436/5.336, allocations: 4.035 MB / 1.619 GB, free: 70.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002665/5.338, allocations: 4.172 MB / 1.623 GB, free: 66.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/5.338, allocations: 10.12 kB / 1.623 GB, free: 66.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/5.339, allocations: 172.2 kB / 1.623 GB, free: 66.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/5.342, allocations: 0.5343 MB / 1.623 GB, free: 66.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/5.344, allocations: 2.372 MB / 1.626 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/5.348, allocations: 170.8 kB / 1.626 GB, free: 64.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006686/5.348, allocations: 184.5 kB / 1.626 GB, free: 64.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/5.349, allocations: 5.594 kB / 1.626 GB, free: 64.19 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01422/5.363, allocations: 3.519 MB / 1.629 GB, free: 64.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-05/5.363, allocations: 13.98 kB / 1.629 GB, free: 64.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/5.363, allocations: 176.2 kB / 1.63 GB, free: 64.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/5.366, allocations: 0.522 MB / 1.63 GB, free: 64.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/5.368, allocations: 2.367 MB / 1.632 GB, free: 62.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/5.371, allocations: 163.8 kB / 1.633 GB, free: 62.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006059/5.371, allocations: 183.4 kB / 1.633 GB, free: 62.01 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.001299/5.373, allocations: 225.8 kB / 1.633 GB, free: 61.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/5.374, allocations: 186.2 kB / 1.633 GB, free: 61.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/5.394, allocations: 4.203 MB / 1.637 GB, free: 61.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/5.394, allocations: 17.34 kB / 1.637 GB, free: 61.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.505e-05/5.394, allocations: 1.625 kB / 1.637 GB, free: 61.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01475/5.409, allocations: 3.464 MB / 1.641 GB, free: 61.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/5.434, allocations: 6.732 MB / 1.647 GB, free: 60.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/5.434, allocations: 9.156 kB / 1.647 GB, free: 60.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/5.436, allocations: 407.1 kB / 1.648 GB, free: 60.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/5.437, allocations: 161.9 kB / 1.648 GB, free: 60.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/5.437, allocations: 70.94 kB / 1.648 GB, free: 60.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/5.439, allocations: 3.032 MB / 1.651 GB, free: 57.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/5.439, allocations: 10.34 kB / 1.651 GB, free: 57.35 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01841/5.458, allocations: 5.214 MB / 1.656 GB, free: 56.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/5.46, allocations: 0.4944 MB / 1.656 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/5.461, allocations: 26.69 kB / 1.656 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/5.464, allocations: 89.38 kB / 1.657 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/5.465, allocations: 146 kB / 1.657 GB, free: 56.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005378/5.465, allocations: 145.4 kB / 1.657 GB, free: 56.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002414/5.468, allocations: 0.7943 MB / 1.658 GB, free: 55.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01317/5.481, allocations: 1.787 MB / 1.659 GB, free: 55.99 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.01184/5.493, allocations: 2.686 MB / 1.662 GB, free: 55.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0114/5.504, allocations: 3.909 MB / 1.666 GB, free: 55.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/5.504, allocations: 0 / 1.666 GB, free: 55.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/5.507, allocations: 1.326 MB / 1.667 GB, free: 55.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005722/5.513, allocations: 0.7352 MB / 1.668 GB, free: 55.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/5.534, allocations: 5.587 MB / 1.673 GB, free: 54.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004372/5.538, allocations: 2.125 MB / 1.675 GB, free: 53.73 MB / 458.7 MB Notification: Performance of SimCode: time 4.037e-06/5.538, allocations: 0 / 1.675 GB, free: 53.73 MB / 458.7 MB Notification: Performance of Templates: time 0.1335/5.672, allocations: 71.43 MB / 1.745 GB, free: 42.29 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)