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.001091/0.001091, allocations: 180.1 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.44/1.44, allocations: 221.3 MB / 236 MB, free: 2.984 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.001052/0.001052, allocations: 91.53 kB / 287 MB, free: 264 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.2516/0.2516, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.266e-05, allocations: 4.219 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1757, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.733/1.909, allocations: 0.5614 GB / 1.063 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.909, allocations: 81.23 kB / 1.063 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/4.379, allocations: 0.5634 GB / 1.627 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.013e-06/4.379, allocations: 1.844 kB / 1.627 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002108/4.38, allocations: 62.86 kB / 1.627 GB, free: 49.29 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01106/4.391, allocations: 2.94 MB / 1.63 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/4.391, allocations: 10.53 kB / 1.63 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/4.395, allocations: 459.1 kB / 1.63 GB, free: 47.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/4.401, allocations: 2.003 MB / 1.632 GB, free: 47.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/4.401, allocations: 137.4 kB / 1.632 GB, free: 47.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/4.401, allocations: 181.2 kB / 1.632 GB, free: 47.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/4.407, allocations: 2.725 MB / 1.635 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/4.407, allocations: 3.531 kB / 1.635 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/4.408, allocations: 77.8 kB / 1.635 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/4.408, allocations: 158.5 kB / 1.635 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/4.412, allocations: 2.292 MB / 1.637 GB, free: 47.04 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.01671/4.429, allocations: 11.61 MB / 1.649 GB, free: 40.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/4.432, allocations: 1.842 MB / 1.651 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/4.434, allocations: 1.108 MB / 1.652 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009699/4.435, allocations: 0.5072 MB / 1.652 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/4.437, allocations: 1.34 MB / 1.653 GB, free: 39.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 5.421e-06/4.437, allocations: 0 / 1.653 GB, free: 39.81 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 4: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02613/4.463, allocations: 9.685 MB / 1.663 GB, free: 38.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/4.463, allocations: 360.8 kB / 1.663 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/4.466, allocations: 1.467 MB / 1.665 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003514/4.466, allocations: 63.64 kB / 1.665 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/4.467, allocations: 0.9086 MB / 1.666 GB, free: 37.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006703/4.468, allocations: 0.679 MB / 1.666 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/4.468, allocations: 42.28 kB / 1.666 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001623/4.468, allocations: 393.9 kB / 1.667 GB, free: 36.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/4.47, allocations: 1.05 MB / 1.668 GB, free: 36.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/4.472, allocations: 1.541 MB / 1.669 GB, free: 36.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/4.474, allocations: 1.328 MB / 1.671 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/4.474, allocations: 3.875 kB / 1.671 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0057/4.479, allocations: 3.316 MB / 1.674 GB, free: 35.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0014/4.481, allocations: 4.341 MB / 1.678 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/4.481, allocations: 11.25 kB / 1.678 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008434/4.482, allocations: 300.2 kB / 1.678 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/4.484, allocations: 0.569 MB / 1.679 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/4.486, allocations: 2.998 MB / 1.682 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/4.489, allocations: 224 kB / 1.682 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/4.489, allocations: 211.7 kB / 1.682 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/4.489, allocations: 7.922 kB / 1.682 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005452/4.495, allocations: 3.031 MB / 1.685 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/4.495, allocations: 10.44 kB / 1.685 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/4.496, allocations: 310.5 kB / 1.686 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/4.498, allocations: 0.5597 MB / 1.686 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/4.499, allocations: 2.998 MB / 1.689 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/4.502, allocations: 216.8 kB / 1.689 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/4.502, allocations: 205.1 kB / 1.689 GB, free: 25.73 MB / 0.5417 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 () * 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.000796/4.503, allocations: 307.5 kB / 1.69 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/4.504, allocations: 231.8 kB / 1.69 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008375/4.512, allocations: 4.782 MB / 1.695 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/4.512, allocations: 19.56 kB / 1.695 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/4.512, allocations: 3.594 kB / 1.695 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00398/4.516, allocations: 2.984 MB / 1.698 GB, free: 22.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/4.529, allocations: 7.244 MB / 1.705 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/4.529, allocations: 3.875 kB / 1.705 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/4.531, allocations: 468.7 kB / 1.705 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008216/4.532, allocations: 316.2 kB / 1.705 GB, free: 19.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/4.532, allocations: 117.2 kB / 1.705 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/4.535, allocations: 3.755 MB / 1.709 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/4.535, allocations: 8.562 kB / 1.709 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00846/4.543, allocations: 5.041 MB / 1.714 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/4.545, allocations: 0.5746 MB / 1.715 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/4.546, allocations: 63.83 kB / 1.715 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/4.547, allocations: 133.2 kB / 1.715 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/4.548, allocations: 190 kB / 1.715 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/4.548, allocations: 190.4 kB / 1.715 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001794/4.55, allocations: 1.116 MB / 1.716 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/4.55, allocations: 3.594 kB / 1.716 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007398/4.557, allocations: 1.905 MB / 1.718 GB, free: 9.43 MB / 0.5417 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) * 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.005241/4.563, allocations: 2.282 MB / 1.72 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007388/4.57, allocations: 4.596 MB / 1.725 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/4.57, allocations: 4.125 kB / 1.725 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/4.572, allocations: 1.639 MB / 1.726 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/4.578, allocations: 1.126 MB / 1.728 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/4.586, allocations: 4.337 MB / 1.732 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/4.588, allocations: 1.769 MB / 1.733 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008442/4.596, allocations: 3.314 MB / 1.737 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/4.597, allocations: 351.7 kB / 1.737 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/4.597, allocations: 0 / 1.737 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.5114/5.109, allocations: 85.51 MB / 1.821 GB, free: 57.75 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)