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.006002/0.006002, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0007203/0.0007203, allocations: 91.45 kB / 24.16 MB, free: 400 kB / 18.57 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.0007488/0.0007488, allocations: 161.5 kB / 27.85 MB, free: 5.5 MB / 18.57 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 0.8705/0.8705, allocations: 177.2 MB / 208.6 MB, free: 2.984 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7204/0.7204, allocations: 102.5 MB / 367.9 MB, free: 1.508 MB / 330.8 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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Turbines_Check_testTurbineVLE_L1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Turbines.Check.testTurbineVLE_L1,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Turbines_Check_testTurbineVLE_L1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5362 GB, free: 39.96 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.258e-05, allocations: 3.906 kB / 0.5362 GB, free: 39.96 MB / 490.8 MB 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.1346/0.1346, allocations: 64.07 MB / 0.5987 GB, free: 12.36 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.154, allocations: 16.58 MB / 0.6149 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.1558, allocations: 115.1 kB / 0.615 GB, free: 11.61 MB / 0.5105 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.002863/0.1586, allocations: 1.766 MB / 0.6168 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1616, allocations: 2.43 MB / 0.6191 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.1666, allocations: 2.996 MB / 0.6221 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005206/0.1718, allocations: 6.349 MB / 0.6283 GB, free: 14 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.174, allocations: 2.099 MB / 0.6303 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.1777, allocations: 3.472 MB / 0.6337 GB, free: 8.359 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.1797, allocations: 2.119 MB / 0.6358 GB, free: 6.234 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.1803, allocations: 428 kB / 0.6362 GB, free: 5.816 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.1828, allocations: 1.63 MB / 0.6378 GB, free: 4.184 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007296/0.1835, allocations: 1.319 MB / 0.6391 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.185, allocations: 1.488 MB / 0.6405 GB, free: 1.367 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.1906, allocations: 7.095 MB / 0.6475 GB, free: 10.25 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1906, allocations: 0 / 0.6475 GB, free: 10.25 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1906, allocations: 0 / 0.6475 GB, free: 10.25 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001645/0.1908, allocations: 4 kB / 0.6475 GB, free: 10.25 MB / 0.5418 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.006768/0.1976, allocations: 5.354 MB / 0.6527 GB, free: 4.824 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1976, allocations: 11.97 kB / 0.6527 GB, free: 4.812 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003977/0.198, allocations: 461.9 kB / 0.6531 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1991, allocations: 0.6533 MB / 0.6538 GB, free: 3.695 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/0.2034, allocations: 3.847 MB / 0.6575 GB, free: 15.78 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.2036, allocations: 217.6 kB / 0.6577 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.2038, allocations: 279.9 kB / 0.658 GB, free: 15.29 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006077/0.2099, allocations: 5.892 MB / 0.6638 GB, free: 8.535 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/0.21, allocations: 39.67 kB / 0.6638 GB, free: 8.496 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.2102, allocations: 136 kB / 0.6639 GB, free: 8.363 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.2102, allocations: 91.98 kB / 0.664 GB, free: 8.273 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005483/0.2157, allocations: 3.683 MB / 0.6676 GB, free: 4.582 MB / 0.5574 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.01539/0.2311, allocations: 24.62 MB / 0.6917 GB, free: 11.09 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/0.2364, allocations: 3.029 MB / 0.6946 GB, free: 7.957 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.2379, allocations: 1.013 MB / 0.6956 GB, free: 6.906 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.2381, allocations: 113.9 kB / 0.6957 GB, free: 6.797 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004044/0.2422, allocations: 2.509 MB / 0.6982 GB, free: 4.215 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=406): time 4.147e-06/0.2422, allocations: 0 / 0.6982 GB, free: 4.215 MB / 0.5887 GB Notification: Performance of matching and sorting (n=409): time 0.0237/0.2659, allocations: 19.97 MB / 0.7177 GB, free: 80 kB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002612/0.2661, allocations: 0.6646 MB / 0.7183 GB, free: 15.26 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.2703, allocations: 3.621 MB / 0.7219 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.2706, allocations: 65.7 kB / 0.7219 GB, free: 11.54 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.2718, allocations: 1.902 MB / 0.7238 GB, free: 9.625 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.2728, allocations: 1.386 MB / 0.7251 GB, free: 8.227 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.274, allocations: 0.8927 MB / 0.726 GB, free: 7.324 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.2741, allocations: 305.1 kB / 0.7263 GB, free: 7.023 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.2759, allocations: 1.392 MB / 0.7277 GB, free: 5.621 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.2784, allocations: 3.005 MB / 0.7306 GB, free: 1.922 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/0.2833, allocations: 4.518 MB / 0.735 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.2834, allocations: 12 kB / 0.735 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=613) (initialization): time 0.006679/0.29, allocations: 4.917 MB / 0.7398 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2901, allocations: 24 kB / 0.7398 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003934/0.294, allocations: 3.221 MB / 0.743 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.2967, allocations: 1.12 MB / 0.7441 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.2985, allocations: 1.119 MB / 0.7452 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.3008, allocations: 2.536 MB / 0.7476 GB, free: 15.59 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.3027, allocations: 223.5 kB / 0.7479 GB, free: 15.37 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.303, allocations: 287.8 kB / 0.7481 GB, free: 15.09 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003241/0.3062, allocations: 2.085 MB / 0.7502 GB, free: 13 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002904/0.3091, allocations: 2.966 MB / 0.7531 GB, free: 9.336 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004654/0.3138, allocations: 4.475 MB / 0.7574 GB, free: 4.219 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-05/0.3138, allocations: 12 kB / 0.7574 GB, free: 4.207 MB / 0.6512 GB Notification: Performance of matching and sorting (n=613) (initialization_lambda0): time 0.2726/0.5864, allocations: 4.794 MB / 0.7621 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.5865, allocations: 24.81 kB / 0.7621 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005659/0.5921, allocations: 3.1 MB / 0.7652 GB, free: 177.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.5924, allocations: 202.6 kB / 0.7654 GB, free: 177.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.5944, allocations: 1.155 MB / 0.7665 GB, free: 177.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.5961, allocations: 3.186 MB / 0.7696 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.5982, allocations: 206.1 kB / 0.7698 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/0.5986, allocations: 285.6 kB / 0.7701 GB, free: 174.9 MB / 0.6512 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.0008932/0.5995, allocations: 469.7 kB / 0.7705 GB, free: 174.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/0.6003, allocations: 462.6 kB / 0.771 GB, free: 174.5 MB / 0.6512 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 589 equation(s) and 559 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/0.6059, allocations: 4.372 MB / 0.7752 GB, free: 173.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3764459248632193] Failed to read output from testmodel.py, exit status != 0: 0.7600473873317242 0.767273302 0.575221831 Calling exit ...