Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign.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.02186/0.02186, allocations: 1.796 MB / 21.15 MB, free: 3.25 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.002016/0.002016, allocations: 81.14 kB / 24.89 MB, free: 6.82 MB / 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.002307/0.002307, allocations: 168.7 kB / 28.74 MB, free: 3.648 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 1.514/1.514, allocations: 177.2 MB / 209.6 MB, free: 2.375 MB / 186.7 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.086/1.086, allocations: 102.5 MB / 369.1 MB, free: 0.8984 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.76e-05, allocations: 4.281 kB / 469.1 MB, free: 13.01 MB / 442.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.Pumps.Check.TestPump_L1_OffDesign): time 0.1914/0.1914, allocations: 57.89 MB / 0.5147 GB, free: 3.074 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2841/0.4755, allocations: 17.37 MB / 0.5316 GB, free: 68.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.477, allocations: 46.75 kB / 0.5317 GB, free: 68.79 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35: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.00291/0.48, allocations: 1.237 MB / 0.5329 GB, free: 68.26 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.4828, allocations: 1.312 MB / 0.5342 GB, free: 67.52 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.4872, allocations: 1.867 MB / 0.536 GB, free: 66.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.4906, allocations: 2.805 MB / 0.5387 GB, free: 65.2 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.492, allocations: 0.9177 MB / 0.5396 GB, free: 64.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.494, allocations: 1.573 MB / 0.5412 GB, free: 63.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.4955, allocations: 1.174 MB / 0.5423 GB, free: 63.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.4959, allocations: 199.4 kB / 0.5425 GB, free: 63.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.4998, allocations: 1.742 MB / 0.5442 GB, free: 63.09 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007549/0.5006, allocations: 0.684 MB / 0.5449 GB, free: 62.7 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.5018, allocations: 0.6967 MB / 0.5456 GB, free: 62.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009701/0.5115, allocations: 4.447 MB / 0.5499 GB, free: 60.78 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5115, allocations: 0 / 0.5499 GB, free: 60.78 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5115, allocations: 2.219 kB / 0.5499 GB, free: 60.78 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.636e-05/0.5115, allocations: 0 / 0.5499 GB, free: 60.78 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.008573/0.5201, allocations: 3.358 MB / 0.5532 GB, free: 58.62 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.935e-05/0.5202, allocations: 9.344 kB / 0.5532 GB, free: 58.62 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.5218, allocations: 425.1 kB / 0.5536 GB, free: 58.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/0.5289, allocations: 2.321 MB / 0.5559 GB, free: 57.31 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.529, allocations: 85.66 kB / 0.5559 GB, free: 57.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.5293, allocations: 117.2 kB / 0.5561 GB, free: 57.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00625/0.5355, allocations: 2.697 MB / 0.5587 GB, free: 55.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.5356, allocations: 15.47 kB / 0.5587 GB, free: 55.31 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.5357, allocations: 53.94 kB / 0.5588 GB, free: 55.28 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.5358, allocations: 35.92 kB / 0.5588 GB, free: 55.28 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004681/0.5405, allocations: 1.586 MB / 0.5603 GB, free: 54.81 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.5543, allocations: 13.89 MB / 0.5739 GB, free: 42.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.5581, allocations: 1.329 MB / 0.5752 GB, free: 41.63 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/0.5591, allocations: 0.5052 MB / 0.5757 GB, free: 41.33 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.5593, allocations: 81.36 kB / 0.5758 GB, free: 41.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002857/0.5622, allocations: 1.355 MB / 0.5771 GB, free: 40.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=178): time 4.007e-06/0.5622, allocations: 0 / 0.5771 GB, free: 40.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=179): time 0.01496/0.5772, allocations: 8.548 MB / 0.5854 GB, free: 33.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5773, allocations: 0.5048 MB / 0.5859 GB, free: 33.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.58, allocations: 2.391 MB / 0.5883 GB, free: 30.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.5802, allocations: 45.69 kB / 0.5883 GB, free: 30.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.5808, allocations: 1.11 MB / 0.5894 GB, free: 29.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.5813, allocations: 0.6431 MB / 0.59 GB, free: 28.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006118/0.5819, allocations: 0.506 MB / 0.5905 GB, free: 28.31 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.582, allocations: 476.8 kB / 0.591 GB, free: 27.84 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.583, allocations: 0.6528 MB / 0.5916 GB, free: 27.18 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.5846, allocations: 1.648 MB / 0.5932 GB, free: 25.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.5874, allocations: 2.373 MB / 0.5955 GB, free: 22.38 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.5874, allocations: 4 kB / 0.5955 GB, free: 22.37 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004589/0.592, allocations: 2.475 MB / 0.598 GB, free: 19.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.592, allocations: 79.38 kB / 0.598 GB, free: 19.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003089/0.5951, allocations: 1.619 MB / 0.5996 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.5959, allocations: 131.6 kB / 0.5997 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.5975, allocations: 0.4953 MB / 0.6002 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.6043, allocations: 3.006 MB / 0.6032 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.606, allocations: 91.72 kB / 0.6032 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.6062, allocations: 131.9 kB / 0.6034 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001832/0.608, allocations: 0.9435 MB / 0.6043 GB, free: 13.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001435/0.6095, allocations: 1.64 MB / 0.6059 GB, free: 11.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002595/0.6121, allocations: 2.379 MB / 0.6082 GB, free: 8.473 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.017e-06/0.6121, allocations: 4 kB / 0.6082 GB, free: 8.469 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.004479/0.6165, allocations: 2.466 MB / 0.6106 GB, free: 5.992 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.6166, allocations: 75.39 kB / 0.6107 GB, free: 5.906 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002982/0.6196, allocations: 1.623 MB / 0.6123 GB, free: 4.266 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.6203, allocations: 134.2 kB / 0.6124 GB, free: 4.133 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.6216, allocations: 0.4914 MB / 0.6129 GB, free: 3.641 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.6283, allocations: 3.008 MB / 0.6158 GB, free: 0.5664 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6299, allocations: 83.83 kB / 0.6159 GB, free: 496 kB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/0.6302, allocations: 127.9 kB / 0.616 GB, free: 368 kB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 14 (Delta_pRamp.nextEventScaled,Delta_pRamp.nextEvent,$PRE.Delta_pRamp.nextEvent,Delta_pRamp.last,Delta_pRamp.b,Delta_pRamp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007435/0.631, allocations: 473.9 kB / 0.6165 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008953/0.6319, allocations: 278.4 kB / 0.6168 GB, free: 15.6 MB / 0.4949 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 190 equation(s) and 183 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse35, $cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44) has size 9 but 7 variables ($whenCondition1, rpmRamp.a, rpmRamp.b, rpmRamp.last, rpmRamp.nextEvent, rpmRamp.nextEventScaled, rpmRamp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.6364, allocations: 1.954 MB / 0.6187 GB, free: 13.72 MB / 0.4949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.343285763985477]