Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|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.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|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.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.403/1.403, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 85.88 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.188e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1665, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.697/1.863, allocations: 0.5614 GB / 1.063 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004022/1.864, allocations: 79.95 kB / 1.063 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.428/4.292, allocations: 0.5061 GB / 1.569 GB, free: 52.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.294e-06/4.292, allocations: 0 / 1.569 GB, free: 52.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002332/4.292, allocations: 64.7 kB / 1.569 GB, free: 52.3 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.01107/4.303, allocations: 2.807 MB / 1.572 GB, free: 51.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/4.303, allocations: 12.78 kB / 1.572 GB, free: 51.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/4.307, allocations: 440.7 kB / 1.572 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/4.314, allocations: 1.931 MB / 1.574 GB, free: 50.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/4.314, allocations: 129.3 kB / 1.574 GB, free: 50.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007281/4.315, allocations: 163.6 kB / 1.575 GB, free: 50.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/4.32, allocations: 2.607 MB / 1.577 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/4.32, allocations: 1.906 kB / 1.577 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/4.32, allocations: 78.73 kB / 1.577 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/4.32, allocations: 151.5 kB / 1.577 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/4.324, allocations: 2.195 MB / 1.58 GB, free: 50.49 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.01651/4.341, allocations: 11.02 MB / 1.59 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/4.344, allocations: 1.772 MB / 1.592 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/4.345, allocations: 1.053 MB / 1.593 GB, free: 44.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/4.346, allocations: 0.5124 MB / 1.594 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/4.348, allocations: 1.272 MB / 1.595 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 4.068e-06/4.348, allocations: 2.406 kB / 1.595 GB, free: 43.7 MB / 0.5417 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.02126/4.369, allocations: 8.694 MB / 1.603 GB, free: 42.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/4.369, allocations: 366.6 kB / 1.604 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/4.372, allocations: 1.401 MB / 1.605 GB, free: 42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/4.372, allocations: 63.14 kB / 1.605 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/4.372, allocations: 0.8717 MB / 1.606 GB, free: 41.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/4.373, allocations: 0.6219 MB / 1.607 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/4.373, allocations: 41.72 kB / 1.607 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001179/4.373, allocations: 386.9 kB / 1.607 GB, free: 40.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/4.375, allocations: 0.9981 MB / 1.608 GB, free: 40.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/4.377, allocations: 1.446 MB / 1.609 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/4.378, allocations: 1.271 MB / 1.611 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/4.378, allocations: 0 / 1.611 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00499/4.383, allocations: 3.076 MB / 1.614 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009235/4.384, allocations: 3.774 MB / 1.617 GB, free: 36.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/4.384, allocations: 11.66 kB / 1.617 GB, free: 36.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/4.385, allocations: 192.8 kB / 1.617 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/4.387, allocations: 0.5354 MB / 1.618 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/4.388, allocations: 2.329 MB / 1.62 GB, free: 34.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/4.391, allocations: 212.2 kB / 1.62 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/4.391, allocations: 188.5 kB / 1.621 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/4.391, allocations: 7.609 kB / 1.621 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00427/4.395, allocations: 2.806 MB / 1.623 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/4.395, allocations: 7.812 kB / 1.623 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/4.396, allocations: 192.8 kB / 1.624 GB, free: 33.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/4.398, allocations: 0.5338 MB / 1.624 GB, free: 33.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/4.399, allocations: 2.332 MB / 1.626 GB, free: 31.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/4.401, allocations: 216.2 kB / 1.627 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/4.402, allocations: 185.4 kB / 1.627 GB, free: 31.86 MB / 0.5417 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.0007898/4.403, allocations: 293.7 kB / 1.627 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/4.403, allocations: 212 kB / 1.627 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007754/4.411, allocations: 4.607 MB / 1.632 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/4.411, allocations: 21.92 kB / 1.632 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/4.411, allocations: 0 / 1.632 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003503/4.414, allocations: 2.744 MB / 1.634 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/4.427, allocations: 6.984 MB / 1.641 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/4.428, allocations: 14.22 kB / 1.641 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/4.429, allocations: 428.6 kB / 1.642 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/4.43, allocations: 194.8 kB / 1.642 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/4.43, allocations: 103.9 kB / 1.642 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/4.432, allocations: 3.066 MB / 1.645 GB, free: 26.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/4.432, allocations: 12.06 kB / 1.645 GB, free: 26.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/4.439, allocations: 4.726 MB / 1.65 GB, free: 24.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/4.44, allocations: 0.5403 MB / 1.65 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009305/4.441, allocations: 59.92 kB / 1.65 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/4.444, allocations: 131.1 kB / 1.65 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/4.444, allocations: 169.6 kB / 1.65 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003546/4.444, allocations: 167.9 kB / 1.651 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002352/4.447, allocations: 1.092 MB / 1.652 GB, free: 24.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/4.447, allocations: 0 / 1.652 GB, free: 24.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008765/4.456, allocations: 1.795 MB / 1.653 GB, free: 24.31 MB / 0.5417 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.006927/4.463, allocations: 2.132 MB / 1.656 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01102/4.474, allocations: 4.314 MB / 1.66 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/4.474, allocations: 2.156 kB / 1.66 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/4.477, allocations: 1.505 MB / 1.661 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006264/4.483, allocations: 0.9824 MB / 1.662 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/4.493, allocations: 4.093 MB / 1.666 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/4.495, allocations: 1.729 MB / 1.668 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007857/4.502, allocations: 3.216 MB / 1.671 GB, free: 21.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/4.504, allocations: 327.7 kB / 1.671 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/4.504, allocations: 0 / 1.671 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.1249/4.629, allocations: 77.91 MB / 1.747 GB, free: 9.016 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)