Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01538/0.01538, allocations: 1.749 MB / 21.34 MB, free: 0.5898 MB / 14.72 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.001657/0.001657, allocations: 104.5 kB / 24.94 MB, free: 2.176 MB / 14.72 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.002179/0.002179, allocations: 208 kB / 28.67 MB, free: 3.461 MB / 19.63 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 1.461/1.461, allocations: 230.6 MB / 262.9 MB, free: 6.012 MB / 206.1 MB " [Timeout remaining time 178] 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 1.088/1.088, allocations: 130.7 MB / 450.4 MB, free: 6.57 MB / 350.1 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.3.1 (/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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03474/0.03474, allocations: 20.78 MB / 0.637 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.2165, allocations: 81.91 MB / 0.7169 GB, free: 2.648 MB / 0.5294 GB 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.5769/0.7934, allocations: 44.14 MB / 0.7601 GB, free: 21.6 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0315/0.8249, allocations: 18.03 MB / 0.7777 GB, free: 8.797 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.828, allocations: 46.84 kB / 0.7777 GB, free: 8.777 MB / 0.5607 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.004204/0.8322, allocations: 1.188 MB / 0.7789 GB, free: 8.227 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.8368, allocations: 1.212 MB / 0.78 GB, free: 7.512 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005906/0.8427, allocations: 1.907 MB / 0.7819 GB, free: 6.578 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005239/0.8479, allocations: 2.745 MB / 0.7846 GB, free: 5.258 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.8498, allocations: 0.7688 MB / 0.7853 GB, free: 4.891 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.8526, allocations: 1.161 MB / 0.7865 GB, free: 4.363 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.8555, allocations: 1.338 MB / 0.7878 GB, free: 3.762 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008981/0.8564, allocations: 203.3 kB / 0.788 GB, free: 3.762 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006156/0.8625, allocations: 2.502 MB / 0.7904 GB, free: 2.406 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.8638, allocations: 0.6483 MB / 0.791 GB, free: 1.918 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.8665, allocations: 1.14 MB / 0.7922 GB, free: 1.066 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.878, allocations: 4.566 MB / 0.7966 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.878, allocations: 1.094 kB / 0.7966 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.745e-06/0.878, allocations: 0 / 0.7966 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001506/0.8782, allocations: 0 / 0.7966 GB, free: 14.05 MB / 0.5763 GB 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.01235/0.8905, allocations: 3.022 MB / 0.7996 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.8906, allocations: 8.969 kB / 0.7996 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.8924, allocations: 327.6 kB / 0.7999 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007414/0.8998, allocations: 2.549 MB / 0.8024 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.9, allocations: 84.56 kB / 0.8025 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.9004, allocations: 120.4 kB / 0.8026 GB, free: 9.859 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/0.9066, allocations: 2.167 MB / 0.8047 GB, free: 8.219 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.9067, allocations: 16.94 kB / 0.8047 GB, free: 8.207 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.9069, allocations: 58.84 kB / 0.8048 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.907, allocations: 36.45 kB / 0.8048 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/0.912, allocations: 1.597 MB / 0.8064 GB, free: 6.859 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.9258, allocations: 10.24 MB / 0.8164 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.9303, allocations: 1.299 MB / 0.8176 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.9316, allocations: 0.4992 MB / 0.8181 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.9319, allocations: 88.86 kB / 0.8182 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00365/0.9355, allocations: 1.27 MB / 0.8194 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=192): time 5.631e-06/0.9356, allocations: 0 / 0.8194 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=193): time 0.02036/0.9559, allocations: 8.271 MB / 0.8275 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003467/0.9563, allocations: 0.5036 MB / 0.828 GB, free: 16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/0.9601, allocations: 1.849 MB / 0.8298 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.9604, allocations: 45.7 kB / 0.8299 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.9613, allocations: 0.8622 MB / 0.8307 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/0.9621, allocations: 0.6389 MB / 0.8313 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/0.9629, allocations: 448.8 kB / 0.8318 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.963, allocations: 301.1 kB / 0.832 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.9644, allocations: 0.6366 MB / 0.8327 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.9663, allocations: 1.244 MB / 0.8339 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.9699, allocations: 2.174 MB / 0.836 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.9699, allocations: 4 kB / 0.836 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005497/0.9754, allocations: 2.463 MB / 0.8384 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.9755, allocations: 109.1 kB / 0.8385 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003856/0.9794, allocations: 1.759 MB / 0.8402 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/0.9801, allocations: 115.4 kB / 0.8403 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.9816, allocations: 0.4992 MB / 0.8408 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.9891, allocations: 2.423 MB / 0.8432 GB, free: 15.77 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.991, allocations: 90.42 kB / 0.8433 GB, free: 15.69 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.9913, allocations: 138.5 kB / 0.8434 GB, free: 15.55 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002303/0.9936, allocations: 1.031 MB / 0.8444 GB, free: 14.52 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001909/0.9955, allocations: 1.24 MB / 0.8456 GB, free: 13.02 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003511/0.999, allocations: 2.167 MB / 0.8477 GB, free: 10.6 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.434e-05/0.999, allocations: 8 kB / 0.8478 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005491/1.004, allocations: 2.438 MB / 0.8501 GB, free: 8.152 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.005, allocations: 109.9 kB / 0.8502 GB, free: 8.027 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003826/1.008, allocations: 1.759 MB / 0.852 GB, free: 6.262 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/1.009, allocations: 115.4 kB / 0.8521 GB, free: 6.148 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.011, allocations: 0.4914 MB / 0.8525 GB, free: 5.656 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/1.018, allocations: 2.429 MB / 0.8549 GB, free: 3.168 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.02, allocations: 87.77 kB / 0.855 GB, free: 3.082 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/1.02, allocations: 130.5 kB / 0.8551 GB, free: 2.957 MB / 0.6232 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.0008311/1.021, allocations: 418.6 kB / 0.8555 GB, free: 2.52 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/1.021, allocations: 246.4 kB / 0.8558 GB, free: 2.277 MB / 0.6232 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.004058/1.025, allocations: 2.079 MB / 0.8578 GB, free: 304 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.028991437051445] Failed to read output from testmodel.py, exit status != 0: 1.2451373219955713 1.262931438 0.381371768 Calling exit ...