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.00141/0.00141, allocations: 114 kB / 18.46 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.001304/0.001304, allocations: 185.9 kB / 19.38 MB, free: 3.676 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.214/0.214, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3754, allocations: 60.83 MB / 0.5196 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.5942/0.9697, allocations: 243.5 MB / 0.7574 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.9923, allocations: 16.9 MB / 0.7739 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.9952, allocations: 98.84 kB / 0.774 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.9975, allocations: 0.9953 MB / 0.7749 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/1.009, allocations: 4.403 MB / 0.7792 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01213/1.021, allocations: 5.329 MB / 0.7844 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00854/1.029, allocations: 7.002 MB / 0.7913 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/1.033, allocations: 1.64 MB / 0.7929 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/1.038, allocations: 2.762 MB / 0.7956 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/1.043, allocations: 2.577 MB / 0.7981 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/1.044, allocations: 231.2 kB / 0.7983 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008898/1.053, allocations: 3.643 MB / 0.8019 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001719/1.055, allocations: 0.9626 MB / 0.8028 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003143/1.058, allocations: 1.381 MB / 0.8042 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.069, allocations: 5.506 MB / 0.8095 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/1.069, allocations: 0 / 0.8095 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.546e-06/1.069, allocations: 3.984 kB / 0.8095 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001192/1.069, allocations: 0 / 0.8095 GB, free: 10.98 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.009376/1.079, allocations: 3.461 MB / 0.8129 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.079, allocations: 8.031 kB / 0.8129 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/1.082, allocations: 448.6 kB / 0.8133 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.086, allocations: 2.084 MB / 0.8154 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.086, allocations: 135.8 kB / 0.8155 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/1.087, allocations: 167.6 kB / 0.8157 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/1.091, allocations: 2.689 MB / 0.8183 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/1.091, allocations: 6.625 kB / 0.8183 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/1.092, allocations: 75.02 kB / 0.8184 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002571/1.092, allocations: 197.5 kB / 0.8186 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00413/1.096, allocations: 2.337 MB / 0.8208 GB, free: 15.48 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.01519/1.111, allocations: 11.28 MB / 0.8319 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/1.114, allocations: 1.843 MB / 0.8337 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/1.116, allocations: 1.111 MB / 0.8348 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/1.117, allocations: 0.5169 MB / 0.8353 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/1.119, allocations: 1.341 MB / 0.8366 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=172): time 4.048e-06/1.119, allocations: 4 kB / 0.8366 GB, free: 14.62 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.03187/1.151, allocations: 11.82 MB / 0.8481 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.151, allocations: 295 kB / 0.8484 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.154, allocations: 1.647 MB / 0.85 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/1.154, allocations: 65.7 kB / 0.8501 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008673/1.155, allocations: 0.9315 MB / 0.851 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/1.155, allocations: 0.6742 MB / 0.8516 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009121/1.156, allocations: 0.5118 MB / 0.8521 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/1.156, allocations: 301.1 kB / 0.8524 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.158, allocations: 1.123 MB / 0.8535 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/1.161, allocations: 1.655 MB / 0.8551 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/1.165, allocations: 2.92 MB / 0.858 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.165, allocations: 4 kB / 0.858 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006233/1.171, allocations: 3.477 MB / 0.8614 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/1.172, allocations: 79.33 kB / 0.8615 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.172, allocations: 12 kB / 0.8615 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/1.172, allocations: 306.7 kB / 0.8618 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.175, allocations: 0.5803 MB / 0.8623 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.177, allocations: 3.02 MB / 0.8653 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.179, allocations: 107.9 kB / 0.8654 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/1.18, allocations: 215.9 kB / 0.8656 GB, free: 216 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003024/1.183, allocations: 1.48 MB / 0.867 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002399/1.185, allocations: 1.579 MB / 0.8686 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004167/1.19, allocations: 2.767 MB / 0.8713 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.158e-05/1.19, allocations: 4 kB / 0.8713 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.005833/1.195, allocations: 3.304 MB / 0.8745 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/1.195, allocations: 83.94 kB / 0.8746 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.195, allocations: 20 kB / 0.8746 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/1.196, allocations: 298.6 kB / 0.8749 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.199, allocations: 0.5764 MB / 0.8755 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/1.201, allocations: 3.012 MB / 0.8784 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.203, allocations: 128.1 kB / 0.8785 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/1.203, allocations: 204 kB / 0.8787 GB, free: 2.34 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.0007304/1.204, allocations: 398.1 kB / 0.8791 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/1.204, allocations: 225.3 kB / 0.8793 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008485/1.213, allocations: 4.788 MB / 0.884 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004716/1.218, allocations: 3.009 MB / 0.8869 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/1.218, allocations: 0 / 0.8869 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.219, allocations: 0.5604 MB / 0.8875 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005895/1.22, allocations: 51.98 kB / 0.8875 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.221, allocations: 83.88 kB / 0.8876 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/1.222, allocations: 165.8 kB / 0.8878 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006817/1.228, allocations: 3.326 MB / 0.891 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007024/1.235, allocations: 4.585 MB / 0.8955 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0019/1.237, allocations: 1.319 MB / 0.8968 GB, free: 15.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00171/1.239, allocations: 1.11 MB / 0.8979 GB, free: 14.54 MB / 0.67 GB Notification: Performance of Backend: time 6.41e-07/1.239, allocations: 0 / 0.8979 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.252, allocations: 5.021 MB / 0.9028 GB, free: 9.668 MB / 0.67 GB Notification: Performance of SimCode: time 0.01036/1.262, allocations: 5.452 MB / 0.9081 GB, free: 4.172 MB / 0.67 GB Notification: Performance of Templates: time 0.1219/1.384, allocations: 78.05 MB / 0.9843 GB, free: 6.629 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)