Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00125/0.00125, allocations: 182.2 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.82/1.82, allocations: 194.3 MB / 207.5 MB, free: 3.398 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001684, allocations: 117 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2369/0.2369, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.753e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.391/2.517, allocations: 0.6549 GB / 1.099 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/2.518, allocations: 73.97 kB / 1.099 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.749/5.267, allocations: 0.5402 GB / 1.64 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/5.267, allocations: 1.281 kB / 1.64 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002881/5.267, allocations: 57.45 kB / 1.64 GB, free: 41.79 MB / 0.4948 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.01491/5.282, allocations: 3.015 MB / 1.643 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/5.282, allocations: 9.781 kB / 1.643 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/5.287, allocations: 443.9 kB / 1.643 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007673/5.295, allocations: 1.931 MB / 1.645 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/5.295, allocations: 132.2 kB / 1.645 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008411/5.296, allocations: 168 kB / 1.645 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006276/5.302, allocations: 2.578 MB / 1.648 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/5.302, allocations: 6.656 kB / 1.648 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/5.303, allocations: 77.75 kB / 1.648 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/5.303, allocations: 148.2 kB / 1.648 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/5.307, allocations: 2.18 MB / 1.65 GB, free: 39.84 MB / 0.4948 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.01632/5.324, allocations: 10.95 MB / 1.661 GB, free: 34.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/5.326, allocations: 1.742 MB / 1.663 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/5.328, allocations: 1.034 MB / 1.664 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009945/5.329, allocations: 465 kB / 1.664 GB, free: 33.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/5.33, allocations: 1.145 MB / 1.665 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 4.95e-06/5.33, allocations: 9.844 kB / 1.665 GB, free: 33.29 MB / 0.4948 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.02249/5.353, allocations: 8.477 MB / 1.673 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/5.353, allocations: 264.4 kB / 1.674 GB, free: 31.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/5.356, allocations: 1.323 MB / 1.675 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/5.356, allocations: 62.64 kB / 1.675 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/5.357, allocations: 0.874 MB / 1.676 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/5.357, allocations: 0.6212 MB / 1.676 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/5.357, allocations: 39.91 kB / 1.676 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001612/5.358, allocations: 391.5 kB / 1.677 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/5.359, allocations: 0.9877 MB / 1.678 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/5.361, allocations: 1.439 MB / 1.679 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/5.363, allocations: 1.264 MB / 1.68 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/5.363, allocations: 8.703 kB / 1.68 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005448/5.368, allocations: 2.997 MB / 1.683 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001496/5.37, allocations: 4.285 MB / 1.688 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/5.37, allocations: 10.06 kB / 1.688 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/5.371, allocations: 191.3 kB / 1.688 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/5.373, allocations: 0.5486 MB / 1.688 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/5.374, allocations: 2.326 MB / 1.691 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/5.377, allocations: 209.7 kB / 1.691 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/5.378, allocations: 185.1 kB / 1.691 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/5.378, allocations: 6.375 kB / 1.691 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004904/5.383, allocations: 2.729 MB / 1.694 GB, free: 23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/5.383, allocations: 13.28 kB / 1.694 GB, free: 23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/5.383, allocations: 192.1 kB / 1.694 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/5.385, allocations: 0.533 MB / 1.694 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/5.387, allocations: 2.323 MB / 1.697 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/5.39, allocations: 215.6 kB / 1.697 GB, free: 20.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/5.39, allocations: 185.4 kB / 1.697 GB, free: 20.88 MB / 0.4948 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 (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.0009957/5.391, allocations: 300.3 kB / 1.697 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/5.392, allocations: 206.2 kB / 1.697 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/5.399, allocations: 3.474 MB / 1.701 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/5.399, allocations: 17.97 kB / 1.701 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/5.399, allocations: 0 / 1.701 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/5.403, allocations: 2.711 MB / 1.704 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/5.418, allocations: 6.865 MB / 1.71 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/5.419, allocations: 10.53 kB / 1.71 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/5.42, allocations: 448.4 kB / 1.711 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/5.421, allocations: 192 kB / 1.711 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/5.421, allocations: 101.3 kB / 1.711 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/5.423, allocations: 3.063 MB / 1.714 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/5.423, allocations: 9.75 kB / 1.714 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00765/5.431, allocations: 4.649 MB / 1.718 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/5.433, allocations: 0.5301 MB / 1.719 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004884/5.434, allocations: 58.98 kB / 1.719 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/5.435, allocations: 125.7 kB / 1.719 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/5.436, allocations: 184.2 kB / 1.719 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/5.436, allocations: 171.1 kB / 1.72 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001928/5.438, allocations: 1.007 MB / 1.72 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/5.438, allocations: 0 / 1.72 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00982/5.448, allocations: 1.95 MB / 1.722 GB, free: 29.64 MB / 0.5105 GB 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: 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 (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.00836/5.456, allocations: 2.436 MB / 1.725 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009089/5.465, allocations: 4.336 MB / 1.729 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/5.465, allocations: 0 / 1.729 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002686/5.468, allocations: 1.547 MB / 1.731 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005986/5.474, allocations: 0.9188 MB / 1.731 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/5.49, allocations: 5.502 MB / 1.737 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/5.492, allocations: 1.72 MB / 1.738 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007093/5.499, allocations: 1.53 MB / 1.74 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/5.5, allocations: 288 kB / 1.74 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.023e-06/5.5, allocations: 224 / 1.74 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.145/5.645, allocations: 78.3 MB / 1.817 GB, free: 7.266 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)