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.006263/0.006263, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007228/0.0007228, allocations: 91.69 kB / 24.91 MB, free: 7.27 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.0007527/0.0007527, allocations: 163.4 kB / 28.62 MB, free: 4.453 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.8826/0.8826, allocations: 177.2 MB / 209.4 MB, free: 2.984 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.7231/0.7231, allocations: 102.5 MB / 368.7 MB, free: 1.508 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 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_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.724e-06/1.724e-06, allocations: 0 / 0.5374 GB, free: 39.83 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.908e-05, allocations: 4.812 kB / 0.5374 GB, free: 39.83 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_OffDesign): time 0.1063/0.1063, allocations: 56.7 MB / 0.5928 GB, free: 3.375 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.1235, allocations: 16.7 MB / 0.6091 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.1251, allocations: 47.62 kB / 0.6091 GB, free: 2.57 MB / 0.4949 GB [/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.003013/0.1281, allocations: 1.216 MB / 0.6103 GB, free: 1.348 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1304, allocations: 1.324 MB / 0.6116 GB, free: 16 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.1339, allocations: 1.872 MB / 0.6134 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002557/0.1364, allocations: 2.8 MB / 0.6162 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.1375, allocations: 0.8508 MB / 0.617 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.1391, allocations: 1.578 MB / 0.6185 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1403, allocations: 1.186 MB / 0.6197 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.1406, allocations: 200 kB / 0.6199 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.143, allocations: 1.738 MB / 0.6216 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/0.1434, allocations: 0.6733 MB / 0.6222 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.1439, allocations: 0.7011 MB / 0.6229 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.1473, allocations: 4.424 MB / 0.6273 GB, free: 15.92 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1473, allocations: 4 kB / 0.6273 GB, free: 15.92 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1473, allocations: 0 / 0.6273 GB, free: 15.92 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.1473, allocations: 0 / 0.6273 GB, free: 15.92 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.003182/0.1505, allocations: 3.007 MB / 0.6302 GB, free: 12.85 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1505, allocations: 8.031 kB / 0.6302 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.1511, allocations: 339 kB / 0.6305 GB, free: 12.51 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.1538, allocations: 2.581 MB / 0.633 GB, free: 9.895 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.1539, allocations: 86.5 kB / 0.6331 GB, free: 9.809 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.154, allocations: 108.4 kB / 0.6332 GB, free: 9.703 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.1568, allocations: 2.431 MB / 0.6356 GB, free: 6.922 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.1568, allocations: 19.81 kB / 0.6356 GB, free: 6.902 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.1569, allocations: 52 kB / 0.6357 GB, free: 6.852 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.1569, allocations: 35.98 kB / 0.6357 GB, free: 6.816 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1593, allocations: 1.658 MB / 0.6373 GB, free: 5.141 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005746/0.165, allocations: 9.513 MB / 0.6466 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.1671, allocations: 1.32 MB / 0.6479 GB, free: 9.906 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.1677, allocations: 0.5566 MB / 0.6484 GB, free: 9.324 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.1679, allocations: 76.5 kB / 0.6485 GB, free: 9.25 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.1696, allocations: 1.283 MB / 0.6498 GB, free: 7.879 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=178): time 2.755e-06/0.1696, allocations: 0 / 0.6498 GB, free: 7.879 MB / 0.5418 GB Notification: Performance of matching and sorting (n=179): time 0.009418/0.179, allocations: 8.738 MB / 0.6583 GB, free: 15 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1792, allocations: 0.5126 MB / 0.6588 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.181, allocations: 1.985 MB / 0.6607 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.181, allocations: 41.7 kB / 0.6608 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.1815, allocations: 0.9221 MB / 0.6617 GB, free: 11.38 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.1819, allocations: 0.5924 MB / 0.6623 GB, free: 10.78 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.1823, allocations: 427.3 kB / 0.6627 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.1823, allocations: 301.1 kB / 0.663 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.1832, allocations: 0.7191 MB / 0.6637 GB, free: 9.32 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.1844, allocations: 1.385 MB / 0.665 GB, free: 7.621 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.1865, allocations: 2.165 MB / 0.6671 GB, free: 5.16 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1865, allocations: 8 kB / 0.6671 GB, free: 5.152 MB / 0.5574 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003043/0.1895, allocations: 2.554 MB / 0.6696 GB, free: 2.562 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.1896, allocations: 79.38 kB / 0.6697 GB, free: 2.473 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002186/0.1918, allocations: 1.802 MB / 0.6715 GB, free: 0.6406 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.1921, allocations: 112.8 kB / 0.6716 GB, free: 0.5273 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.193, allocations: 0.4914 MB / 0.6721 GB, free: 36 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.1966, allocations: 2.398 MB / 0.6744 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.1972, allocations: 96 kB / 0.6745 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.1973, allocations: 131.9 kB / 0.6746 GB, free: 13.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/0.1987, allocations: 1.136 MB / 0.6757 GB, free: 12.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/0.1998, allocations: 1.385 MB / 0.6771 GB, free: 10.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00205/0.2019, allocations: 2.154 MB / 0.6792 GB, free: 8.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.2019, allocations: 12 kB / 0.6792 GB, free: 8.008 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.002928/0.2048, allocations: 2.546 MB / 0.6817 GB, free: 5.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.2049, allocations: 75.39 kB / 0.6817 GB, free: 5.344 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002144/0.207, allocations: 1.794 MB / 0.6835 GB, free: 3.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.2073, allocations: 116.7 kB / 0.6836 GB, free: 3.402 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.2081, allocations: 0.4992 MB / 0.6841 GB, free: 2.902 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.2115, allocations: 2.394 MB / 0.6864 GB, free: 420 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.2121, allocations: 91.97 kB / 0.6865 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.2122, allocations: 131.9 kB / 0.6867 GB, free: 196 kB / 0.573 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.0004039/0.2126, allocations: 381.2 kB / 0.687 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.2129, allocations: 238.4 kB / 0.6872 GB, free: 15.56 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 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.002231/0.2151, allocations: 2.034 MB / 0.6892 GB, free: 13.48 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.321473334915936] Failed to read output from testmodel.py, exit status != 0: 0.6570237586274743 0.665955928 0.5168749300000001 Calling exit ...