Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.95 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5006,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.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5006,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.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.557/0.8657, allocations: 216 MB / 0.7728 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02285/0.8885, allocations: 15.76 MB / 0.7881 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.8911, allocations: 131.5 kB / 0.7883 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.8935, allocations: 0.9779 MB / 0.7892 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.9048, allocations: 4.54 MB / 0.7937 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.9175, allocations: 5.759 MB / 0.7993 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008658/0.9261, allocations: 7.342 MB / 0.8064 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.9289, allocations: 1.473 MB / 0.8079 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005717/0.9346, allocations: 2.86 MB / 0.8107 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.9396, allocations: 2.792 MB / 0.8134 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007546/0.9403, allocations: 234.1 kB / 0.8136 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007794/0.9481, allocations: 3.199 MB / 0.8168 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.9499, allocations: 0.9906 MB / 0.8177 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.9523, allocations: 1.16 MB / 0.8189 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.963, allocations: 5.477 MB / 0.8242 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.963, allocations: 0 / 0.8242 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.963, allocations: 0 / 0.8242 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.28e-05/0.9631, allocations: 0.9688 kB / 0.8242 GB, free: 11.06 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.00855/0.9716, allocations: 3.482 MB / 0.8276 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.9717, allocations: 11.34 kB / 0.8276 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.9746, allocations: 456 kB / 0.8281 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004757/0.9793, allocations: 2.04 MB / 0.83 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.9795, allocations: 139.4 kB / 0.8302 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.9798, allocations: 173.6 kB / 0.8303 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.9851, allocations: 3.322 MB / 0.8336 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.9851, allocations: 10.66 kB / 0.8336 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.9854, allocations: 79.56 kB / 0.8337 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002894/0.9857, allocations: 197.7 kB / 0.8339 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.9901, allocations: 2.385 MB / 0.8362 GB, free: 2.152 MB / 0.5762 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.01616/1.006, allocations: 7.985 MB / 0.844 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/1.01, allocations: 1.579 MB / 0.8455 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/1.012, allocations: 1.089 MB / 0.8466 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007568/1.012, allocations: 133.2 kB / 0.8467 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002855/1.015, allocations: 1.762 MB / 0.8484 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=172): time 5.24e-06/1.015, allocations: 0 / 0.8484 GB, free: 5.453 MB / 0.5919 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.03408/1.049, allocations: 11.61 MB / 0.8598 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/1.049, allocations: 287 kB / 0.8601 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/1.051, allocations: 1.374 MB / 0.8614 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003402/1.052, allocations: 69.69 kB / 0.8615 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/1.053, allocations: 0.9553 MB / 0.8624 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/1.054, allocations: 0.7088 MB / 0.8631 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009959/1.055, allocations: 0.5041 MB / 0.8636 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.055, allocations: 305.1 kB / 0.8639 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/1.057, allocations: 1.185 MB / 0.865 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/1.06, allocations: 2.039 MB / 0.867 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005307/1.065, allocations: 2.933 MB / 0.8699 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.065, allocations: 7.938 kB / 0.8699 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007257/1.072, allocations: 3.532 MB / 0.8733 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-05/1.073, allocations: 79.39 kB / 0.8734 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.073, allocations: 12 kB / 0.8734 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.074, allocations: 317 kB / 0.8737 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.076, allocations: 0.5779 MB / 0.8743 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/1.079, allocations: 3.011 MB / 0.8772 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.081, allocations: 124.3 kB / 0.8774 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/1.082, allocations: 207.9 kB / 0.8775 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003017/1.085, allocations: 1.542 MB / 0.8791 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002941/1.088, allocations: 1.973 MB / 0.881 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004793/1.093, allocations: 2.778 MB / 0.8837 GB, free: 176 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.481e-05/1.093, allocations: 4 kB / 0.8837 GB, free: 172 kB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.006901/1.099, allocations: 3.372 MB / 0.887 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.602e-05/1.099, allocations: 74.05 kB / 0.8871 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.1, allocations: 16.62 kB / 0.8871 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/1.1, allocations: 309.5 kB / 0.8874 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.103, allocations: 0.5725 MB / 0.8879 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/1.106, allocations: 3.009 MB / 0.8909 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.108, allocations: 128.3 kB / 0.891 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/1.108, allocations: 200 kB / 0.8912 GB, free: 8.43 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.000869/1.109, allocations: 400.7 kB / 0.8916 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/1.11, allocations: 210.7 kB / 0.8918 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/1.12, allocations: 4.839 MB / 0.8965 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005599/1.125, allocations: 3.074 MB / 0.8995 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.125, allocations: 7.938 kB / 0.8995 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.127, allocations: 478.3 kB / 0.9 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.127, allocations: 51.94 kB / 0.9 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.128, allocations: 83.83 kB / 0.9001 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/1.129, allocations: 177.7 kB / 0.9003 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007665/1.136, allocations: 3.379 MB / 0.9036 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00823/1.145, allocations: 4.699 MB / 0.9081 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002091/1.147, allocations: 1.237 MB / 0.9094 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001418/1.148, allocations: 0.888 MB / 0.9102 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of Backend: time 2.2e-07/1.148, allocations: 0 / 0.9102 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.16, allocations: 4.818 MB / 0.9149 GB, free: 8 kB / 0.6544 GB Notification: Performance of SimCode: time 0.009917/1.17, allocations: 5.349 MB / 0.9202 GB, free: 10.61 MB / 0.67 GB Notification: Performance of Templates: time 0.1223/1.292, allocations: 79.42 MB / 0.9977 GB, free: 11.83 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.032290412003931] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.301848028000677 1.315900989 0.34958201 Calling exit ...