Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 184.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 43.58 MB / 315 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 12 kB / 384.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 58.86 MB / 443.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.2272/0.3341, allocations: 16.64 MB / 460.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009265/0.3434, allocations: 7.122 MB / 467.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.3447, allocations: 26.84 kB / 467.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3457, allocations: 346.2 kB / 467.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.3483, allocations: 0.9531 MB / 468.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004969/0.3533, allocations: 1.67 MB / 470.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.3571, allocations: 3.069 MB / 473.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009234/0.358, allocations: 0.5626 MB / 473.8 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.3592, allocations: 0.7305 MB / 474.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/0.3602, allocations: 0.8178 MB / 475.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3603, allocations: 45.16 kB / 475.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.3628, allocations: 1.286 MB / 476.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.3631, allocations: 292.6 kB / 477 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.3636, allocations: 478.2 kB / 477.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.366, allocations: 1.918 MB / 479.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.366, allocations: 0 / 479.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3661, allocations: 0 / 479.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.3661, allocations: 0 / 479.4 MB, free: 34.17 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002406/0.3685, allocations: 1.21 MB / 480.6 MB, free: 33.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3685, allocations: 8.906 kB / 480.6 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3689, allocations: 115.7 kB / 480.7 MB, free: 33.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.3697, allocations: 0.6283 MB / 481.3 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.3699, allocations: 112.3 kB / 481.4 MB, free: 32.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.37, allocations: 52.28 kB / 481.5 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3714, allocations: 1.009 MB / 482.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3714, allocations: 3.25 kB / 482.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.3715, allocations: 30.05 kB / 482.5 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.3716, allocations: 49.88 kB / 482.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3728, allocations: 0.9196 MB / 483.5 MB, free: 31.98 MB / 382.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.005178/0.378, allocations: 4.079 MB / 487.6 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.3789, allocations: 0.6506 MB / 488.2 MB, free: 29.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3795, allocations: 403 kB / 488.6 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/0.3822, allocations: 2.368 MB / 491 MB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.3829, allocations: 0.5058 MB / 491.5 MB, free: 26.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.3829, allocations: 0 / 491.5 MB, free: 26.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005596/0.3886, allocations: 2.621 MB / 494.1 MB, free: 25.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.3887, allocations: 245.1 kB / 494.4 MB, free: 25.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3899, allocations: 0.8391 MB / 495.2 MB, free: 24.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.39, allocations: 38.05 kB / 495.2 MB, free: 24.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.3903, allocations: 423.2 kB / 495.7 MB, free: 24.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.3905, allocations: 173.6 kB / 495.8 MB, free: 24.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3906, allocations: 70.23 kB / 495.9 MB, free: 24.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.3907, allocations: 335.1 kB / 496.2 MB, free: 24.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.3913, allocations: 373.3 kB / 496.6 MB, free: 23.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.392, allocations: 0.6149 MB / 497.2 MB, free: 23.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3933, allocations: 0.9646 MB / 498.2 MB, free: 22.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3933, allocations: 2.594 kB / 498.2 MB, free: 22.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002392/0.3957, allocations: 1.27 MB / 499.4 MB, free: 22.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.3959, allocations: 316.6 kB / 499.7 MB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3959, allocations: 6.562 kB / 499.8 MB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.397, allocations: 363.9 kB / 0.4884 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.3976, allocations: 155.2 kB / 0.4885 GB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3989, allocations: 1.46 MB / 0.49 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.3998, allocations: 51.72 kB / 0.49 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.3999, allocations: 38.97 kB / 0.49 GB, free: 20.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4, allocations: 4.25 kB / 0.4901 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.4021, allocations: 1.179 MB / 0.4912 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4021, allocations: 6.031 kB / 0.4912 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008399/0.4029, allocations: 343.5 kB / 0.4915 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.4035, allocations: 156.4 kB / 0.4917 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.4046, allocations: 1.437 MB / 0.4931 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.4054, allocations: 47.27 kB / 0.4931 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.4055, allocations: 35.73 kB / 0.4932 GB, free: 18.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006776/0.4062, allocations: 403.1 kB / 0.4936 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.4064, allocations: 88.5 kB / 0.4936 GB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.4084, allocations: 1.101 MB / 0.4947 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.4084, allocations: 5.25 kB / 0.4947 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4084, allocations: 0.5625 kB / 0.4947 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4084, allocations: 3.359 kB / 0.4947 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.4114, allocations: 1.952 MB / 0.4966 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4114, allocations: 0.7031 kB / 0.4966 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.4118, allocations: 86.12 kB / 0.4967 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/0.4127, allocations: 349.7 kB / 0.497 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.4128, allocations: 17.03 kB / 0.4971 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.414, allocations: 1.438 MB / 0.4985 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.414, allocations: 3.938 kB / 0.4985 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4165, allocations: 1.573 MB / 0.5 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/0.417, allocations: 258.1 kB / 0.5002 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4171, allocations: 13.69 kB / 0.5003 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.4177, allocations: 43.39 kB / 0.5003 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.4179, allocations: 57.55 kB / 0.5004 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.418, allocations: 24.36 kB / 0.5004 GB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007581/0.4187, allocations: 0.5824 MB / 0.501 GB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4187, allocations: 0 / 0.501 GB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001765/0.4205, allocations: 0.6223 MB / 0.5016 GB, free: 14.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.4217, allocations: 0.4963 MB / 0.502 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.4245, allocations: 1.572 MB / 0.5036 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4245, allocations: 1.375 kB / 0.5036 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.4254, allocations: 0.4977 MB / 0.5041 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.4272, allocations: 343.3 kB / 0.5044 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.4302, allocations: 2.081 MB / 0.5064 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4306, allocations: 1.013 MB / 0.5074 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.4318, allocations: 327.3 kB / 0.5077 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.432, allocations: 66.23 kB / 0.5078 GB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.432, allocations: 0 / 0.5078 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03189/0.4639, allocations: 21.64 MB / 0.5289 GB, free: 7.711 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)