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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 112.9 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 183 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3315, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.5313/0.8628, allocations: 243.5 MB / 0.7574 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.8861, allocations: 16.9 MB / 0.7739 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.8894, allocations: 98.84 kB / 0.774 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.8919, allocations: 0.9998 MB / 0.7749 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.902, allocations: 4.394 MB / 0.7792 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.915, allocations: 5.337 MB / 0.7844 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009021/0.9241, allocations: 7 MB / 0.7913 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002696/0.9268, allocations: 1.647 MB / 0.7929 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.9319, allocations: 2.753 MB / 0.7956 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.9358, allocations: 2.577 MB / 0.7981 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.9364, allocations: 232.5 kB / 0.7983 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007917/0.9443, allocations: 3.647 MB / 0.8019 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.9455, allocations: 0.9601 MB / 0.8028 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.9477, allocations: 1.38 MB / 0.8042 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.9581, allocations: 5.529 MB / 0.8096 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9582, allocations: 4 kB / 0.8096 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9582, allocations: 0 / 0.8096 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.808e-05/0.9583, allocations: 0 / 0.8096 GB, free: 10.83 MB / 0.5762 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.008067/0.9664, allocations: 3.556 MB / 0.813 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9664, allocations: 8.031 kB / 0.813 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.9691, allocations: 470 kB / 0.8135 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.9728, allocations: 2.084 MB / 0.8155 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.9729, allocations: 135.5 kB / 0.8156 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.9733, allocations: 180.4 kB / 0.8158 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.9778, allocations: 2.676 MB / 0.8184 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.9778, allocations: 10.48 kB / 0.8184 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.9781, allocations: 82.84 kB / 0.8185 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.9783, allocations: 189.6 kB / 0.8187 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.9823, allocations: 2.341 MB / 0.821 GB, free: 15.21 MB / 0.5919 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.01476/0.9971, allocations: 11.29 MB / 0.832 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/1.001, allocations: 1.847 MB / 0.8338 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/1.003, allocations: 1.119 MB / 0.8349 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/1.004, allocations: 0.5056 MB / 0.8354 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002117/1.006, allocations: 1.349 MB / 0.8367 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=172): time 3.947e-06/1.006, allocations: 0 / 0.8367 GB, free: 14.33 MB / 0.6075 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.03127/1.037, allocations: 11.87 MB / 0.8483 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.037, allocations: 291 kB / 0.8486 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/1.04, allocations: 1.655 MB / 0.8502 GB, free: 248 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/1.04, allocations: 65.7 kB / 0.8503 GB, free: 176 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008273/1.041, allocations: 0.9373 MB / 0.8512 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/1.042, allocations: 0.7058 MB / 0.8519 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008897/1.042, allocations: 0.5119 MB / 0.8524 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.043, allocations: 305.1 kB / 0.8527 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/1.045, allocations: 1.117 MB / 0.8538 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/1.047, allocations: 1.647 MB / 0.8554 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/1.052, allocations: 2.924 MB / 0.8582 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.052, allocations: 0 / 0.8582 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006393/1.058, allocations: 3.489 MB / 0.8616 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/1.058, allocations: 75.33 kB / 0.8617 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.058, allocations: 16 kB / 0.8617 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009253/1.059, allocations: 306.9 kB / 0.862 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.062, allocations: 0.5803 MB / 0.8626 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.064, allocations: 3.008 MB / 0.8655 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.066, allocations: 124 kB / 0.8656 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/1.066, allocations: 216 kB / 0.8658 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002705/1.069, allocations: 1.484 MB / 0.8673 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002276/1.071, allocations: 1.583 MB / 0.8688 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004084/1.075, allocations: 2.767 MB / 0.8715 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/1.076, allocations: 8 kB / 0.8715 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.005687/1.081, allocations: 3.314 MB / 0.8748 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/1.081, allocations: 75.39 kB / 0.8749 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.081, allocations: 12 kB / 0.8749 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/1.082, allocations: 306.8 kB / 0.8752 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.084, allocations: 0.5724 MB / 0.8757 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.086, allocations: 3.02 MB / 0.8787 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.088, allocations: 119.9 kB / 0.8788 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/1.089, allocations: 211.9 kB / 0.879 GB, free: 1.922 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 (valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,1), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006745/1.089, allocations: 386.2 kB / 0.8794 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005078/1.09, allocations: 242.5 kB / 0.8796 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008061/1.098, allocations: 4.796 MB / 0.8843 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004631/1.103, allocations: 3.004 MB / 0.8872 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.103, allocations: 3.984 kB / 0.8872 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.104, allocations: 0.5773 MB / 0.8878 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005187/1.104, allocations: 52 kB / 0.8878 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.106, allocations: 83.86 kB / 0.8879 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/1.106, allocations: 161.8 kB / 0.8881 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00701/1.113, allocations: 3.33 MB / 0.8913 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007324/1.121, allocations: 4.596 MB / 0.8958 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001993/1.123, allocations: 1.32 MB / 0.8971 GB, free: 15.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002034/1.125, allocations: 1.102 MB / 0.8982 GB, free: 14.09 MB / 0.67 GB Notification: Performance of Backend: time 5.61e-07/1.125, allocations: 4 kB / 0.8982 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.136, allocations: 5.035 MB / 0.9031 GB, free: 9.191 MB / 0.67 GB Notification: Performance of SimCode: time 0.008926/1.145, allocations: 5.526 MB / 0.9085 GB, free: 3.621 MB / 0.67 GB Notification: Performance of Templates: time 0.1121/1.257, allocations: 78.05 MB / 0.9847 GB, free: 6.086 MB / 0.7481 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)