Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_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.01236/0.01236, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008749/0.0008749, allocations: 85.48 kB / 25.16 MB, free: 6.883 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.0008865/0.0008865, allocations: 162.6 kB / 29.05 MB, free: 3.5 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.9568/0.9568, allocations: 177.2 MB / 210 MB, free: 3.582 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.7332/0.7332, allocations: 102.5 MB / 369.5 MB, free: 400 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_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 470 MB, free: 18.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.114e-05, allocations: 6.484 kB / 470 MB, free: 18.93 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_L2_OffDesign): time 0.1128/0.1129, allocations: 68.81 MB / 0.5261 GB, free: 3.098 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02702/0.1399, allocations: 21.18 MB / 0.5468 GB, free: 13.86 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.1429, allocations: 107.2 kB / 0.5469 GB, free: 13.75 MB / 474.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.004421/0.1473, allocations: 2.047 MB / 0.5489 GB, free: 11.7 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.1531, allocations: 2.842 MB / 0.5517 GB, free: 8.836 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.1588, allocations: 3.061 MB / 0.5547 GB, free: 5.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007196/0.166, allocations: 6.793 MB / 0.5613 GB, free: 14.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.1687, allocations: 2.072 MB / 0.5633 GB, free: 12.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/0.1854, allocations: 3.698 MB / 0.567 GB, free: 9.133 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009477/0.1949, allocations: 2.285 MB / 0.5692 GB, free: 6.844 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.1956, allocations: 460 kB / 0.5696 GB, free: 6.395 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.2058, allocations: 2.245 MB / 0.5718 GB, free: 4.148 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007077/0.2129, allocations: 1.331 MB / 0.5731 GB, free: 2.812 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.2146, allocations: 1.488 MB / 0.5746 GB, free: 1.32 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02224/0.2368, allocations: 5.391 MB / 0.5798 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2368, allocations: 0 / 0.5798 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2368, allocations: 7.938 kB / 0.5798 GB, free: 11.9 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.438e-05/0.2368, allocations: 0 / 0.5798 GB, free: 11.9 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.005191/0.242, allocations: 5.389 MB / 0.5851 GB, free: 6.426 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2421, allocations: 12.03 kB / 0.5851 GB, free: 6.414 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.2431, allocations: 0.802 MB / 0.5859 GB, free: 5.609 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.2471, allocations: 3.813 MB / 0.5896 GB, free: 1.719 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.2472, allocations: 181 kB / 0.5898 GB, free: 1.539 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.2475, allocations: 240.4 kB / 0.59 GB, free: 1.305 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.2539, allocations: 5.535 MB / 0.5954 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.254, allocations: 35.64 kB / 0.5955 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.2542, allocations: 112 kB / 0.5956 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.2542, allocations: 80 kB / 0.5956 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/0.2592, allocations: 2.732 MB / 0.5983 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.2742, allocations: 28.44 MB / 0.6261 GB, free: 10.43 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.2792, allocations: 2.802 MB / 0.6288 GB, free: 7.469 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009317/0.2801, allocations: 0.7537 MB / 0.6296 GB, free: 6.648 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.2806, allocations: 261.7 kB / 0.6298 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003952/0.2845, allocations: 2.561 MB / 0.6323 GB, free: 3.699 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=470): time 4.268e-06/0.2845, allocations: 0 / 0.6323 GB, free: 3.699 MB / 0.5418 GB Notification: Performance of matching and sorting (n=471): time 0.0219/0.3064, allocations: 18.93 MB / 0.6508 GB, free: 0.5195 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2329/0.5393, allocations: 0.8273 MB / 0.6516 GB, free: 106.9 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.5425, allocations: 2.986 MB / 0.6545 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005842/0.543, allocations: 61.89 kB / 0.6546 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.544, allocations: 1.754 MB / 0.6563 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009044/0.5449, allocations: 1.59 MB / 0.6579 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009266/0.5458, allocations: 0.9895 MB / 0.6588 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.5459, allocations: 479.9 kB / 0.6593 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.5479, allocations: 0.914 MB / 0.6602 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.5507, allocations: 2.898 MB / 0.663 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/0.5562, allocations: 3.89 MB / 0.6668 GB, free: 100.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.5562, allocations: 11.78 kB / 0.6668 GB, free: 100.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006956/0.5632, allocations: 4.24 MB / 0.671 GB, free: 99.88 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.5633, allocations: 85.58 kB / 0.671 GB, free: 99.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004188/0.5675, allocations: 2.797 MB / 0.6738 GB, free: 99.56 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.5786, allocations: 2.788 MB / 0.6765 GB, free: 99.54 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.581, allocations: 1.132 MB / 0.6776 GB, free: 99.54 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.5852, allocations: 4.006 MB / 0.6815 GB, free: 96.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.5872, allocations: 199.5 kB / 0.6817 GB, free: 96.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.5876, allocations: 311.5 kB / 0.682 GB, free: 96.75 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002262/0.5899, allocations: 1.053 MB / 0.683 GB, free: 96.55 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002088/0.5919, allocations: 2.879 MB / 0.6858 GB, free: 94.07 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004081/0.596, allocations: 3.875 MB / 0.6896 GB, free: 91.85 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.852e-05/0.596, allocations: 13.77 kB / 0.6896 GB, free: 91.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.006728/0.6028, allocations: 4.128 MB / 0.6937 GB, free: 91.34 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.6028, allocations: 89.97 kB / 0.6937 GB, free: 91.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00449/0.6073, allocations: 2.711 MB / 0.6964 GB, free: 91.02 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009959/0.6173, allocations: 2.487 MB / 0.6988 GB, free: 91 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.6194, allocations: 1.162 MB / 0.7 GB, free: 90.88 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.6232, allocations: 3.82 MB / 0.7037 GB, free: 87.81 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.6251, allocations: 193.7 kB / 0.7039 GB, free: 87.79 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/0.6254, allocations: 307 kB / 0.7042 GB, free: 87.73 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001181/0.6266, allocations: 0.6045 MB / 0.7048 GB, free: 87.39 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/0.6273, allocations: 0.4977 MB / 0.7052 GB, free: 87.14 MB / 0.5574 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 664 equation(s) and 637 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.6324, allocations: 4.927 MB / 0.7101 GB, free: 85.54 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.500070177949965]