Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01075/0.01075, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001351/0.001351, allocations: 103.3 kB / 24.94 MB, free: 2.176 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.001869/0.001869, allocations: 208.5 kB / 28.67 MB, free: 3.461 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.533/1.533, allocations: 230.6 MB / 262.8 MB, free: 6.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.097/1.097, allocations: 130.7 MB / 450.4 MB, free: 6.617 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_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.03257/0.03257, allocations: 20.77 MB / 0.637 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.2213, allocations: 81.91 MB / 0.7169 GB, free: 2.656 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.5365/0.7577, allocations: 52.75 MB / 0.7685 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02672/0.7844, allocations: 17.66 MB / 0.7857 GB, free: 2.691 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005851/0.7903, allocations: 109.9 kB / 0.7858 GB, free: 2.641 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.005483/0.7958, allocations: 1.813 MB / 0.7876 GB, free: 1.73 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008494/0.8043, allocations: 2.354 MB / 0.7899 GB, free: 256 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008811/0.8131, allocations: 2.956 MB / 0.7928 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.8264, allocations: 6.165 MB / 0.7988 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004988/0.8314, allocations: 1.989 MB / 0.8007 GB, free: 9.352 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006658/0.838, allocations: 2.551 MB / 0.8032 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007159/0.8452, allocations: 2.684 MB / 0.8058 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.8479, allocations: 427.9 kB / 0.8062 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007592/0.8555, allocations: 2.04 MB / 0.8082 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.8583, allocations: 1.303 MB / 0.8095 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.006047/0.8643, allocations: 2.412 MB / 0.8119 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.881, allocations: 7.245 MB / 0.8189 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.881, allocations: 4 kB / 0.8189 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.881, allocations: 0 / 0.8189 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003947/0.8814, allocations: 0 / 0.8189 GB, free: 10.27 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.01761/0.899, allocations: 5.42 MB / 0.8242 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.899, allocations: 12.03 kB / 0.8242 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.9018, allocations: 0.6572 MB / 0.8249 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009021/0.9108, allocations: 3.885 MB / 0.8287 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.9111, allocations: 205.7 kB / 0.8289 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007925/0.9119, allocations: 276 kB / 0.8291 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.9253, allocations: 5.341 MB / 0.8344 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.9254, allocations: 39.64 kB / 0.8344 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005317/0.926, allocations: 136 kB / 0.8345 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.9261, allocations: 94.66 kB / 0.8346 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.9366, allocations: 3.701 MB / 0.8382 GB, free: 5.762 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.03104/0.9676, allocations: 26.05 MB / 0.8637 GB, free: 10.83 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008543/0.9762, allocations: 3.041 MB / 0.8666 GB, free: 7.723 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.9784, allocations: 1.006 MB / 0.8676 GB, free: 6.676 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.9788, allocations: 126.2 kB / 0.8677 GB, free: 6.555 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007293/0.9861, allocations: 2.505 MB / 0.8702 GB, free: 3.984 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=406): time 9.017e-06/0.9861, allocations: 3.938 kB / 0.8702 GB, free: 3.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=409): time 0.04493/1.031, allocations: 19.97 MB / 0.8897 GB, free: 15.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004066/1.031, allocations: 0.6607 MB / 0.8903 GB, free: 15.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/1.037, allocations: 3.55 MB / 0.8938 GB, free: 11.53 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006974/1.038, allocations: 61.7 kB / 0.8939 GB, free: 11.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.04, allocations: 1.914 MB / 0.8957 GB, free: 9.535 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.042, allocations: 1.398 MB / 0.8971 GB, free: 8.125 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/1.043, allocations: 0.9083 MB / 0.898 GB, free: 7.207 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.043, allocations: 311.8 kB / 0.8983 GB, free: 6.902 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002733/1.046, allocations: 1.392 MB / 0.8996 GB, free: 5.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/1.05, allocations: 2.827 MB / 0.9024 GB, free: 2.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/1.057, allocations: 4.517 MB / 0.9068 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/1.057, allocations: 14.62 kB / 0.9068 GB, free: 13 MB / 0.6857 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.009886/1.067, allocations: 4.911 MB / 0.9116 GB, free: 8.086 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/1.067, allocations: 25.41 kB / 0.9116 GB, free: 8.062 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006421/1.074, allocations: 3.224 MB / 0.9148 GB, free: 4.816 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006134/1.08, allocations: 1.111 MB / 0.9159 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/1.084, allocations: 1.119 MB / 0.917 GB, free: 2.641 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/1.087, allocations: 2.542 MB / 0.9195 GB, free: 15.97 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.09, allocations: 214.3 kB / 0.9197 GB, free: 15.77 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000817/1.091, allocations: 287.8 kB / 0.9199 GB, free: 15.49 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00511/1.096, allocations: 2.081 MB / 0.922 GB, free: 13.4 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00456/1.101, allocations: 2.8 MB / 0.9247 GB, free: 9.988 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007801/1.109, allocations: 4.466 MB / 0.9291 GB, free: 4.98 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-05/1.109, allocations: 14.66 kB / 0.9291 GB, free: 4.969 MB / 0.7013 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.01112/1.12, allocations: 4.788 MB / 0.9338 GB, free: 192 kB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/1.12, allocations: 27.98 kB / 0.9338 GB, free: 164 kB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006799/1.127, allocations: 3.101 MB / 0.9368 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/1.127, allocations: 195.1 kB / 0.937 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.131, allocations: 1.159 MB / 0.9381 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/1.135, allocations: 3.215 MB / 0.9413 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.138, allocations: 209.8 kB / 0.9415 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006894/1.138, allocations: 290.5 kB / 0.9417 GB, free: 7.781 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.001377/1.14, allocations: 474.4 kB / 0.9422 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.141, allocations: 460.8 kB / 0.9426 GB, free: 6.859 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.009866/1.151, allocations: 4.361 MB / 0.9469 GB, free: 2.676 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.21390704694204] Failed to read output from testmodel.py, exit status != 0: 1.3604234191589057 1.375316332 0.491149731 Calling exit ...