Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.001969, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2408/0.2408, allocations: 46.89 MB / 361.1 MB, free: 4.73 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 87.83 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3778, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.6106/0.9884, allocations: 248.1 MB / 0.8035 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02395/1.012, allocations: 17.05 MB / 0.8201 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/1.016, allocations: 95.72 kB / 0.8202 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003054/1.019, allocations: 1.011 MB / 0.8212 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/1.03, allocations: 4.418 MB / 0.8255 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01376/1.044, allocations: 5.384 MB / 0.8308 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01038/1.055, allocations: 7.006 MB / 0.8376 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/1.058, allocations: 1.456 MB / 0.839 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007295/1.065, allocations: 2.77 MB / 0.8417 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006215/1.072, allocations: 2.778 MB / 0.8444 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/1.073, allocations: 232 kB / 0.8447 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/1.083, allocations: 3.723 MB / 0.8483 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002123/1.086, allocations: 0.994 MB / 0.8493 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003851/1.089, allocations: 1.378 MB / 0.8506 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/1.103, allocations: 5.545 MB / 0.856 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.103, allocations: 0 / 0.856 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/1.103, allocations: 0 / 0.856 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001357/1.103, allocations: 0 / 0.856 GB, free: 10.71 MB / 0.5919 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.01065/1.114, allocations: 3.565 MB / 0.8595 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.114, allocations: 8.031 kB / 0.8595 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/1.117, allocations: 468.9 kB / 0.86 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.123, allocations: 2.132 MB / 0.8621 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/1.123, allocations: 149.6 kB / 0.8622 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/1.124, allocations: 178 kB / 0.8624 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/1.13, allocations: 2.682 MB / 0.865 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.268e-05/1.13, allocations: 6.625 kB / 0.865 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003991/1.131, allocations: 73.69 kB / 0.8651 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/1.131, allocations: 189.6 kB / 0.8652 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/1.136, allocations: 2.342 MB / 0.8675 GB, free: 15.03 MB / 0.6075 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.01958/1.156, allocations: 11.29 MB / 0.8786 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.159, allocations: 1.752 MB / 0.8803 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/1.161, allocations: 1.037 MB / 0.8813 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009521/1.162, allocations: 0.5029 MB / 0.8818 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00252/1.165, allocations: 1.356 MB / 0.8831 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=172): time 4.478e-06/1.165, allocations: 0 / 0.8831 GB, free: 14.32 MB / 0.6231 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.03498/1.2, allocations: 11.88 MB / 0.8947 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/1.2, allocations: 285.6 kB / 0.895 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.203, allocations: 1.655 MB / 0.8966 GB, free: 244 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000442/1.203, allocations: 69.7 kB / 0.8966 GB, free: 168 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.204, allocations: 0.9418 MB / 0.8976 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.205, allocations: 0.7043 MB / 0.8983 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/1.207, allocations: 0.508 MB / 0.8987 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.207, allocations: 309 kB / 0.899 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/1.209, allocations: 1.119 MB / 0.9001 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/1.212, allocations: 1.643 MB / 0.9017 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/1.217, allocations: 2.922 MB / 0.9046 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.217, allocations: 4 kB / 0.9046 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007273/1.224, allocations: 3.482 MB / 0.908 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/1.224, allocations: 77.73 kB / 0.9081 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.224, allocations: 12 kB / 0.9081 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008927/1.225, allocations: 319.5 kB / 0.9084 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/1.228, allocations: 0.5769 MB / 0.909 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/1.231, allocations: 3.015 MB / 0.9119 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.233, allocations: 116.1 kB / 0.912 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.233, allocations: 212.1 kB / 0.9122 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003222/1.237, allocations: 1.48 MB / 0.9137 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00295/1.24, allocations: 1.576 MB / 0.9152 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005088/1.245, allocations: 2.772 MB / 0.9179 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.709e-05/1.245, allocations: 4 kB / 0.9179 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.008049/1.253, allocations: 3.319 MB / 0.9211 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.253, allocations: 75.39 kB / 0.9212 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/1.253, allocations: 18.62 kB / 0.9212 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/1.254, allocations: 302.9 kB / 0.9215 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.257, allocations: 0.5684 MB / 0.9221 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/1.259, allocations: 3.019 MB / 0.925 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.262, allocations: 127.9 kB / 0.9252 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/1.262, allocations: 210.9 kB / 0.9254 GB, free: 1.914 MB / 0.6544 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.00104/1.263, allocations: 390 kB / 0.9257 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/1.264, allocations: 238.5 kB / 0.926 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.274, allocations: 4.793 MB / 0.9306 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005404/1.28, allocations: 3.004 MB / 0.9336 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.28, allocations: 0 / 0.9336 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.281, allocations: 0.5695 MB / 0.9341 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006434/1.282, allocations: 55.98 kB / 0.9342 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.284, allocations: 75.94 kB / 0.9342 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/1.284, allocations: 173.8 kB / 0.9344 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007428/1.291, allocations: 3.328 MB / 0.9377 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007985/1.299, allocations: 4.595 MB / 0.9422 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002011/1.301, allocations: 1.171 MB / 0.9433 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001974/1.303, allocations: 1.106 MB / 0.9444 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of Backend: time 2.61e-07/1.303, allocations: 0 / 0.9444 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.315, allocations: 4.698 MB / 0.949 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of SimCode: time 0.01107/1.326, allocations: 5.555 MB / 0.9544 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of Templates: time 0.4476/1.774, allocations: 79.85 MB / 1.032 GB, free: 344.4 MB / 0.7481 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.651307778898627] 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.782656620722264 1.791257675 0.6856236 Calling exit ...