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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001516/0.001516, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.596/1.596, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001582/0.001582, allocations: 102.8 kB / 218 MB, free: 15.33 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.2286/0.2286, allocations: 37.96 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.362e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3948, allocations: 48.69 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.189/2.584, allocations: 0.6476 GB / 1.037 GB, free: 101.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/2.584, allocations: 79.95 kB / 1.037 GB, free: 101.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.4/4.984, allocations: 0.5344 GB / 1.572 GB, free: 30.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/4.984, allocations: 0 / 1.572 GB, free: 30.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004214/4.984, allocations: 61.53 kB / 1.572 GB, free: 30.8 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.01469/4.999, allocations: 3.004 MB / 1.575 GB, free: 29.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/4.999, allocations: 6.5 kB / 1.575 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/5.004, allocations: 444.4 kB / 1.575 GB, free: 29.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007782/5.011, allocations: 1.921 MB / 1.577 GB, free: 28.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/5.012, allocations: 62.58 kB / 1.577 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/5.013, allocations: 100.5 kB / 1.577 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006038/5.019, allocations: 2.098 MB / 1.579 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/5.025, allocations: 2.34 MB / 1.581 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/5.025, allocations: 3.562 kB / 1.581 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/5.025, allocations: 7.438 kB / 1.581 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/5.025, allocations: 150.3 kB / 1.581 GB, free: 28.5 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.01562/5.041, allocations: 10.7 MB / 1.592 GB, free: 22.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/5.044, allocations: 1.71 MB / 1.594 GB, free: 22.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/5.045, allocations: 0.9422 MB / 1.595 GB, free: 22.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/5.046, allocations: 452.6 kB / 1.595 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/5.048, allocations: 1.033 MB / 1.596 GB, free: 21.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 2.916e-06/5.048, allocations: 1.594 kB / 1.596 GB, free: 21.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=172): time 0.03803/5.086, allocations: 9.348 MB / 1.605 GB, free: 21.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/5.086, allocations: 262.5 kB / 1.605 GB, free: 20.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/5.088, allocations: 1.069 MB / 1.606 GB, free: 20.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/5.088, allocations: 32.23 kB / 1.606 GB, free: 20.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/5.089, allocations: 0.8986 MB / 1.607 GB, free: 20.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000607/5.09, allocations: 0.5687 MB / 1.608 GB, free: 19.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/5.09, allocations: 3.188 kB / 1.608 GB, free: 19.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/5.09, allocations: 387.6 kB / 1.608 GB, free: 19.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/5.091, allocations: 0.9537 MB / 1.609 GB, free: 19.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/5.093, allocations: 1.394 MB / 1.61 GB, free: 19.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009124/5.102, allocations: 2.303 MB / 1.613 GB, free: 19.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/5.102, allocations: 2.875 kB / 1.613 GB, free: 19.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0118/5.114, allocations: 3.943 MB / 1.617 GB, free: 18.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009374/5.115, allocations: 4.233 MB / 1.621 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/5.115, allocations: 8.812 kB / 1.621 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/5.116, allocations: 174.5 kB / 1.621 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/5.118, allocations: 0.5436 MB / 1.621 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/5.119, allocations: 2.343 MB / 1.624 GB, free: 28.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/5.122, allocations: 181.1 kB / 1.624 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/5.122, allocations: 188.8 kB / 1.624 GB, free: 28.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/5.122, allocations: 3.531 kB / 1.624 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/5.132, allocations: 3.455 MB / 1.627 GB, free: 28.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/5.132, allocations: 14.5 kB / 1.627 GB, free: 28.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/5.133, allocations: 168.8 kB / 1.628 GB, free: 28.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/5.135, allocations: 0.5385 MB / 1.628 GB, free: 28.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/5.136, allocations: 2.34 MB / 1.63 GB, free: 26.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/5.139, allocations: 178.6 kB / 1.631 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/5.139, allocations: 182.2 kB / 1.631 GB, free: 26.12 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.000746/5.14, allocations: 229.3 kB / 1.631 GB, free: 25.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/5.14, allocations: 184.3 kB / 1.631 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/5.153, allocations: 3.903 MB / 1.635 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/5.153, allocations: 18.69 kB / 1.635 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/5.153, allocations: 0 / 1.635 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01029/5.164, allocations: 3.408 MB / 1.638 GB, free: 24.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/5.181, allocations: 6.882 MB / 1.645 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/5.181, allocations: 4 kB / 1.645 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/5.182, allocations: 409.3 kB / 1.645 GB, free: 21.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/5.183, allocations: 172.1 kB / 1.646 GB, free: 21.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/5.183, allocations: 67.53 kB / 1.646 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/5.185, allocations: 3.027 MB / 1.649 GB, free: 18.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/5.185, allocations: 11.95 kB / 1.649 GB, free: 18.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/5.197, allocations: 5.095 MB / 1.654 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/5.199, allocations: 0.4942 MB / 1.654 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/5.199, allocations: 23.84 kB / 1.654 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/5.2, allocations: 94.44 kB / 1.654 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/5.2, allocations: 159.9 kB / 1.654 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/5.201, allocations: 142.2 kB / 1.655 GB, free: 12.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001146/5.202, allocations: 0.7931 MB / 1.655 GB, free: 12 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/5.202, allocations: 0 / 1.655 GB, free: 12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006523/5.208, allocations: 1.781 MB / 1.657 GB, free: 10.26 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.006747/5.215, allocations: 2.659 MB / 1.66 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007014/5.222, allocations: 4.004 MB / 1.664 GB, free: 4.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/5.222, allocations: 0 / 1.664 GB, free: 4.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/5.224, allocations: 1.364 MB / 1.665 GB, free: 3.223 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/5.229, allocations: 0.7737 MB / 1.666 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/5.242, allocations: 5.399 MB / 1.671 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/5.244, allocations: 1.713 MB / 1.673 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006315/5.25, allocations: 1.403 MB / 1.674 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/5.251, allocations: 255.8 kB / 1.674 GB, free: 11.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/5.251, allocations: 0 / 1.674 GB, free: 11.62 MB / 474.7 MB Notification: Performance of Templates: time 0.4679/5.719, allocations: 58.57 MB / 1.731 GB, free: 54.21 MB / 474.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)