Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 182.5 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 102.1 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3037/0.3037, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 61.88 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8734/1.17, allocations: 0.5618 GB / 1.073 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.17, allocations: 82.77 kB / 1.073 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.792/2.962, allocations: 0.5615 GB / 1.634 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/2.962, allocations: 0 / 1.634 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002419/2.963, allocations: 68.39 kB / 1.634 GB, free: 38.82 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.009462/2.972, allocations: 3.237 MB / 1.637 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/2.972, allocations: 15.75 kB / 1.637 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/2.975, allocations: 460.1 kB / 1.638 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007698/2.983, allocations: 3.295 MB / 1.641 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/2.983, allocations: 145.7 kB / 1.641 GB, free: 35.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008235/2.984, allocations: 176.8 kB / 1.641 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006017/2.99, allocations: 2.791 MB / 1.644 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/2.99, allocations: 7.266 kB / 1.644 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/2.991, allocations: 78.62 kB / 1.644 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/2.991, allocations: 158.3 kB / 1.644 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/2.995, allocations: 2.361 MB / 1.647 GB, free: 32.67 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01395/3.009, allocations: 11.59 MB / 1.658 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/3.012, allocations: 1.888 MB / 1.66 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/3.013, allocations: 1.142 MB / 1.661 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/3.014, allocations: 0.5182 MB / 1.661 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/3.016, allocations: 1.366 MB / 1.663 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 3.487e-06/3.016, allocations: 0 / 1.663 GB, free: 15.46 MB / 0.5261 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 4: junctionIdeal.medium.T 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.028/3.044, allocations: 12.15 MB / 1.675 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/3.044, allocations: 360.1 kB / 1.675 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/3.046, allocations: 1.682 MB / 1.677 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000304/3.047, allocations: 73.7 kB / 1.677 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/3.047, allocations: 0.9022 MB / 1.678 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/3.048, allocations: 0.6739 MB / 1.678 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/3.048, allocations: 44 kB / 1.678 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001859/3.048, allocations: 394.5 kB / 1.679 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/3.05, allocations: 1.101 MB / 1.68 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/3.053, allocations: 1.599 MB / 1.681 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/3.057, allocations: 2.815 MB / 1.684 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/3.057, allocations: 7.938 kB / 1.684 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006329/3.063, allocations: 3.411 MB / 1.687 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003531/3.064, allocations: 476 kB / 1.688 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/3.064, allocations: 8 kB / 1.688 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/3.065, allocations: 312 kB / 1.688 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/3.067, allocations: 0.5656 MB / 1.689 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/3.069, allocations: 3.012 MB / 1.692 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/3.072, allocations: 223.6 kB / 1.692 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005025/3.072, allocations: 203.9 kB / 1.692 GB, free: 448 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/3.072, allocations: 4 kB / 1.692 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006351/3.079, allocations: 3.139 MB / 1.695 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/3.079, allocations: 8.531 kB / 1.695 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007572/3.08, allocations: 312.1 kB / 1.695 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/3.082, allocations: 0.5578 MB / 1.696 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/3.084, allocations: 3.004 MB / 1.699 GB, free: 9.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/3.087, allocations: 227.6 kB / 1.699 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/3.088, allocations: 200 kB / 1.699 GB, free: 8.828 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002279/3.09, allocations: 0.7065 MB / 1.7 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/3.091, allocations: 233.2 kB / 1.7 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/3.101, allocations: 4.849 MB / 1.705 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/3.101, allocations: 20 kB / 1.705 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/3.101, allocations: 0 / 1.705 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2733/3.375, allocations: 3.054 MB / 1.708 GB, free: 68.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/3.386, allocations: 7.319 MB / 1.715 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/3.386, allocations: 5.344 kB / 1.715 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/3.388, allocations: 470.9 kB / 1.716 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008107/3.389, allocations: 318.1 kB / 1.716 GB, free: 67.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/3.389, allocations: 114.8 kB / 1.716 GB, free: 67.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/3.391, allocations: 3.747 MB / 1.72 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/3.391, allocations: 12.42 kB / 1.72 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00706/3.398, allocations: 4.71 MB / 1.724 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/3.399, allocations: 0.575 MB / 1.725 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/3.4, allocations: 67.98 kB / 1.725 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/3.401, allocations: 140.5 kB / 1.725 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/3.402, allocations: 191.1 kB / 1.725 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/3.402, allocations: 193.7 kB / 1.725 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001404/3.403, allocations: 1.122 MB / 1.726 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/3.403, allocations: 0 / 1.726 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005439/3.409, allocations: 1.852 MB / 1.728 GB, free: 63.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 9 (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,junctionVolume.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 199 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004416/3.413, allocations: 2.196 MB / 1.73 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008339/3.422, allocations: 4.654 MB / 1.735 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/3.422, allocations: 1.25 kB / 1.735 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/3.425, allocations: 1.666 MB / 1.737 GB, free: 62.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008135/3.433, allocations: 1.147 MB / 1.738 GB, free: 62.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008952/3.442, allocations: 6.012 MB / 1.744 GB, free: 60.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/3.443, allocations: 1.722 MB / 1.745 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007948/3.451, allocations: 3.118 MB / 1.748 GB, free: 59.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/3.453, allocations: 375.1 kB / 1.749 GB, free: 59.21 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/3.453, allocations: 0 / 1.749 GB, free: 59.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.0997/3.553, allocations: 78.33 MB / 1.825 GB, free: 54.96 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)