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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001492/0.001492, allocations: 171.9 kB / 7.638 MB, free: 1.418 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.7/1.7, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001923/0.001923, allocations: 107.5 kB / 218 MB, free: 8.398 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.2244/0.2244, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.555e-05, allocations: 3.219 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.105/2.23, allocations: 0.6476 GB / 1.037 GB, free: 73.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/2.231, allocations: 79.91 kB / 1.037 GB, free: 73.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.3/4.531, allocations: 0.5344 GB / 1.571 GB, free: 27.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/4.531, allocations: 0 / 1.571 GB, free: 27.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001903/4.531, allocations: 71.05 kB / 1.572 GB, free: 27.23 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.0107/4.542, allocations: 2.998 MB / 1.574 GB, free: 24.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/4.542, allocations: 12.03 kB / 1.575 GB, free: 24.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/4.546, allocations: 440.7 kB / 1.575 GB, free: 23.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006082/4.552, allocations: 1.923 MB / 1.577 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/4.552, allocations: 52 kB / 1.577 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/4.552, allocations: 103.9 kB / 1.577 GB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003267/4.556, allocations: 2.099 MB / 1.579 GB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/4.559, allocations: 2.343 MB / 1.581 GB, free: 17.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/4.559, allocations: 11.92 kB / 1.581 GB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/4.559, allocations: 4 kB / 1.581 GB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/4.559, allocations: 158.9 kB / 1.581 GB, free: 16.88 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/4.572, allocations: 10.69 MB / 1.592 GB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/4.574, allocations: 1.701 MB / 1.594 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/4.575, allocations: 0.9449 MB / 1.594 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/4.576, allocations: 462 kB / 1.595 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/4.577, allocations: 1.032 MB / 1.596 GB, free: 1.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 4.088e-06/4.577, allocations: 3.938 kB / 1.596 GB, free: 1.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=172): time 0.04068/4.618, allocations: 9.345 MB / 1.605 GB, free: 7.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/4.618, allocations: 264.6 kB / 1.605 GB, free: 7.539 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/4.621, allocations: 1.068 MB / 1.606 GB, free: 6.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004893/4.622, allocations: 29.7 kB / 1.606 GB, free: 6.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/4.623, allocations: 0.9064 MB / 1.607 GB, free: 5.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000907/4.624, allocations: 0.5582 MB / 1.608 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/4.624, allocations: 4 kB / 1.608 GB, free: 4.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002562/4.624, allocations: 390 kB / 1.608 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/4.626, allocations: 0.9528 MB / 1.609 GB, free: 3.602 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/4.628, allocations: 1.383 MB / 1.61 GB, free: 2.051 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4316/5.06, allocations: 2.302 MB / 1.613 GB, free: 45.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-05/5.06, allocations: 3.969 kB / 1.613 GB, free: 45.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0149/5.075, allocations: 3.942 MB / 1.617 GB, free: 45.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001161/5.076, allocations: 4.241 MB / 1.621 GB, free: 41.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/5.076, allocations: 10.41 kB / 1.621 GB, free: 41.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/5.076, allocations: 170.9 kB / 1.621 GB, free: 41.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/5.079, allocations: 0.5443 MB / 1.621 GB, free: 41.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/5.081, allocations: 2.346 MB / 1.624 GB, free: 39.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/5.084, allocations: 172.8 kB / 1.624 GB, free: 39.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/5.084, allocations: 193 kB / 1.624 GB, free: 39.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/5.084, allocations: 4.062 kB / 1.624 GB, free: 39.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01282/5.097, allocations: 3.464 MB / 1.627 GB, free: 38.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/5.097, allocations: 11.88 kB / 1.627 GB, free: 38.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/5.097, allocations: 167 kB / 1.628 GB, free: 38.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/5.1, allocations: 0.5387 MB / 1.628 GB, free: 38.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/5.101, allocations: 2.349 MB / 1.63 GB, free: 36.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/5.103, allocations: 167.3 kB / 1.631 GB, free: 36.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/5.104, allocations: 188.9 kB / 1.631 GB, free: 36.86 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 (250): * Single equations (assignments): 244 * 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.0008558/5.105, allocations: 219.6 kB / 1.631 GB, free: 36.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/5.105, allocations: 191.9 kB / 1.631 GB, free: 36.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/5.119, allocations: 3.904 MB / 1.635 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/5.119, allocations: 24.7 kB / 1.635 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/5.119, allocations: 0 / 1.635 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01144/5.131, allocations: 3.397 MB / 1.638 GB, free: 36.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/5.152, allocations: 6.878 MB / 1.645 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/5.152, allocations: 5.438 kB / 1.645 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/5.154, allocations: 417.2 kB / 1.645 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/5.155, allocations: 168.5 kB / 1.646 GB, free: 34.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/5.155, allocations: 71.25 kB / 1.646 GB, free: 34.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/5.157, allocations: 3.026 MB / 1.649 GB, free: 32.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/5.157, allocations: 10.38 kB / 1.649 GB, free: 32.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/5.173, allocations: 5.094 MB / 1.654 GB, free: 31.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/5.174, allocations: 0.491 MB / 1.654 GB, free: 30.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00077/5.175, allocations: 23.62 kB / 1.654 GB, free: 30.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/5.177, allocations: 94.38 kB / 1.654 GB, free: 30.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/5.178, allocations: 157 kB / 1.654 GB, free: 30.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003448/5.178, allocations: 148.2 kB / 1.654 GB, free: 30.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001871/5.18, allocations: 0.7935 MB / 1.655 GB, free: 30.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.21e-07/5.18, allocations: 1.031 kB / 1.655 GB, free: 30.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01/5.19, allocations: 1.782 MB / 1.657 GB, free: 30.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (184): * Single equations (assignments): 178 * 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.009957/5.2, allocations: 2.647 MB / 1.66 GB, free: 30.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/5.21, allocations: 4 MB / 1.663 GB, free: 30.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/5.21, allocations: 3.844 kB / 1.663 GB, free: 30.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/5.213, allocations: 1.361 MB / 1.665 GB, free: 30.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/5.218, allocations: 0.7701 MB / 1.666 GB, free: 30.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/5.232, allocations: 5.381 MB / 1.671 GB, free: 29.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/5.233, allocations: 1.714 MB / 1.673 GB, free: 28.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005827/5.239, allocations: 1.406 MB / 1.674 GB, free: 28.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009492/5.24, allocations: 256.1 kB / 1.674 GB, free: 28.3 MB / 458.7 MB Notification: Performance of SimCode: time 3.677e-06/5.24, allocations: 0 / 1.674 GB, free: 28.3 MB / 458.7 MB Notification: Performance of Templates: time 0.08799/5.328, allocations: 58.59 MB / 1.731 GB, free: 21.35 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)