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.01228/0.01228, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001186/0.001186, allocations: 103.2 kB / 24.19 MB, free: 2.688 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.001501/0.001501, allocations: 209.4 kB / 27.92 MB, free: 4.027 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.433/1.433, allocations: 230.6 MB / 262.1 MB, free: 6.016 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.078/1.078, allocations: 130.7 MB / 449.6 MB, free: 6.613 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.03149/0.03149, allocations: 20.78 MB / 0.6362 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.199, allocations: 81.91 MB / 0.7162 GB, free: 2.672 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.514/0.713, allocations: 52.75 MB / 0.7677 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02883/0.7418, allocations: 17.66 MB / 0.785 GB, free: 2.758 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006167/0.748, allocations: 109.3 kB / 0.7851 GB, free: 2.707 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.006039/0.754, allocations: 1.806 MB / 0.7868 GB, free: 1.801 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.7628, allocations: 2.358 MB / 0.7891 GB, free: 324 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009258/0.7721, allocations: 2.961 MB / 0.792 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.7842, allocations: 6.168 MB / 0.798 GB, free: 10.85 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004855/0.789, allocations: 1.984 MB / 0.8 GB, free: 9.398 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.7952, allocations: 2.546 MB / 0.8025 GB, free: 7.91 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005542/0.8007, allocations: 2.685 MB / 0.8051 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.8023, allocations: 432 kB / 0.8055 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006121/0.8084, allocations: 2.035 MB / 0.8075 GB, free: 5.203 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.8107, allocations: 1.307 MB / 0.8088 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004768/0.8155, allocations: 2.409 MB / 0.8111 GB, free: 1.523 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.8289, allocations: 7.257 MB / 0.8182 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8289, allocations: 0 / 0.8182 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8289, allocations: 2.656 kB / 0.8182 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002663/0.8291, allocations: 0 / 0.8182 GB, free: 10.24 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.01275/0.8419, allocations: 5.413 MB / 0.8235 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8419, allocations: 11.41 kB / 0.8235 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.8439, allocations: 0.6611 MB / 0.8241 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007977/0.8518, allocations: 3.885 MB / 0.8279 GB, free: 180 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.8521, allocations: 209.6 kB / 0.8281 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.8525, allocations: 282.7 kB / 0.8284 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.8636, allocations: 5.331 MB / 0.8336 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-05/0.8637, allocations: 39.64 kB / 0.8336 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.864, allocations: 140 kB / 0.8338 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/0.8641, allocations: 88 kB / 0.8339 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009245/0.8733, allocations: 3.701 MB / 0.8375 GB, free: 5.738 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.02658/0.8999, allocations: 26.05 MB / 0.8629 GB, free: 10.81 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008303/0.9082, allocations: 3.042 MB / 0.8659 GB, free: 7.703 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.9103, allocations: 1.008 MB / 0.8669 GB, free: 6.652 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.9107, allocations: 121.8 kB / 0.867 GB, free: 6.535 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007232/0.9179, allocations: 2.505 MB / 0.8694 GB, free: 3.965 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=406): time 7.464e-06/0.9179, allocations: 0 / 0.8694 GB, free: 3.965 MB / 0.6388 GB Notification: Performance of matching and sorting (n=409): time 0.04358/0.9615, allocations: 19.97 MB / 0.8889 GB, free: 15.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005336/0.962, allocations: 0.6607 MB / 0.8896 GB, free: 15.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006611/0.9686, allocations: 3.546 MB / 0.8931 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007961/0.9694, allocations: 65.7 kB / 0.8931 GB, free: 11.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.9716, allocations: 1.914 MB / 0.895 GB, free: 9.516 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002513/0.9741, allocations: 1.402 MB / 0.8964 GB, free: 8.102 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.9758, allocations: 0.9044 MB / 0.8972 GB, free: 7.188 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.976, allocations: 309 kB / 0.8975 GB, free: 6.883 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.9788, allocations: 1.398 MB / 0.8989 GB, free: 5.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/0.983, allocations: 2.816 MB / 0.9016 GB, free: 2.051 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/0.9903, allocations: 4.529 MB / 0.9061 GB, free: 12.98 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.9903, allocations: 12 kB / 0.9061 GB, free: 12.97 MB / 0.6857 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.01022/1.001, allocations: 4.905 MB / 0.9109 GB, free: 8.062 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/1.001, allocations: 24.94 kB / 0.9109 GB, free: 8.039 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006442/1.007, allocations: 3.226 MB / 0.914 GB, free: 4.793 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00588/1.013, allocations: 1.121 MB / 0.9151 GB, free: 3.738 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/1.017, allocations: 1.123 MB / 0.9162 GB, free: 2.613 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/1.02, allocations: 2.533 MB / 0.9187 GB, free: 15.95 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.023, allocations: 214.2 kB / 0.9189 GB, free: 15.75 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000527/1.024, allocations: 291.8 kB / 0.9192 GB, free: 15.46 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004381/1.028, allocations: 2.077 MB / 0.9212 GB, free: 13.38 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003977/1.032, allocations: 2.796 MB / 0.9239 GB, free: 9.969 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007013/1.039, allocations: 4.469 MB / 0.9283 GB, free: 4.961 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.357e-05/1.039, allocations: 18.66 kB / 0.9283 GB, free: 4.945 MB / 0.7013 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.009631/1.049, allocations: 4.791 MB / 0.933 GB, free: 164 kB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.049, allocations: 24 kB / 0.933 GB, free: 140 kB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006316/1.055, allocations: 3.102 MB / 0.9361 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/1.055, allocations: 195 kB / 0.9362 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/1.059, allocations: 1.158 MB / 0.9374 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/1.063, allocations: 3.206 MB / 0.9405 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.066, allocations: 209.4 kB / 0.9407 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006874/1.066, allocations: 287.8 kB / 0.941 GB, free: 7.766 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.001331/1.068, allocations: 481.6 kB / 0.9414 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.069, allocations: 467.5 kB / 0.9419 GB, free: 6.836 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.009378/1.078, allocations: 4.355 MB / 0.9461 GB, free: 2.656 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.913488800870255] Failed to read output from testmodel.py, exit status != 0: 1.2599578760564327 1.276063239 0.44387013200000003 Calling exit ...