Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.0016/0.0016, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001678/0.001678, allocations: 213.3 kB / 24.49 MB, free: 3.938 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2019, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01756/0.2194, allocations: 14.67 MB / 447 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.2287, allocations: 6.274 MB / 453.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003436/0.2291, allocations: 35.69 kB / 453.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007945/0.2299, allocations: 326 kB / 453.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2322, allocations: 1.116 MB / 454.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.236, allocations: 1.812 MB / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.2385, allocations: 2.241 MB / 458.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.2392, allocations: 0.5063 MB / 459.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.2403, allocations: 0.8372 MB / 460.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.2415, allocations: 0.8642 MB / 461 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.2416, allocations: 80 kB / 461.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.2435, allocations: 1.065 MB / 462.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.2438, allocations: 327 kB / 462.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.2442, allocations: 390.3 kB / 462.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.2464, allocations: 1.834 MB / 464.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2464, allocations: 0 / 464.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2464, allocations: 0 / 464.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2465, allocations: 8 kB / 464.7 MB, free: 6.246 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002715/0.2492, allocations: 1.216 MB / 465.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2492, allocations: 8.031 kB / 465.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.2495, allocations: 104.4 kB / 466 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2506, allocations: 0.5635 MB / 466.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.2508, allocations: 164 kB / 466.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2509, allocations: 51.94 kB / 466.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.2526, allocations: 1.172 MB / 468 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2526, allocations: 0 / 468 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.2527, allocations: 27.98 kB / 468 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/0.2528, allocations: 53.22 kB / 468 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.2543, allocations: 0.8404 MB / 468.9 MB, free: 1.871 MB / 366.1 MB 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.005343/0.2596, allocations: 2.594 MB / 471.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.2607, allocations: 0.6298 MB / 472.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.2613, allocations: 338.2 kB / 472.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/0.2639, allocations: 1.208 MB / 473.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2639, allocations: 39.06 kB / 473.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.883e-06/0.2639, allocations: 0 / 473.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.00721/0.2711, allocations: 2.69 MB / 476.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2712, allocations: 85.77 kB / 476.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.2719, allocations: 0.5496 MB / 477 MB, free: 9.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.2719, allocations: 41.7 kB / 477 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.2722, allocations: 356.7 kB / 477.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.2724, allocations: 242 kB / 477.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.2727, allocations: 150.6 kB / 477.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2729, allocations: 378.7 kB / 478.1 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/0.2736, allocations: 368.6 kB / 478.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.2744, allocations: 0.5504 MB / 479.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2757, allocations: 0.868 MB / 479.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2758, allocations: 4 kB / 479.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002114/0.2779, allocations: 1.15 MB / 481.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2779, allocations: 4 kB / 481.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2779, allocations: 11.88 kB / 481.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.2792, allocations: 452.6 kB / 481.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.2799, allocations: 159.8 kB / 481.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2812, allocations: 1.021 MB / 482.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2818, allocations: 36.03 kB / 482.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.2819, allocations: 35.98 kB / 482.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008533/0.2827, allocations: 0.533 MB / 483.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007813/0.2835, allocations: 0.5333 MB / 483.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001342/0.2848, allocations: 0.8494 MB / 484.7 MB, free: 1.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.2848, allocations: 3.984 kB / 484.7 MB, free: 1.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00203/0.2869, allocations: 1.087 MB / 485.8 MB, free: 488 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2869, allocations: 8.062 kB / 485.8 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2869, allocations: 11.98 kB / 485.8 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007471/0.2876, allocations: 316.7 kB / 486.1 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.2884, allocations: 163.8 kB / 486.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.2895, allocations: 0.9073 MB / 487.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.29, allocations: 31.97 kB / 487.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.2901, allocations: 31.98 kB / 487.2 MB, free: 14.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.2903, allocations: 228.1 kB / 487.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2905, allocations: 67.58 kB / 487.5 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.2926, allocations: 1.083 MB / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2926, allocations: 11.92 kB / 488.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2926, allocations: 0 / 488.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.293, allocations: 159.4 kB / 488.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2931, allocations: 12 kB / 488.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.2936, allocations: 24.08 kB / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.2937, allocations: 64.53 kB / 488.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00259/0.2963, allocations: 1.098 MB / 490 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002292/0.2986, allocations: 1.428 MB / 491.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006308/0.2993, allocations: 377 kB / 491.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.2997, allocations: 374.8 kB / 492.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of Backend: time 4.11e-07/0.2997, allocations: 0 / 492.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.3036, allocations: 1.458 MB / 493.6 MB, free: 8.586 MB / 398.1 MB Notification: Performance of SimCode: time 0.003283/0.3068, allocations: 2.266 MB / 495.9 MB, free: 6.27 MB / 398.1 MB Notification: Performance of Templates: time 0.03939/0.3462, allocations: 26.16 MB / 0.5098 GB, free: 12.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1876945719996] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 0.3542061200059834 0.36847536000000003 0.118951392 Calling exit ...