Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.0013/0.0013, allocations: 114.5 kB / 21.18 MB, free: 0.7305 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.001388/0.001388, allocations: 208.8 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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(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-beta.om_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-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001966/0.001966, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2106, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01836/0.229, allocations: 16.22 MB / 448.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009748/0.2387, allocations: 6.967 MB / 455.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.239, allocations: 23.81 kB / 455.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.2398, allocations: 345.9 kB / 455.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.2419, allocations: 1.092 MB / 456.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2455, allocations: 1.789 MB / 458.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.2478, allocations: 2.171 MB / 460.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.2485, allocations: 0.5138 MB / 461.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.2496, allocations: 0.8176 MB / 462 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.2508, allocations: 0.8525 MB / 462.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2509, allocations: 83.94 kB / 462.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.253, allocations: 1.268 MB / 464.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.2533, allocations: 323 kB / 464.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.2538, allocations: 454 kB / 464.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.2561, allocations: 1.896 MB / 466.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2561, allocations: 3.938 kB / 466.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2561, allocations: 0 / 466.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2561, allocations: 0 / 466.8 MB, free: 4.469 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.002746/0.2589, allocations: 1.295 MB / 468.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2589, allocations: 8.031 kB / 468.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.2592, allocations: 100.4 kB / 468.2 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.2604, allocations: 0.6329 MB / 468.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2605, allocations: 112.7 kB / 469 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2606, allocations: 51.98 kB / 469 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2621, allocations: 0.8962 MB / 469.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.2622, allocations: 11.89 kB / 469.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.2623, allocations: 19.98 kB / 469.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-05/0.2624, allocations: 53.28 kB / 470 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2639, allocations: 0.8444 MB / 470.8 MB, free: 324 kB / 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.006025/0.2699, allocations: 3.447 MB / 474.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.271, allocations: 0.634 MB / 474.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.2716, allocations: 342.3 kB / 475.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.2746, allocations: 2.028 MB / 477.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.2747, allocations: 47 kB / 477.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.713e-06/0.2747, allocations: 0 / 477.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007322/0.282, allocations: 2.841 MB / 480.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.2821, allocations: 85.67 kB / 480.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/0.2829, allocations: 0.68 MB / 480.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/0.283, allocations: 41.7 kB / 481 MB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.2833, allocations: 341 kB / 481.3 MB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.2835, allocations: 238 kB / 481.5 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.2838, allocations: 154.6 kB / 481.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.284, allocations: 386.7 kB / 482.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.2846, allocations: 372.6 kB / 482.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.2854, allocations: 0.519 MB / 482.9 MB, free: 3.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.2869, allocations: 0.8638 MB / 483.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2869, allocations: 4 kB / 483.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002155/0.289, allocations: 1.157 MB / 485 MB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.289, allocations: 8 kB / 485 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.289, allocations: 4 kB / 485 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.2904, allocations: 448.7 kB / 485.4 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.2911, allocations: 171.7 kB / 485.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2924, allocations: 1.021 MB / 486.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.2929, allocations: 28.03 kB / 486.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.293, allocations: 31.98 kB / 486.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008846/0.2939, allocations: 0.5331 MB / 487.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007829/0.2946, allocations: 0.5121 MB / 487.7 MB, free: 14.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001359/0.296, allocations: 0.8489 MB / 488.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.296, allocations: 0 / 488.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002132/0.2981, allocations: 1.107 MB / 489.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2982, allocations: 6.5 kB / 489.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2982, allocations: 8 kB / 489.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.2989, allocations: 304.9 kB / 490 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.2996, allocations: 167.8 kB / 490.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.3007, allocations: 0.9151 MB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.3012, allocations: 32.03 kB / 491.1 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.3013, allocations: 35.98 kB / 491.1 MB, free: 11.16 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.0002393/0.3015, allocations: 216.7 kB / 491.3 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3017, allocations: 91.47 kB / 491.4 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3039, allocations: 1.087 MB / 492.5 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3039, allocations: 3.984 kB / 492.5 MB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3039, allocations: 4 kB / 492.5 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.3043, allocations: 244.5 kB / 492.8 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3044, allocations: 12 kB / 492.8 MB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/0.305, allocations: 35.97 kB / 492.8 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3052, allocations: 56.58 kB / 492.9 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002467/0.3076, allocations: 1.114 MB / 494 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002314/0.3099, allocations: 1.439 MB / 495.4 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00064/0.3106, allocations: 381 kB / 495.8 MB, free: 6.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.3112, allocations: 475 kB / 496.3 MB, free: 5.977 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.3112, allocations: 0 / 496.3 MB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.3149, allocations: 1.476 MB / 497.7 MB, free: 4.496 MB / 398.1 MB Notification: Performance of SimCode: time 0.003394/0.3183, allocations: 2.309 MB / 0.4883 GB, free: 2.148 MB / 398.1 MB Notification: Performance of Templates: time 0.04065/0.3589, allocations: 25.71 MB / 0.5134 GB, free: 8.609 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.999917814042419] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 0.36691561294719577 0.38102090800000005 0.12186453000000001 Calling exit ...