Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01208/0.01208, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006695/0.006695, allocations: 79.75 kB / 24.44 MB, free: 7.008 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.001468/0.001468, allocations: 165.4 kB / 28.2 MB, free: 4.52 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.455/1.455, allocations: 177.1 MB / 209 MB, free: 2.812 MB / 186.7 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.124/1.124, allocations: 102.5 MB / 368.3 MB, free: 1.293 MB / 330.8 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.5.2 (/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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.33e-06, allocations: 4 kB / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.774e-05, allocations: 4.562 kB / 468.3 MB, free: 13.52 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.1834/0.1834, allocations: 56.91 MB / 0.5129 GB, free: 4.605 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.4969, allocations: 16.69 MB / 0.5292 GB, free: 70.49 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.4986, allocations: 49.78 kB / 0.5292 GB, free: 70.46 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.003066/0.5017, allocations: 1.216 MB / 0.5304 GB, free: 69.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.5053, allocations: 1.309 MB / 0.5317 GB, free: 69.21 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.5104, allocations: 1.876 MB / 0.5335 GB, free: 68.28 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.5151, allocations: 2.799 MB / 0.5363 GB, free: 66.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.517, allocations: 0.8978 MB / 0.5371 GB, free: 66.32 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.5207, allocations: 1.577 MB / 0.5387 GB, free: 65.65 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.5231, allocations: 1.177 MB / 0.5398 GB, free: 65.3 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000804/0.5239, allocations: 200.8 kB / 0.54 GB, free: 65.3 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09221/0.6161, allocations: 17.23 MB / 0.5569 GB, free: 55.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.6175, allocations: 0.6808 MB / 0.5575 GB, free: 55.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.6191, allocations: 0.6939 MB / 0.5582 GB, free: 55.11 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.6293, allocations: 4.432 MB / 0.5625 GB, free: 53.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6293, allocations: 1.531 kB / 0.5625 GB, free: 53.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6293, allocations: 0.8438 kB / 0.5625 GB, free: 53.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001123/0.6294, allocations: 0 / 0.5625 GB, free: 53.52 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.007345/0.6368, allocations: 3.013 MB / 0.5655 GB, free: 51.6 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6368, allocations: 9.625 kB / 0.5655 GB, free: 51.6 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.6381, allocations: 424.4 kB / 0.5659 GB, free: 51.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.6436, allocations: 2.644 MB / 0.5685 GB, free: 50.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.6437, allocations: 86.3 kB / 0.5685 GB, free: 50.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6439, allocations: 118.1 kB / 0.5687 GB, free: 50.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.6486, allocations: 2.437 MB / 0.571 GB, free: 48.34 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.6486, allocations: 17.33 kB / 0.5711 GB, free: 48.33 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6487, allocations: 57.69 kB / 0.5711 GB, free: 48.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.6488, allocations: 36.22 kB / 0.5711 GB, free: 48.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.6528, allocations: 1.651 MB / 0.5728 GB, free: 47.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008335/0.6611, allocations: 9.548 MB / 0.5821 GB, free: 38.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.6646, allocations: 1.318 MB / 0.5834 GB, free: 37.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.6655, allocations: 0.5543 MB / 0.5839 GB, free: 37.24 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.6657, allocations: 68.56 kB / 0.584 GB, free: 37.18 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/0.6683, allocations: 1.287 MB / 0.5852 GB, free: 35.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=178): time 3.667e-06/0.6684, allocations: 0 / 0.5852 GB, free: 35.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=179): time 0.01678/0.6851, allocations: 8.857 MB / 0.5939 GB, free: 26.84 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.6853, allocations: 0.5048 MB / 0.5944 GB, free: 26.22 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.6888, allocations: 1.981 MB / 0.5963 GB, free: 24.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.6891, allocations: 49.69 kB / 0.5964 GB, free: 24.15 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007667/0.6899, allocations: 0.9104 MB / 0.5972 GB, free: 23.23 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00074/0.6907, allocations: 0.6002 MB / 0.5978 GB, free: 22.62 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008875/0.6915, allocations: 431.3 kB / 0.5982 GB, free: 22.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.6916, allocations: 303.8 kB / 0.5985 GB, free: 21.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6929, allocations: 0.7191 MB / 0.5992 GB, free: 21.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.6945, allocations: 1.389 MB / 0.6006 GB, free: 19.46 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.6974, allocations: 2.168 MB / 0.6027 GB, free: 17.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.6974, allocations: 8 kB / 0.6027 GB, free: 17.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005177/0.7026, allocations: 2.611 MB / 0.6053 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.7027, allocations: 79.3 kB / 0.6053 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003335/0.706, allocations: 1.811 MB / 0.6071 GB, free: 12.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000826/0.7068, allocations: 135.4 kB / 0.6072 GB, free: 12.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.7083, allocations: 0.4952 MB / 0.6077 GB, free: 11.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006646/0.7149, allocations: 2.395 MB / 0.6101 GB, free: 9.387 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.717, allocations: 91.72 kB / 0.6101 GB, free: 9.297 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/0.7175, allocations: 131.9 kB / 0.6103 GB, free: 9.168 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002573/0.7201, allocations: 1.146 MB / 0.6114 GB, free: 8.008 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001698/0.7218, allocations: 1.381 MB / 0.6127 GB, free: 6.316 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002887/0.7246, allocations: 2.152 MB / 0.6148 GB, free: 3.891 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.789e-05/0.7247, allocations: 4 kB / 0.6148 GB, free: 3.887 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.005091/0.7297, allocations: 2.619 MB / 0.6174 GB, free: 1.246 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.7298, allocations: 82.02 kB / 0.6175 GB, free: 1.156 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003654/0.7335, allocations: 1.796 MB / 0.6192 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/0.7343, allocations: 131.4 kB / 0.6194 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.7361, allocations: 0.4952 MB / 0.6198 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007809/0.7439, allocations: 2.397 MB / 0.6222 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.7459, allocations: 91.77 kB / 0.6223 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004964/0.7464, allocations: 123.9 kB / 0.6224 GB, free: 12.06 MB / 0.4949 GB 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.0009736/0.7474, allocations: 388.1 kB / 0.6228 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.7484, allocations: 274.4 kB / 0.623 GB, free: 11.39 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.004977/0.7534, allocations: 2.043 MB / 0.625 GB, free: 9.418 MB / 0.4949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.487786432029679]