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.001527/0.001527, allocations: 169.5 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.549/1.549, 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.001851/0.001851, allocations: 103.5 kB / 223.2 MB, free: 4.051 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.2045/0.2045, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.478e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.926/2.04, allocations: 0.6483 GB / 1.044 GB, free: 102.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/2.041, allocations: 78.69 kB / 1.045 GB, free: 102.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.202/4.243, allocations: 0.5399 GB / 1.584 GB, free: 43.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/4.243, allocations: 3.938 kB / 1.584 GB, free: 43.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002284/4.243, allocations: 65.44 kB / 1.584 GB, free: 43.72 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.01155/4.255, allocations: 3.003 MB / 1.587 GB, free: 42.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/4.255, allocations: 11.09 kB / 1.587 GB, free: 42.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/4.258, allocations: 435.4 kB / 1.588 GB, free: 42.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/4.264, allocations: 1.92 MB / 1.59 GB, free: 41.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/4.264, allocations: 130.4 kB / 1.59 GB, free: 41.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005702/4.265, allocations: 168.8 kB / 1.59 GB, free: 41.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/4.269, allocations: 2.561 MB / 1.593 GB, free: 41.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/4.269, allocations: 19.86 kB / 1.593 GB, free: 41.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/4.27, allocations: 71.98 kB / 1.593 GB, free: 41.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/4.27, allocations: 153 kB / 1.593 GB, free: 41.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/4.273, allocations: 2.163 MB / 1.595 GB, free: 41.05 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.01681/4.29, allocations: 10.92 MB / 1.606 GB, free: 33.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/4.294, allocations: 1.755 MB / 1.607 GB, free: 32.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/4.296, allocations: 1.022 MB / 1.608 GB, free: 32.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009587/4.296, allocations: 458.1 kB / 1.609 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/4.298, allocations: 1.147 MB / 1.61 GB, free: 31.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 5.19e-06/4.298, allocations: 0 / 1.61 GB, free: 31.8 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.02196/4.32, allocations: 8.474 MB / 1.618 GB, free: 26.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/4.32, allocations: 257.3 kB / 1.618 GB, free: 26.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/4.322, allocations: 1.331 MB / 1.62 GB, free: 25.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/4.322, allocations: 61.7 kB / 1.62 GB, free: 25.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/4.323, allocations: 0.8701 MB / 1.621 GB, free: 24.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/4.323, allocations: 0.6119 MB / 1.621 GB, free: 24.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/4.324, allocations: 44 kB / 1.621 GB, free: 23.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/4.324, allocations: 384.5 kB / 1.622 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/4.325, allocations: 0.9826 MB / 1.622 GB, free: 22.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/4.327, allocations: 1.422 MB / 1.624 GB, free: 21.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/4.328, allocations: 1.252 MB / 1.625 GB, free: 20.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/4.328, allocations: 4 kB / 1.625 GB, free: 20.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004497/4.333, allocations: 3.018 MB / 1.628 GB, free: 17.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001566/4.334, allocations: 4.291 MB / 1.632 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/4.334, allocations: 12 kB / 1.632 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/4.335, allocations: 195.2 kB / 1.632 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/4.337, allocations: 0.5379 MB / 1.633 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/4.339, allocations: 2.336 MB / 1.635 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/4.341, allocations: 215.6 kB / 1.635 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/4.342, allocations: 186.6 kB / 1.636 GB, free: 9.477 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/4.342, allocations: 7.953 kB / 1.636 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005011/4.347, allocations: 2.745 MB / 1.638 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/4.347, allocations: 12 kB / 1.638 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/4.347, allocations: 199.5 kB / 1.639 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/4.349, allocations: 0.5343 MB / 1.639 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/4.351, allocations: 2.329 MB / 1.641 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/4.354, allocations: 203.3 kB / 1.641 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/4.354, allocations: 185.3 kB / 1.642 GB, free: 3.691 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.0009977/4.355, allocations: 291 kB / 1.642 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/4.356, allocations: 209.5 kB / 1.642 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008306/4.364, allocations: 3.478 MB / 1.646 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/4.364, allocations: 23.09 kB / 1.646 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/4.364, allocations: 4 kB / 1.646 GB, free: 200 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004471/4.369, allocations: 2.717 MB / 1.648 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/4.384, allocations: 6.852 MB / 1.655 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/4.384, allocations: 4 kB / 1.655 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/4.386, allocations: 452.1 kB / 1.655 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/4.387, allocations: 187.2 kB / 1.656 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/4.387, allocations: 103.9 kB / 1.656 GB, free: 5.738 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/4.39, allocations: 3.066 MB / 1.659 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/4.39, allocations: 8 kB / 1.659 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.344/4.734, allocations: 4.649 MB / 1.663 GB, free: 56.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/4.735, allocations: 0.5199 MB / 1.664 GB, free: 56.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/4.736, allocations: 58.92 kB / 1.664 GB, free: 56.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/4.737, allocations: 134.1 kB / 1.664 GB, free: 56.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/4.738, allocations: 174.1 kB / 1.664 GB, free: 56.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/4.738, allocations: 168.2 kB / 1.664 GB, free: 56.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001498/4.739, allocations: 1.004 MB / 1.665 GB, free: 56.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/4.739, allocations: 0 / 1.665 GB, free: 56.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007194/4.747, allocations: 1.944 MB / 1.667 GB, free: 56.47 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.006208/4.753, allocations: 2.43 MB / 1.669 GB, free: 56.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007962/4.761, allocations: 4.22 MB / 1.674 GB, free: 55.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/4.761, allocations: 3.453 kB / 1.674 GB, free: 55.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/4.763, allocations: 1.491 MB / 1.675 GB, free: 55.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/4.768, allocations: 0.9086 MB / 1.676 GB, free: 55.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/4.779, allocations: 5.475 MB / 1.681 GB, free: 54.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/4.781, allocations: 1.718 MB / 1.683 GB, free: 53.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007708/4.789, allocations: 1.524 MB / 1.684 GB, free: 53.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/4.79, allocations: 292 kB / 1.685 GB, free: 53.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/4.79, allocations: 1.469 kB / 1.685 GB, free: 53.93 MB / 474.7 MB Notification: Performance of Templates: time 0.1036/4.893, allocations: 77.95 MB / 1.761 GB, free: 49.04 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)