Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 195.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001267, allocations: 87.3 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.182e-05, allocations: 7.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 63.25 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/1.652, allocations: 0.5624 GB / 1.074 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.652, allocations: 75.97 kB / 1.074 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.741/3.393, allocations: 0.5078 GB / 1.582 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/3.393, allocations: 4 kB / 1.582 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003429/3.394, allocations: 59.98 kB / 1.582 GB, free: 20.68 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01068/3.404, allocations: 2.812 MB / 1.585 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/3.404, allocations: 12.03 kB / 1.585 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/3.406, allocations: 244.8 kB / 1.585 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/3.409, allocations: 444.7 kB / 1.585 GB, free: 17.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/3.415, allocations: 1.934 MB / 1.587 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/3.416, allocations: 131 kB / 1.587 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008768/3.417, allocations: 167.9 kB / 1.587 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/3.421, allocations: 2.601 MB / 1.59 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/3.421, allocations: 11.84 kB / 1.59 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/3.422, allocations: 75.97 kB / 1.59 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/3.422, allocations: 150.9 kB / 1.59 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/3.425, allocations: 2.202 MB / 1.592 GB, free: 9.621 MB / 0.5417 GB 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.01273/3.438, allocations: 11.1 MB / 1.603 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/3.44, allocations: 1.763 MB / 1.605 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/3.442, allocations: 1.052 MB / 1.606 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009146/3.443, allocations: 0.5105 MB / 1.606 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/3.445, allocations: 1.279 MB / 1.608 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=162): time 2.905e-06/3.445, allocations: 0 / 1.608 GB, free: 8.914 MB / 0.5573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02164/3.466, allocations: 8.706 MB / 1.616 GB, free: 80 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3602/3.827, allocations: 360.8 kB / 1.616 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/3.829, allocations: 1.397 MB / 1.618 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008553/3.83, allocations: 66.86 kB / 1.618 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/3.831, allocations: 0.8655 MB / 1.619 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008136/3.832, allocations: 0.6201 MB / 1.619 GB, free: 60.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/3.832, allocations: 40.28 kB / 1.619 GB, free: 60.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001721/3.832, allocations: 384 kB / 1.62 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/3.834, allocations: 1.005 MB / 1.621 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/3.836, allocations: 1.435 MB / 1.622 GB, free: 59.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/3.838, allocations: 1.271 MB / 1.623 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/3.838, allocations: 2.969 kB / 1.623 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005001/3.843, allocations: 3.086 MB / 1.626 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007628/3.844, allocations: 3.773 MB / 1.63 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/3.844, allocations: 10.06 kB / 1.63 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/3.845, allocations: 190.3 kB / 1.63 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/3.847, allocations: 0.5415 MB / 1.631 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/3.848, allocations: 2.324 MB / 1.633 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/3.85, allocations: 212.8 kB / 1.633 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/3.85, allocations: 193.5 kB / 1.633 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/3.85, allocations: 3.844 kB / 1.633 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004212/3.855, allocations: 2.804 MB / 1.636 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/3.855, allocations: 9.219 kB / 1.636 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/3.855, allocations: 195.5 kB / 1.636 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/3.857, allocations: 0.5271 MB / 1.637 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/3.858, allocations: 2.324 MB / 1.639 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/3.86, allocations: 214.1 kB / 1.639 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/3.861, allocations: 187.5 kB / 1.64 GB, free: 51.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * 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.0007364/3.862, allocations: 298.7 kB / 1.64 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/3.862, allocations: 216.5 kB / 1.64 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009108/3.871, allocations: 4.605 MB / 1.645 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/3.871, allocations: 19.5 kB / 1.645 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/3.871, allocations: 0 / 1.645 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004071/3.875, allocations: 2.74 MB / 1.647 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/3.887, allocations: 6.982 MB / 1.654 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/3.887, allocations: 8.359 kB / 1.654 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/3.888, allocations: 434.9 kB / 1.655 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/3.889, allocations: 186.7 kB / 1.655 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/3.889, allocations: 110.5 kB / 1.655 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/3.891, allocations: 3.069 MB / 1.658 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/3.891, allocations: 10.05 kB / 1.658 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/3.897, allocations: 4.72 MB / 1.662 GB, free: 44.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/3.898, allocations: 0.5364 MB / 1.663 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/3.898, allocations: 64.89 kB / 1.663 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/3.9, allocations: 129.5 kB / 1.663 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/3.9, allocations: 175.8 kB / 1.663 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/3.9, allocations: 165 kB / 1.663 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001566/3.902, allocations: 1.087 MB / 1.665 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/3.902, allocations: 2.656 kB / 1.665 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00567/3.907, allocations: 1.814 MB / 1.666 GB, free: 43.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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.01166/3.919, allocations: 9.071 MB / 1.675 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006441/3.925, allocations: 4.319 MB / 1.679 GB, free: 39.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/3.926, allocations: 3 kB / 1.679 GB, free: 39.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/3.927, allocations: 1.503 MB / 1.681 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/3.932, allocations: 0.9791 MB / 1.682 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/3.942, allocations: 4.984 MB / 1.687 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/3.943, allocations: 1.721 MB / 1.688 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007157/3.95, allocations: 3.228 MB / 1.691 GB, free: 37.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/3.952, allocations: 0.9932 MB / 1.692 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/3.952, allocations: 0 / 1.692 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/4.095, allocations: 101.3 MB / 1.791 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/4.095, allocations: 232.4 kB / 1.792 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.944/9.04, allocations: 0 / 1.792 GB, free: 9.641 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)