Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.00133/0.00133, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001393/0.001393, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.211, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.03229/0.2433, allocations: 27.66 MB / 460 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2572, allocations: 9.353 MB / 469.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006139/0.2578, allocations: 47.56 kB / 469.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.259, allocations: 469.1 kB / 469.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.263, allocations: 1.941 MB / 471.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.269, allocations: 2.806 MB / 474.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.2733, allocations: 3.826 MB / 478.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2747, allocations: 0.9865 MB / 479.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2771, allocations: 1.593 MB / 481 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.2791, allocations: 1.511 MB / 482.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.2794, allocations: 159.9 kB / 482.7 MB, free: 4.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.2826, allocations: 1.736 MB / 484.4 MB, free: 2.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005977/0.2832, allocations: 0.5843 MB / 485 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007786/0.284, allocations: 0.6847 MB / 485.7 MB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.288, allocations: 3.271 MB / 488.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2881, allocations: 0 / 488.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2881, allocations: 3.938 kB / 489 MB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.2881, allocations: 0 / 489 MB, free: 13.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.005233/0.2933, allocations: 2.028 MB / 491 MB, free: 11.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2933, allocations: 12.03 kB / 491 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.2939, allocations: 167 kB / 491.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.2957, allocations: 0.8927 MB / 492 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.296, allocations: 371 kB / 492.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.2962, allocations: 99.94 kB / 492.5 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.2996, allocations: 2.138 MB / 494.6 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.2996, allocations: 3.938 kB / 494.6 MB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.2998, allocations: 51.91 kB / 494.7 MB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.2999, allocations: 97.98 kB / 494.8 MB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.3031, allocations: 1.768 MB / 496.6 MB, free: 6.035 MB / 398.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.01171/0.3148, allocations: 5.464 MB / 0.4903 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.3176, allocations: 1.408 MB / 0.4916 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3191, allocations: 0.8183 MB / 0.4924 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.3197, allocations: 120.9 kB / 0.4926 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.3198, allocations: 47.56 kB / 0.4926 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 2.815e-06/0.3198, allocations: 0 / 0.4926 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=128): time 0.01763/0.3374, allocations: 6.299 MB / 0.4987 GB, free: 7.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3375, allocations: 171.5 kB / 0.4989 GB, free: 7.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3385, allocations: 0.7938 MB / 0.4997 GB, free: 6.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.3387, allocations: 49.7 kB / 0.4997 GB, free: 6.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.3391, allocations: 0.5323 MB / 0.5003 GB, free: 6.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.3395, allocations: 460.1 kB / 0.5007 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005395/0.3401, allocations: 267.5 kB / 0.5009 GB, free: 5.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3403, allocations: 361.9 kB / 0.5013 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.3418, allocations: 0.8558 MB / 0.5021 GB, free: 4.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.3436, allocations: 1.177 MB / 0.5033 GB, free: 2.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.3468, allocations: 1.804 MB / 0.505 GB, free: 1.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3468, allocations: 4 kB / 0.505 GB, free: 1.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005133/0.3519, allocations: 2.577 MB / 0.5076 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.352, allocations: 8 kB / 0.5076 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.352, allocations: 7.938 kB / 0.5076 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.356, allocations: 1.306 MB / 0.5088 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3571, allocations: 215.7 kB / 0.5091 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007416/0.3645, allocations: 6.442 MB / 0.5153 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.3656, allocations: 76.12 kB / 0.5154 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.3658, allocations: 59.91 kB / 0.5155 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001934/0.3677, allocations: 1.105 MB / 0.5166 GB, free: 4.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/0.3695, allocations: 1.167 MB / 0.5177 GB, free: 3.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003008/0.3725, allocations: 1.778 MB / 0.5194 GB, free: 1.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.107e-06/0.3725, allocations: 3.938 kB / 0.5194 GB, free: 1.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization_lambda0): time 0.004762/0.3773, allocations: 2.464 MB / 0.5218 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3773, allocations: 8 kB / 0.5218 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3773, allocations: 4 kB / 0.5219 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.38, allocations: 1.035 MB / 0.5229 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.3811, allocations: 223.7 kB / 0.5231 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/0.3879, allocations: 6.186 MB / 0.5291 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.389, allocations: 71.95 kB / 0.5292 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.3892, allocations: 51.97 kB / 0.5292 GB, free: 7.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (hysteresis.y,$PRE.hysteresis.y,lowerTank.inFlow[2],lowerTank.inFlow[1],lowerTank.regularFlow[2],lowerTank.regularFlow[1],upperTank.inFlow[3],upperTank.inFlow[2],upperTank.inFlow[1],upperTank.regularFlow[3],upperTank.regularFlow[2],upperTank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.3896, allocations: 264.9 kB / 0.5295 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.3898, allocations: 119.3 kB / 0.5296 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.3954, allocations: 2.766 MB / 0.5323 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.3954, allocations: 7.969 kB / 0.5323 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3954, allocations: 0 / 0.5323 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.3963, allocations: 334.9 kB / 0.5326 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.3965, allocations: 28 kB / 0.5327 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/0.3975, allocations: 59.95 kB / 0.5327 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.3978, allocations: 149 kB / 0.5329 GB, free: 3.719 MB / 446.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004624/0.4024, allocations: 1.748 MB / 0.5346 GB, free: 1.957 MB / 446.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.Tanks.TanksWithOverflow could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6517606249981327] Failed to read output from testmodel.py, exit status != 0: ['time', 'lowerTank.level', 'lowerTank.medium.h', 'upperTank.level', 'upperTank.medium.h', 'hysteresis.y'] 0.4105726909983787 0.557155139 0.266740222 Calling exit ...