Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002394, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 97.83 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5226/0.5226, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.3422/0.4695, allocations: 14.36 MB / 0.4928 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.4823, allocations: 6.114 MB / 0.4987 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.4838, allocations: 27.16 kB / 0.4988 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.4854, allocations: 332.8 kB / 0.4991 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.4892, allocations: 0.837 MB / 0.4999 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007254/0.4964, allocations: 1.515 MB / 0.5014 GB, free: 34.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.4994, allocations: 1.244 MB / 0.5026 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5007, allocations: 0.5482 MB / 0.5031 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.503, allocations: 0.6716 MB / 0.5038 GB, free: 33.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.5047, allocations: 0.558 MB / 0.5043 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.5051, allocations: 42.81 kB / 0.5044 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.5089, allocations: 1.151 MB / 0.5055 GB, free: 33.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006994/0.5097, allocations: 271.9 kB / 0.5057 GB, free: 33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.5102, allocations: 188.2 kB / 0.5059 GB, free: 32.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.5139, allocations: 1.388 MB / 0.5073 GB, free: 32.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5139, allocations: 0 / 0.5073 GB, free: 32.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.514, allocations: 4 kB / 0.5073 GB, free: 32.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.514, allocations: 0 / 0.5073 GB, free: 32.66 MB / 378.7 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.00411/0.5181, allocations: 1.217 MB / 0.5085 GB, free: 31.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5182, allocations: 13.92 kB / 0.5085 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/0.5189, allocations: 112.4 kB / 0.5086 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.5206, allocations: 0.599 MB / 0.5092 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.5209, allocations: 108.8 kB / 0.5093 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.5211, allocations: 57.12 kB / 0.5093 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5236, allocations: 0.9997 MB / 0.5103 GB, free: 30.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.5237, allocations: 11.22 kB / 0.5103 GB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.5239, allocations: 25.23 kB / 0.5103 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.524, allocations: 54.52 kB / 0.5104 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.5264, allocations: 0.9129 MB / 0.5113 GB, free: 30.54 MB / 378.7 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.009854/0.5363, allocations: 4.112 MB / 0.5153 GB, free: 27.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.538, allocations: 0.6488 MB / 0.5159 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004887/0.5429, allocations: 2.377 MB / 0.5183 GB, free: 25.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.544, allocations: 0.4947 MB / 0.5187 GB, free: 25.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.837e-06/0.5441, allocations: 0 / 0.5187 GB, free: 25.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.00861/0.5527, allocations: 2.694 MB / 0.5214 GB, free: 24.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.5528, allocations: 242.2 kB / 0.5216 GB, free: 23.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5543, allocations: 0.8354 MB / 0.5224 GB, free: 23.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.5546, allocations: 37.02 kB / 0.5225 GB, free: 23.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.5549, allocations: 423.2 kB / 0.5229 GB, free: 23.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.5551, allocations: 182.6 kB / 0.523 GB, free: 22.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.5552, allocations: 11.31 kB / 0.523 GB, free: 22.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.5553, allocations: 350.7 kB / 0.5234 GB, free: 22.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000927/0.5563, allocations: 356.5 kB / 0.5237 GB, free: 22.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.5574, allocations: 0.6073 MB / 0.5243 GB, free: 22.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.5585, allocations: 455.4 kB / 0.5247 GB, free: 21.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.5585, allocations: 3.094 kB / 0.5247 GB, free: 21.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003339/0.5618, allocations: 1.201 MB / 0.5259 GB, free: 21.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005971/0.5625, allocations: 2.566 MB / 0.5284 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.5625, allocations: 9.094 kB / 0.5284 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.5641, allocations: 357.3 kB / 0.5288 GB, free: 18.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5653, allocations: 158.4 kB / 0.5289 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5671, allocations: 1.445 MB / 0.5303 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5686, allocations: 52.89 kB / 0.5304 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.5688, allocations: 37.34 kB / 0.5304 GB, free: 17.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5689, allocations: 6.734 kB / 0.5304 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003394/0.5723, allocations: 1.17 MB / 0.5316 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.5723, allocations: 5.656 kB / 0.5316 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.5736, allocations: 342.1 kB / 0.5319 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5748, allocations: 152.7 kB / 0.5321 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.5765, allocations: 1.417 MB / 0.5334 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5776, allocations: 56.52 kB / 0.5335 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.5778, allocations: 40.8 kB / 0.5335 GB, free: 15.59 MB / 378.7 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 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007719/0.5786, allocations: 394 kB / 0.5339 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.5788, allocations: 86.19 kB / 0.534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.582, allocations: 1.093 MB / 0.5351 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5821, allocations: 9.891 kB / 0.5351 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5821, allocations: 0 / 0.5351 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5821, allocations: 6.578 kB / 0.5351 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.5871, allocations: 1.951 MB / 0.537 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5872, allocations: 1.172 kB / 0.537 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.588, allocations: 82.81 kB / 0.5371 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.5895, allocations: 349.1 kB / 0.5374 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.5897, allocations: 13.58 kB / 0.5374 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.5915, allocations: 1.451 MB / 0.5388 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5915, allocations: 0.5625 kB / 0.5388 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.5955, allocations: 1.567 MB / 0.5403 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/0.5964, allocations: 270.2 kB / 0.5406 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.5967, allocations: 13.12 kB / 0.5406 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5979, allocations: 39.84 kB / 0.5407 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.5982, allocations: 52.67 kB / 0.5407 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.5983, allocations: 27.44 kB / 0.5407 GB, free: 11.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.5996, allocations: 0.5744 MB / 0.5413 GB, free: 11.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5997, allocations: 1.562 kB / 0.5413 GB, free: 11.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003096/0.6028, allocations: 0.6187 MB / 0.5419 GB, free: 11.37 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.605, allocations: 0.4903 MB / 0.5424 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.6105, allocations: 1.564 MB / 0.5439 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.6105, allocations: 1.438 kB / 0.5439 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.6124, allocations: 0.5009 MB / 0.5444 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/0.6155, allocations: 316.3 kB / 0.5447 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.6211, allocations: 2.037 MB / 0.5467 GB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.6219, allocations: 1.026 MB / 0.5477 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.6224, allocations: 84.2 kB / 0.5478 GB, free: 8.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6224, allocations: 0 / 0.5478 GB, free: 8.438 MB / 378.7 MB Notification: Performance of Templates: time 0.05029/0.6727, allocations: 22.59 MB / 0.5698 GB, free: 7.832 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)