Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet.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.005959/0.005959, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0006501/0.0006501, allocations: 91.45 kB / 24.16 MB, free: 396 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.0007386/0.0007386, allocations: 165.8 kB / 27.86 MB, free: 5.496 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.8409/0.8409, allocations: 177.2 MB / 208.6 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6787/0.6787, allocations: 102.4 MB / 367.9 MB, free: 1.461 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_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5366 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.802e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.8 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.Pumps.Check.TestPump_L1_OffDesignInlet): time 0.109/0.1091, allocations: 56.76 MB / 0.5921 GB, free: 3.289 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1262, allocations: 16.82 MB / 0.6085 GB, free: 2.406 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1275, allocations: 47.69 kB / 0.6086 GB, free: 2.359 MB / 0.4949 GB [/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.002591/0.1301, allocations: 1.134 MB / 0.6097 GB, free: 1.219 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.133, allocations: 1.242 MB / 0.6109 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.1366, allocations: 1.951 MB / 0.6128 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.1394, allocations: 2.808 MB / 0.6155 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.1403, allocations: 0.8353 MB / 0.6163 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.1418, allocations: 1.57 MB / 0.6179 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1429, allocations: 1.089 MB / 0.6189 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.143, allocations: 204 kB / 0.6191 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.146, allocations: 1.82 MB / 0.6209 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.1464, allocations: 0.6539 MB / 0.6215 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.147, allocations: 0.7011 MB / 0.6222 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.1521, allocations: 4.467 MB / 0.6266 GB, free: 15.8 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1521, allocations: 3.984 kB / 0.6266 GB, free: 15.8 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1521, allocations: 0 / 0.6266 GB, free: 15.8 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.1521, allocations: 8 kB / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.003322/0.1554, allocations: 2.982 MB / 0.6295 GB, free: 12.74 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1554, allocations: 8.031 kB / 0.6295 GB, free: 12.73 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.156, allocations: 331.1 kB / 0.6298 GB, free: 12.41 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.1589, allocations: 2.564 MB / 0.6323 GB, free: 9.805 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.1589, allocations: 90.53 kB / 0.6324 GB, free: 9.715 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1591, allocations: 116.3 kB / 0.6325 GB, free: 9.602 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.1619, allocations: 2.464 MB / 0.6349 GB, free: 6.781 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.1619, allocations: 15.81 kB / 0.635 GB, free: 6.766 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.162, allocations: 56 kB / 0.635 GB, free: 6.711 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.162, allocations: 36 kB / 0.6351 GB, free: 6.676 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.1645, allocations: 1.679 MB / 0.6367 GB, free: 4.973 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00699/0.1715, allocations: 9.515 MB / 0.646 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.1739, allocations: 1.393 MB / 0.6473 GB, free: 9.648 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.1746, allocations: 0.5914 MB / 0.6479 GB, free: 9.023 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.1748, allocations: 84.81 kB / 0.648 GB, free: 8.938 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/0.1767, allocations: 1.366 MB / 0.6493 GB, free: 7.484 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=192): time 3.366e-06/0.1767, allocations: 4 kB / 0.6493 GB, free: 7.48 MB / 0.5418 GB Notification: Performance of matching and sorting (n=193): time 0.01017/0.1869, allocations: 8.457 MB / 0.6576 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.1871, allocations: 0.5241 MB / 0.6581 GB, free: 14.22 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.1889, allocations: 1.829 MB / 0.6599 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.1889, allocations: 41.7 kB / 0.6599 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.1894, allocations: 0.8671 MB / 0.6608 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.1898, allocations: 0.6312 MB / 0.6614 GB, free: 10.79 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.1902, allocations: 431.5 kB / 0.6618 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.1903, allocations: 305.1 kB / 0.6621 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/0.1912, allocations: 0.7366 MB / 0.6628 GB, free: 9.301 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1923, allocations: 1.389 MB / 0.6642 GB, free: 7.605 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.1944, allocations: 2.183 MB / 0.6663 GB, free: 5.121 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1944, allocations: 8 kB / 0.6663 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003233/0.1977, allocations: 2.563 MB / 0.6688 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.1977, allocations: 119.9 kB / 0.6689 GB, free: 2.363 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002271/0.2, allocations: 1.876 MB / 0.6708 GB, free: 460 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.2004, allocations: 112.9 kB / 0.6709 GB, free: 344 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.2012, allocations: 0.503 MB / 0.6714 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.2049, allocations: 2.397 MB / 0.6737 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.206, allocations: 87.77 kB / 0.6738 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.2062, allocations: 127.9 kB / 0.6739 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00166/0.2079, allocations: 1.13 MB / 0.675 GB, free: 11.97 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.209, allocations: 1.393 MB / 0.6764 GB, free: 10.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002176/0.2112, allocations: 2.163 MB / 0.6785 GB, free: 7.805 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.157e-06/0.2112, allocations: 11.94 kB / 0.6785 GB, free: 7.793 MB / 0.573 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003378/0.2146, allocations: 2.567 MB / 0.681 GB, free: 5.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2147, allocations: 113.1 kB / 0.6811 GB, free: 5.051 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002435/0.2172, allocations: 1.864 MB / 0.6829 GB, free: 3.148 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.2175, allocations: 116.8 kB / 0.683 GB, free: 3.031 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.2183, allocations: 0.4914 MB / 0.6835 GB, free: 2.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.2219, allocations: 2.394 MB / 0.6859 GB, free: 48 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.2228, allocations: 91.81 kB / 0.6859 GB, free: 15.95 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.223, allocations: 136 kB / 0.6861 GB, free: 15.82 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (Delta_T_in_Ramp.nextEventScaled,Delta_T_in_Ramp.nextEvent,$PRE.Delta_T_in_Ramp.nextEvent,Delta_T_in_Ramp.last,Delta_T_in_Ramp.b,Delta_T_in_Ramp.a,Delta_p_out_Ramp.nextEventScaled,Delta_p_out_Ramp.nextEvent,$PRE.Delta_p_out_Ramp.nextEvent,Delta_p_out_Ramp.last,Delta_p_out_Ramp.b,Delta_p_out_Ramp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 3 * 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.0007682/0.2237, allocations: 426.6 kB / 0.6865 GB, free: 15.38 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.2241, allocations: 230.5 kB / 0.6867 GB, free: 15.15 MB / 0.5887 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 223 equation(s) and 215 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump2.summary.inlet.steamQuality, pump2.fluidIn.cp, pump2.fluidIn.cv, pump2.fluidIn.beta, pump2.fluidIn.kappa, pump2.fluidIn.drhodp_hxi, pump2.fluidIn.drhodh_pxi, _, pump2.fluidIn.w, pump2.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) 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.002448/0.2265, allocations: 2.078 MB / 0.6887 GB, free: 13.03 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1444317353889346] Failed to read output from testmodel.py, exit status != 0: 0.6195995789021254 0.629330314 0.47537166499999994 Calling exit ...