Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 98.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3228/0.3228, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 62.01 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01499/0.3484, allocations: 17.26 MB / 0.532 GB, free: 25.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008557/0.357, allocations: 7.317 MB / 0.5392 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.3581, allocations: 30.31 kB / 0.5392 GB, free: 20.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.359, allocations: 344.6 kB / 0.5395 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3609, allocations: 0.9604 MB / 0.5405 GB, free: 19.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.3653, allocations: 1.664 MB / 0.5421 GB, free: 18.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004209/0.3695, allocations: 3.079 MB / 0.5451 GB, free: 17.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.371, allocations: 0.5727 MB / 0.5456 GB, free: 17.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.3731, allocations: 0.752 MB / 0.5464 GB, free: 17.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.3752, allocations: 0.838 MB / 0.5472 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005097/0.3757, allocations: 48.12 kB / 0.5472 GB, free: 17.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.3801, allocations: 1.294 MB / 0.5485 GB, free: 16.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009216/0.381, allocations: 294.6 kB / 0.5488 GB, free: 16.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.383, allocations: 465.2 kB / 0.5492 GB, free: 16.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.3882, allocations: 1.947 MB / 0.5511 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3883, allocations: 1.375 kB / 0.5511 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3883, allocations: 0 / 0.5511 GB, free: 15.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.642e-05/0.3883, allocations: 4 kB / 0.5511 GB, free: 15.73 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.004374/0.3927, allocations: 1.388 MB / 0.5525 GB, free: 14.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3928, allocations: 9.125 kB / 0.5525 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.3933, allocations: 115.4 kB / 0.5526 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3945, allocations: 0.6259 MB / 0.5532 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3946, allocations: 103.8 kB / 0.5533 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3947, allocations: 56.55 kB / 0.5534 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3963, allocations: 1.011 MB / 0.5544 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.3963, allocations: 1.438 kB / 0.5544 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.3964, allocations: 27.48 kB / 0.5544 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/0.3965, allocations: 50.72 kB / 0.5544 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3978, allocations: 0.9229 MB / 0.5553 GB, free: 12.87 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.007142/0.405, allocations: 4.064 MB / 0.5593 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4063, allocations: 0.6556 MB / 0.5599 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.407, allocations: 406.8 kB / 0.5603 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003043/0.41, allocations: 2.348 MB / 0.5626 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/0.4107, allocations: 0.492 MB / 0.5631 GB, free: 6.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.4107, allocations: 0 / 0.5631 GB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.005256/0.416, allocations: 2.602 MB / 0.5656 GB, free: 4.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.4161, allocations: 255.9 kB / 0.5659 GB, free: 4.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.4171, allocations: 0.8417 MB / 0.5667 GB, free: 3.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.4171, allocations: 37.7 kB / 0.5668 GB, free: 3.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4173, allocations: 419.7 kB / 0.5672 GB, free: 3.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4175, allocations: 177.5 kB / 0.5673 GB, free: 3.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4177, allocations: 170.5 kB / 0.5675 GB, free: 3.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.4178, allocations: 334 kB / 0.5678 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.4182, allocations: 384.6 kB / 0.5682 GB, free: 2.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.4188, allocations: 0.6134 MB / 0.5688 GB, free: 1.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/0.4198, allocations: 0.9788 MB / 0.5697 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4198, allocations: 0 / 0.5697 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001911/0.4217, allocations: 1.282 MB / 0.571 GB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.4218, allocations: 37.7 kB / 0.571 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4218, allocations: 12 kB / 0.571 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/0.4228, allocations: 361.5 kB / 0.5714 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.4234, allocations: 151.7 kB / 0.5715 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4247, allocations: 1.456 MB / 0.5729 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.4256, allocations: 39.98 kB / 0.573 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.4257, allocations: 35.98 kB / 0.573 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009686/0.4266, allocations: 0.5643 MB / 0.5736 GB, free: 12.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007676/0.4274, allocations: 0.6192 MB / 0.5742 GB, free: 11.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001206/0.4286, allocations: 0.9641 MB / 0.5751 GB, free: 10.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.4286, allocations: 4 kB / 0.5751 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002109/0.4308, allocations: 1.259 MB / 0.5763 GB, free: 9.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.4308, allocations: 37.69 kB / 0.5764 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4308, allocations: 12.03 kB / 0.5764 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008052/0.4316, allocations: 345.5 kB / 0.5767 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.4322, allocations: 151.7 kB / 0.5769 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4335, allocations: 1.429 MB / 0.5783 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.4343, allocations: 56 kB / 0.5783 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.4344, allocations: 39.98 kB / 0.5783 GB, free: 7.367 MB / 394.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 (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.0003677/0.4348, allocations: 264.1 kB / 0.5786 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.435, allocations: 94.91 kB / 0.5787 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.4371, allocations: 1.096 MB / 0.5798 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4371, allocations: 8 kB / 0.5798 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4371, allocations: 0 / 0.5798 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4372, allocations: 7.922 kB / 0.5798 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.4404, allocations: 1.948 MB / 0.5817 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4404, allocations: 0 / 0.5817 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.4409, allocations: 87.83 kB / 0.5818 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008664/0.4417, allocations: 349.4 kB / 0.5821 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.4418, allocations: 19.98 kB / 0.5821 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.4431, allocations: 1.442 MB / 0.5835 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4432, allocations: 4.078 kB / 0.5835 GB, free: 1.91 MB / 394.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.163/0.6062, allocations: 20.29 MB / 0.6033 GB, free: 13.34 MB / 426.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.