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.006062/0.006062, allocations: 1.442 MB / 20.54 MB, free: 3.992 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.0007055/0.0007055, allocations: 91.44 kB / 24.16 MB, free: 384 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.00076/0.00076, allocations: 163.4 kB / 27.86 MB, free: 5.492 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.8232/0.8232, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7109/0.7109, allocations: 102.5 MB / 367.9 MB, free: 1.438 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 1.472e-06/1.472e-06, allocations: 0 / 0.5367 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.231e-05, allocations: 5.344 kB / 0.5367 GB, free: 39.75 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.1221/0.1221, allocations: 56.7 MB / 0.592 GB, free: 3.336 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02251/0.1446, allocations: 16.7 MB / 0.6083 GB, free: 2.582 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1457, allocations: 51.62 kB / 0.6084 GB, free: 2.531 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.002241/0.148, allocations: 1.212 MB / 0.6096 GB, free: 1.312 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.1498, allocations: 1.328 MB / 0.6109 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.153, allocations: 1.868 MB / 0.6127 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.155, allocations: 2.8 MB / 0.6154 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.1557, allocations: 0.8547 MB / 0.6163 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.1568, allocations: 1.586 MB / 0.6178 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009633/0.1578, allocations: 1.186 MB / 0.619 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.158, allocations: 196 kB / 0.6191 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.1605, allocations: 1.734 MB / 0.6208 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.1609, allocations: 0.6849 MB / 0.6215 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.1613, allocations: 0.7011 MB / 0.6222 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.1647, allocations: 4.42 MB / 0.6265 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1647, allocations: 0 / 0.6265 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1647, allocations: 4 kB / 0.6265 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.1648, allocations: 0 / 0.6265 GB, free: 15.88 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.003029/0.1678, allocations: 3.004 MB / 0.6294 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1678, allocations: 8.031 kB / 0.6295 GB, free: 12.8 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.1683, allocations: 335 kB / 0.6298 GB, free: 12.48 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.1711, allocations: 2.584 MB / 0.6323 GB, free: 9.855 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.1711, allocations: 90.5 kB / 0.6324 GB, free: 9.766 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1712, allocations: 108.4 kB / 0.6325 GB, free: 9.66 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.1739, allocations: 2.434 MB / 0.6349 GB, free: 6.875 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.174, allocations: 15.81 kB / 0.6349 GB, free: 6.859 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.174, allocations: 56 kB / 0.6349 GB, free: 6.805 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.1741, allocations: 32 kB / 0.635 GB, free: 6.773 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.1764, allocations: 1.661 MB / 0.6366 GB, free: 5.094 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005886/0.1823, allocations: 9.505 MB / 0.6459 GB, free: 11.25 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.1843, allocations: 1.32 MB / 0.6472 GB, free: 9.867 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.185, allocations: 0.5582 MB / 0.6477 GB, free: 9.281 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.1851, allocations: 72.56 kB / 0.6478 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.1868, allocations: 1.287 MB / 0.649 GB, free: 7.836 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=178): time 2.425e-06/0.1868, allocations: 4 kB / 0.649 GB, free: 7.832 MB / 0.5418 GB Notification: Performance of matching and sorting (n=179): time 0.009128/0.1959, allocations: 8.741 MB / 0.6576 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.1961, allocations: 0.5088 MB / 0.6581 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.1979, allocations: 1.985 MB / 0.66 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.1979, allocations: 45.7 kB / 0.66 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.1984, allocations: 0.9104 MB / 0.6609 GB, free: 11.34 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.1988, allocations: 0.5963 MB / 0.6615 GB, free: 10.73 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.1991, allocations: 431.3 kB / 0.6619 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.1992, allocations: 301.1 kB / 0.6622 GB, free: 10.01 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/0.2001, allocations: 0.7113 MB / 0.6629 GB, free: 9.281 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2012, allocations: 1.385 MB / 0.6643 GB, free: 7.582 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.2033, allocations: 2.174 MB / 0.6664 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2033, allocations: 8 kB / 0.6664 GB, free: 5.105 MB / 0.5574 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002999/0.2063, allocations: 2.542 MB / 0.6689 GB, free: 2.527 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.2064, allocations: 79.39 kB / 0.669 GB, free: 2.438 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002217/0.2086, allocations: 1.809 MB / 0.6707 GB, free: 0.5977 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.209, allocations: 117 kB / 0.6708 GB, free: 492 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.2098, allocations: 0.4914 MB / 0.6713 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/0.2134, allocations: 2.397 MB / 0.6737 GB, free: 13.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.2141, allocations: 99.75 kB / 0.6737 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.2142, allocations: 127.9 kB / 0.6739 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00157/0.2158, allocations: 1.144 MB / 0.675 GB, free: 12.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001277/0.2171, allocations: 1.377 MB / 0.6763 GB, free: 10.42 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002176/0.2193, allocations: 2.154 MB / 0.6784 GB, free: 7.973 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.2193, allocations: 8 kB / 0.6784 GB, free: 7.965 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.003394/0.2227, allocations: 2.549 MB / 0.6809 GB, free: 5.383 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.2227, allocations: 78.27 kB / 0.681 GB, free: 5.297 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002329/0.2251, allocations: 1.794 MB / 0.6828 GB, free: 3.473 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.2254, allocations: 108.8 kB / 0.6829 GB, free: 3.363 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.2262, allocations: 0.4992 MB / 0.6833 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.2297, allocations: 2.394 MB / 0.6857 GB, free: 380 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.2304, allocations: 95.72 kB / 0.6858 GB, free: 284 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.2305, allocations: 123.9 kB / 0.6859 GB, free: 160 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.0008266/0.2313, allocations: 381.1 kB / 0.6863 GB, free: 15.77 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.2316, allocations: 246.4 kB / 0.6865 GB, free: 15.52 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.002351/0.2339, allocations: 2.038 MB / 0.6885 GB, free: 13.44 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1620710967108607] Failed to read output from testmodel.py, exit status != 0: 0.6186474459245801 0.627157959 0.460696086 Calling exit ...