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.008283/0.008283, allocations: 1.791 MB / 21.89 MB, free: 2.633 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.0007372/0.0007372, allocations: 84.56 kB / 25.61 MB, free: 6.941 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.0008666/0.0008666, allocations: 172.8 kB / 29.46 MB, free: 3.152 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.9152/0.9152, allocations: 177.2 MB / 210.3 MB, free: 3.555 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.5871/0.5871, allocations: 102.5 MB / 369.8 MB, free: 340 kB / 330.7 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.773e-06/1.773e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.383e-05, allocations: 7.562 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_OffDesign): time 0.1086/0.1086, allocations: 60.19 MB / 0.5176 GB, free: 12.1 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.1259, allocations: 17.49 MB / 0.5347 GB, free: 10.56 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1269, allocations: 47.69 kB / 0.5348 GB, free: 10.52 MB / 458.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.002169/0.129, allocations: 1.228 MB / 0.536 GB, free: 9.281 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.1308, allocations: 1.312 MB / 0.5373 GB, free: 7.961 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.1335, allocations: 1.872 MB / 0.5391 GB, free: 6.082 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.1354, allocations: 2.807 MB / 0.5418 GB, free: 3.266 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.1362, allocations: 0.9215 MB / 0.5427 GB, free: 2.324 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.1374, allocations: 1.574 MB / 0.5443 GB, free: 0.7461 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.1384, allocations: 1.179 MB / 0.5454 GB, free: 15.57 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.1386, allocations: 200 kB / 0.5456 GB, free: 15.37 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.1407, allocations: 1.75 MB / 0.5473 GB, free: 13.62 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.1411, allocations: 0.6851 MB / 0.548 GB, free: 12.93 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.1416, allocations: 0.6894 MB / 0.5487 GB, free: 12.24 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.1445, allocations: 3.399 MB / 0.552 GB, free: 8.828 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1445, allocations: 0 / 0.552 GB, free: 8.828 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1445, allocations: 4 kB / 0.552 GB, free: 8.824 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1446, allocations: 0 / 0.552 GB, free: 8.824 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.003023/0.1476, allocations: 3.189 MB / 0.5551 GB, free: 5.57 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1476, allocations: 8.031 kB / 0.5551 GB, free: 5.562 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.1483, allocations: 427 kB / 0.5555 GB, free: 5.145 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.1507, allocations: 2.32 MB / 0.5578 GB, free: 2.789 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.1508, allocations: 90.5 kB / 0.5579 GB, free: 2.699 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1509, allocations: 108.4 kB / 0.558 GB, free: 2.594 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.1537, allocations: 2.274 MB / 0.5602 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.1537, allocations: 15.81 kB / 0.5602 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.1538, allocations: 56 kB / 0.5602 GB, free: 15.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.1539, allocations: 35.83 kB / 0.5603 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1559, allocations: 1.146 MB / 0.5614 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007794/0.1637, allocations: 13.01 MB / 0.5741 GB, free: 1.152 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.1664, allocations: 1.061 MB / 0.5751 GB, free: 0 / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.1669, allocations: 364.8 kB / 0.5755 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.1671, allocations: 76.48 kB / 0.5756 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.1694, allocations: 1.062 MB / 0.5766 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=178): time 3.106e-06/0.1694, allocations: 0 / 0.5766 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of matching and sorting (n=179): time 0.01127/0.1807, allocations: 7.646 MB / 0.5841 GB, free: 6.578 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.1808, allocations: 0.5048 MB / 0.5846 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.183, allocations: 1.886 MB / 0.5864 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/0.1831, allocations: 41.7 kB / 0.5864 GB, free: 3.984 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.1838, allocations: 1.017 MB / 0.5874 GB, free: 2.953 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.1842, allocations: 0.608 MB / 0.588 GB, free: 2.34 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/0.1847, allocations: 453.1 kB / 0.5885 GB, free: 1.891 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1848, allocations: 480.8 kB / 0.5889 GB, free: 1.418 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.1855, allocations: 399.5 kB / 0.5893 GB, free: 1.008 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.1867, allocations: 1.324 MB / 0.5906 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.1889, allocations: 1.795 MB / 0.5923 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1889, allocations: 4 kB / 0.5924 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003243/0.1921, allocations: 1.936 MB / 0.5942 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.1922, allocations: 79.39 kB / 0.5943 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002154/0.1943, allocations: 1.176 MB / 0.5955 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1947, allocations: 103.6 kB / 0.5956 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.1959, allocations: 499.2 kB / 0.596 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.2002, allocations: 2.8 MB / 0.5988 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.201, allocations: 95.66 kB / 0.5989 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.2012, allocations: 127.9 kB / 0.599 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.2022, allocations: 0.5333 MB / 0.5995 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001281/0.2035, allocations: 1.324 MB / 0.6008 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.2052, allocations: 1.791 MB / 0.6026 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.293e-06/0.2052, allocations: 8 kB / 0.6026 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.002501/0.2077, allocations: 1.939 MB / 0.6045 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.2077, allocations: 81.27 kB / 0.6045 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001782/0.2095, allocations: 1.175 MB / 0.6057 GB, free: 14.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.2097, allocations: 99.77 kB / 0.6058 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/0.2106, allocations: 499.2 kB / 0.6062 GB, free: 13.72 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.214, allocations: 2.8 MB / 0.609 GB, free: 10.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.2145, allocations: 87.77 kB / 0.6091 GB, free: 10.71 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.2146, allocations: 127.9 kB / 0.6092 GB, free: 10.59 MB / 0.5262 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.0003663/0.215, allocations: 466.7 kB / 0.6096 GB, free: 10.11 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.2153, allocations: 274.4 kB / 0.6099 GB, free: 9.84 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 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.002021/0.2173, allocations: 1.82 MB / 0.6117 GB, free: 7.977 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9489394470583647]