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.01463/0.01463, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.0009424/0.0009424, allocations: 83.36 kB / 25.15 MB, free: 7.469 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.001118/0.001118, allocations: 166.2 kB / 29.06 MB, free: 3.672 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.9753/0.9753, allocations: 177.1 MB / 210 MB, free: 3.645 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.6537/0.6537, allocations: 102.4 MB / 369.5 MB, free: 416 kB / 330.7 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 1.0.0 (/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.285e-06/2.285e-06, allocations: 3.938 kB / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.36e-05, allocations: 2.312 kB / 469.9 MB, free: 19.02 MB / 410.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.1274/0.1274, allocations: 60.35 MB / 0.5179 GB, free: 11.65 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.1457, allocations: 17.65 MB / 0.5351 GB, free: 9.949 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/0.1466, allocations: 47.62 kB / 0.5351 GB, free: 9.902 MB / 458.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.002205/0.1488, allocations: 1.14 MB / 0.5363 GB, free: 8.758 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.1505, allocations: 1.242 MB / 0.5375 GB, free: 7.508 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.1535, allocations: 1.948 MB / 0.5394 GB, free: 5.555 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1556, allocations: 2.812 MB / 0.5421 GB, free: 2.73 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.1565, allocations: 0.9099 MB / 0.543 GB, free: 1.801 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1577, allocations: 1.578 MB / 0.5446 GB, free: 224 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009821/0.1587, allocations: 1.081 MB / 0.5456 GB, free: 15.14 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.1589, allocations: 200 kB / 0.5458 GB, free: 14.94 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.1614, allocations: 1.815 MB / 0.5476 GB, free: 13.12 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.1618, allocations: 0.6578 MB / 0.5482 GB, free: 12.46 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.1623, allocations: 0.7012 MB / 0.5489 GB, free: 11.76 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.1653, allocations: 3.457 MB / 0.5523 GB, free: 8.293 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1653, allocations: 0 / 0.5523 GB, free: 8.293 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1653, allocations: 3.938 kB / 0.5523 GB, free: 8.289 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1654, allocations: 0 / 0.5523 GB, free: 8.289 MB / 474.8 MB 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.002985/0.1683, allocations: 3.155 MB / 0.5554 GB, free: 5.055 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1684, allocations: 8.031 kB / 0.5554 GB, free: 5.047 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.1689, allocations: 419 kB / 0.5558 GB, free: 4.637 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.1713, allocations: 2.314 MB / 0.558 GB, free: 2.281 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.1713, allocations: 90.53 kB / 0.5581 GB, free: 2.191 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1715, allocations: 112.4 kB / 0.5582 GB, free: 2.082 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.174, allocations: 2.335 MB / 0.5605 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.1741, allocations: 19.81 kB / 0.5605 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.1741, allocations: 52 kB / 0.5606 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.1742, allocations: 36 kB / 0.5606 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.176, allocations: 1.187 MB / 0.5618 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00632/0.1824, allocations: 13.02 MB / 0.5745 GB, free: 0.5195 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.1854, allocations: 1.154 MB / 0.5756 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.186, allocations: 422.6 kB / 0.576 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.1863, allocations: 84.89 kB / 0.5761 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002571/0.1888, allocations: 1.177 MB / 0.5772 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=192): time 3.797e-06/0.1888, allocations: 0 / 0.5772 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=193): time 0.01056/0.1994, allocations: 7.529 MB / 0.5846 GB, free: 5.75 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.1996, allocations: 0.5165 MB / 0.5851 GB, free: 5.117 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.2011, allocations: 1.747 MB / 0.5868 GB, free: 3.32 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.2011, allocations: 45.7 kB / 0.5868 GB, free: 3.27 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.2017, allocations: 0.9686 MB / 0.5878 GB, free: 2.285 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/0.202, allocations: 0.639 MB / 0.5884 GB, free: 1.641 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.2024, allocations: 461.3 kB / 0.5889 GB, free: 1.184 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.2025, allocations: 480.8 kB / 0.5893 GB, free: 0.7109 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.2031, allocations: 449.5 kB / 0.5897 GB, free: 252 kB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009667/0.2041, allocations: 1.355 MB / 0.5911 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.2057, allocations: 1.854 MB / 0.5929 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2057, allocations: 4 kB / 0.5929 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002469/0.2081, allocations: 2.05 MB / 0.5949 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.2082, allocations: 109.1 kB / 0.595 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00168/0.2099, allocations: 1.328 MB / 0.5963 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.2102, allocations: 107.6 kB / 0.5964 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.211, allocations: 0.4914 MB / 0.5969 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.2142, allocations: 2.8 MB / 0.5996 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.2148, allocations: 91.77 kB / 0.5997 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.2149, allocations: 131.9 kB / 0.5998 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008171/0.2157, allocations: 0.5781 MB / 0.6004 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000972/0.2167, allocations: 1.346 MB / 0.6017 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001628/0.2183, allocations: 1.854 MB / 0.6035 GB, free: 288 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.415e-06/0.2183, allocations: 8 kB / 0.6035 GB, free: 280 kB / 0.5105 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.00252/0.2209, allocations: 2.038 MB / 0.6055 GB, free: 14.18 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.2209, allocations: 119.5 kB / 0.6056 GB, free: 14.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0017/0.2226, allocations: 1.336 MB / 0.6069 GB, free: 12.67 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.2229, allocations: 95.62 kB / 0.607 GB, free: 12.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.2237, allocations: 0.4992 MB / 0.6075 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.2268, allocations: 2.796 MB / 0.6102 GB, free: 9.152 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.2274, allocations: 83.83 kB / 0.6103 GB, free: 9.07 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.2275, allocations: 127.9 kB / 0.6104 GB, free: 8.945 MB / 0.5262 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.0003518/0.2279, allocations: 0.4984 MB / 0.6109 GB, free: 8.422 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.2281, allocations: 278.4 kB / 0.6112 GB, free: 8.148 MB / 0.5262 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.001963/0.2301, allocations: 1.884 MB / 0.613 GB, free: 6.211 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2375032589770854]