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.001343/0.001343, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001776/0.001776, allocations: 106.8 kB / 223.2 MB, free: 4.047 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.2389/0.2389, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.188e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.957/2.1, allocations: 0.6483 GB / 1.044 GB, free: 102.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/2.1, allocations: 74.69 kB / 1.045 GB, free: 102.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214/4.314, allocations: 0.5398 GB / 1.584 GB, free: 43.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/4.314, allocations: 3.969 kB / 1.584 GB, free: 43.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002114/4.314, allocations: 56.14 kB / 1.584 GB, free: 43.68 MB / 458.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.01114/4.325, allocations: 3.005 MB / 1.587 GB, free: 42.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/4.325, allocations: 10.16 kB / 1.587 GB, free: 42.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/4.329, allocations: 438.7 kB / 1.588 GB, free: 42.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/4.334, allocations: 1.919 MB / 1.59 GB, free: 41.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/4.335, allocations: 127.2 kB / 1.59 GB, free: 41.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005986/4.335, allocations: 167.4 kB / 1.59 GB, free: 41.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/4.34, allocations: 2.576 MB / 1.592 GB, free: 41.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/4.34, allocations: 5.281 kB / 1.592 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/4.341, allocations: 73.75 kB / 1.593 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002447/4.341, allocations: 157.1 kB / 1.593 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/4.345, allocations: 2.167 MB / 1.595 GB, free: 41.01 MB / 458.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.01422/4.359, allocations: 10.92 MB / 1.605 GB, free: 33.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/4.362, allocations: 1.748 MB / 1.607 GB, free: 32.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/4.363, allocations: 1.023 MB / 1.608 GB, free: 32.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/4.364, allocations: 460.4 kB / 1.609 GB, free: 32.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/4.365, allocations: 1.138 MB / 1.61 GB, free: 31.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 4.329e-06/4.365, allocations: 0 / 1.61 GB, free: 31.72 MB / 458.7 MB 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=181): time 0.02013/4.386, allocations: 8.486 MB / 1.618 GB, free: 26.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/4.386, allocations: 257.3 kB / 1.618 GB, free: 26.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/4.387, allocations: 1.33 MB / 1.62 GB, free: 25.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/4.388, allocations: 61.7 kB / 1.62 GB, free: 25.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/4.388, allocations: 0.8749 MB / 1.62 GB, free: 24.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/4.389, allocations: 0.6128 MB / 1.621 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/4.389, allocations: 44 kB / 1.621 GB, free: 23.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/4.389, allocations: 389.1 kB / 1.622 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/4.39, allocations: 0.9791 MB / 1.622 GB, free: 22.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/4.392, allocations: 1.418 MB / 1.624 GB, free: 21.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/4.394, allocations: 1.258 MB / 1.625 GB, free: 20.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/4.394, allocations: 0 / 1.625 GB, free: 20.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004245/4.398, allocations: 3.025 MB / 1.628 GB, free: 17.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001821/4.4, allocations: 4.284 MB / 1.632 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/4.4, allocations: 12 kB / 1.632 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/4.4, allocations: 190.1 kB / 1.632 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/4.403, allocations: 0.5414 MB / 1.633 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/4.405, allocations: 2.328 MB / 1.635 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/4.407, allocations: 211 kB / 1.635 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/4.407, allocations: 190.9 kB / 1.636 GB, free: 9.434 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/4.407, allocations: 7.953 kB / 1.636 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004704/4.412, allocations: 2.747 MB / 1.638 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/4.412, allocations: 12.03 kB / 1.638 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/4.413, allocations: 190.2 kB / 1.638 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/4.415, allocations: 0.5426 MB / 1.639 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/4.416, allocations: 2.323 MB / 1.641 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/4.419, allocations: 209.1 kB / 1.641 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/4.419, allocations: 187.5 kB / 1.642 GB, free: 3.641 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.000737/4.42, allocations: 292.9 kB / 1.642 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/4.42, allocations: 205.5 kB / 1.642 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/4.428, allocations: 3.476 MB / 1.646 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/4.428, allocations: 20 kB / 1.646 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/4.428, allocations: 0 / 1.646 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/4.431, allocations: 2.721 MB / 1.648 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/4.443, allocations: 6.859 MB / 1.655 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/4.443, allocations: 15.61 kB / 1.655 GB, free: 6.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/4.445, allocations: 447.5 kB / 1.655 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/4.446, allocations: 183.2 kB / 1.656 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/4.446, allocations: 103.9 kB / 1.656 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/4.448, allocations: 3.062 MB / 1.659 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/4.448, allocations: 8.188 kB / 1.659 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3449/4.793, allocations: 4.648 MB / 1.663 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/4.795, allocations: 0.5269 MB / 1.664 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/4.795, allocations: 56.72 kB / 1.664 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/4.797, allocations: 133.9 kB / 1.664 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/4.797, allocations: 172 kB / 1.664 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/4.798, allocations: 171.1 kB / 1.664 GB, free: 56.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001946/4.8, allocations: 0.9997 MB / 1.665 GB, free: 56.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/4.8, allocations: 1.5 kB / 1.665 GB, free: 56.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008614/4.808, allocations: 1.944 MB / 1.667 GB, free: 56.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (196): * Single equations (assignments): 190 * 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.00645/4.815, allocations: 2.425 MB / 1.669 GB, free: 56.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008178/4.823, allocations: 4.216 MB / 1.674 GB, free: 55.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/4.823, allocations: 6.047 kB / 1.674 GB, free: 55.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/4.825, allocations: 1.49 MB / 1.675 GB, free: 55.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/4.83, allocations: 0.9152 MB / 1.676 GB, free: 55.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/4.842, allocations: 5.477 MB / 1.681 GB, free: 54.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/4.843, allocations: 1.716 MB / 1.683 GB, free: 53.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00588/4.849, allocations: 1.532 MB / 1.684 GB, free: 53.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/4.85, allocations: 285.4 kB / 1.685 GB, free: 53.74 MB / 474.7 MB Notification: Performance of SimCode: time 6.82e-07/4.85, allocations: 0 / 1.685 GB, free: 53.74 MB / 474.7 MB Notification: Performance of Templates: time 0.1056/4.956, allocations: 77.94 MB / 1.761 GB, free: 48.84 MB / 474.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)