Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01384/0.01384, allocations: 1.749 MB / 21.35 MB, free: 0.582 MB / 14.72 MB " [Timeout remaining time 180] 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.001651/0.001651, allocations: 108 kB / 24.94 MB, free: 2.168 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.002687/0.002687, allocations: 203.8 kB / 28.67 MB, free: 3.457 MB / 19.63 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.478/1.478, allocations: 230.6 MB / 262.9 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.068/1.068, allocations: 130.7 MB / 450.4 MB, free: 6.559 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) 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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI_speed.I.y|Time|speed.phi|speed.w|variableGradientLimiter1.y_aux",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1") translateModel(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI_speed.I.y|Time|speed.phi|speed.w|variableGradientLimiter1.y_aux",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03759/0.03759, allocations: 20.79 MB / 0.6369 GB, free: 4.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2421, allocations: 81.91 MB / 0.7169 GB, free: 2.633 MB / 0.5294 GB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1): time 0.571/0.8131, allocations: 52.74 MB / 0.7684 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.8409, allocations: 17.65 MB / 0.7857 GB, free: 2.699 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006536/0.8474, allocations: 117.1 kB / 0.7858 GB, free: 2.645 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/Basics/Interfaces/CycleSumModel.mo:3:3-3:52:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.00624/0.8537, allocations: 1.805 MB / 0.7876 GB, free: 1.738 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.8637, allocations: 2.364 MB / 0.7899 GB, free: 256 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.874, allocations: 2.953 MB / 0.7927 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01462/0.8887, allocations: 6.166 MB / 0.7988 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/0.8946, allocations: 1.985 MB / 0.8007 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006643/0.9012, allocations: 2.542 MB / 0.8032 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006238/0.9075, allocations: 2.693 MB / 0.8058 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.9097, allocations: 432.2 kB / 0.8062 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.9165, allocations: 2.036 MB / 0.8082 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.9192, allocations: 1.297 MB / 0.8095 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005389/0.9246, allocations: 2.412 MB / 0.8118 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.9397, allocations: 7.256 MB / 0.8189 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9397, allocations: 0 / 0.8189 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9397, allocations: 0 / 0.8189 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002668/0.9399, allocations: 0 / 0.8189 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 927 * Number of variables: 927 Notification: Performance of Generate backend data structure: time 0.01456/0.9545, allocations: 5.417 MB / 0.8242 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9545, allocations: 8.031 kB / 0.8242 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.9572, allocations: 0.6676 MB / 0.8249 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/0.9664, allocations: 3.885 MB / 0.8287 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.9667, allocations: 213.7 kB / 0.8289 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008491/0.9675, allocations: 276 kB / 0.8291 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.9825, allocations: 5.334 MB / 0.8343 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.9827, allocations: 39.64 kB / 0.8344 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.9833, allocations: 134.7 kB / 0.8345 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.9834, allocations: 91.98 kB / 0.8346 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.9939, allocations: 3.698 MB / 0.8382 GB, free: 5.727 MB / 0.6075 GB 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.03335/1.027, allocations: 26.05 MB / 0.8637 GB, free: 10.8 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009321/1.037, allocations: 3.037 MB / 0.8666 GB, free: 7.691 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/1.039, allocations: 1.011 MB / 0.8676 GB, free: 6.637 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/1.04, allocations: 127.6 kB / 0.8677 GB, free: 6.52 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007613/1.047, allocations: 2.505 MB / 0.8702 GB, free: 3.949 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=406): time 9.457e-06/1.047, allocations: 0 / 0.8702 GB, free: 3.949 MB / 0.6388 GB Notification: Performance of matching and sorting (n=409): time 0.04534/1.093, allocations: 19.97 MB / 0.8897 GB, free: 15.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004167/1.093, allocations: 0.6671 MB / 0.8903 GB, free: 15.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/1.099, allocations: 3.543 MB / 0.8938 GB, free: 11.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000696/1.1, allocations: 65.7 kB / 0.8938 GB, free: 11.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.101, allocations: 1.92 MB / 0.8957 GB, free: 9.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.103, allocations: 1.398 MB / 0.8971 GB, free: 8.086 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/1.104, allocations: 0.9083 MB / 0.898 GB, free: 7.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.105, allocations: 305.1 kB / 0.8983 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/1.107, allocations: 1.398 MB / 0.8996 GB, free: 5.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/1.111, allocations: 2.813 MB / 0.9024 GB, free: 2.035 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/1.118, allocations: 4.524 MB / 0.9068 GB, free: 12.97 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/1.118, allocations: 12 kB / 0.9068 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.0106/1.129, allocations: 4.917 MB / 0.9116 GB, free: 8.051 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/1.129, allocations: 24 kB / 0.9116 GB, free: 8.027 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006603/1.136, allocations: 3.223 MB / 0.9148 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006021/1.142, allocations: 1.108 MB / 0.9159 GB, free: 3.727 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/1.146, allocations: 1.123 MB / 0.917 GB, free: 2.602 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/1.15, allocations: 2.543 MB / 0.9194 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/1.154, allocations: 210.3 kB / 0.9196 GB, free: 15.73 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.155, allocations: 291.8 kB / 0.9199 GB, free: 15.45 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006675/1.161, allocations: 2.08 MB / 0.922 GB, free: 13.36 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005047/1.167, allocations: 2.794 MB / 0.9247 GB, free: 9.957 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00846/1.175, allocations: 4.477 MB / 0.9291 GB, free: 4.941 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.613e-05/1.175, allocations: 12 kB / 0.9291 GB, free: 4.93 MB / 0.7013 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.0126/1.188, allocations: 4.789 MB / 0.9337 GB, free: 148 kB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/1.188, allocations: 24 kB / 0.9338 GB, free: 124 kB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007319/1.195, allocations: 3.098 MB / 0.9368 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/1.196, allocations: 198.1 kB / 0.937 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.2, allocations: 1.161 MB / 0.9381 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/1.203, allocations: 3.206 MB / 0.9412 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.207, allocations: 207.6 kB / 0.9414 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.208, allocations: 289.4 kB / 0.9417 GB, free: 7.746 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.rampSetPoint.nextTimeEvent,$whenCondition1,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,rampSetPoint.nextTimeEventScaled,$PRE.rampSetPoint.nextTimeEventScaled,rampSetPoint.nextTimeEvent,PI_speed.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (593): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.001863/1.21, allocations: 477 kB / 0.9422 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/1.212, allocations: 460.8 kB / 0.9426 GB, free: 6.824 MB / 0.7169 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 588 equation(s) and 558 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.223, allocations: 4.36 MB / 0.9469 GB, free: 2.645 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.3067913700360805] Failed to read output from testmodel.py, exit status != 0: 1.445636936929077 1.461519749 0.5184411800000001 Calling exit ...