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.01543/0.01543, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.0016/0.0016, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.002197/0.002197, allocations: 214.9 kB / 24.75 MB, free: 3.691 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 258.5 MB, free: 13.13 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.098/1.098, allocations: 130.6 MB / 445.6 MB, free: 15.1 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3673/0.3673, allocations: 46.1 MB / 0.6549 GB, free: 30.79 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.5226, allocations: 89.04 MB / 0.7419 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet): time 0.01324/0.5359, allocations: 11.19 MB / 0.7528 GB, free: 7.266 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.5613, allocations: 17.73 MB / 0.7701 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.5626, allocations: 47.69 kB / 0.7702 GB, free: 5.426 MB / 0.5763 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.002967/0.5656, allocations: 1.17 MB / 0.7713 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.5682, allocations: 1.169 MB / 0.7724 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.5724, allocations: 1.834 MB / 0.7742 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.5759, allocations: 2.746 MB / 0.7769 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5771, allocations: 0.7806 MB / 0.7777 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.5786, allocations: 1.171 MB / 0.7788 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5802, allocations: 1.325 MB / 0.7801 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.5805, allocations: 204 kB / 0.7803 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/0.5847, allocations: 2.339 MB / 0.7826 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006983/0.5854, allocations: 0.6616 MB / 0.7832 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.5866, allocations: 1.13 MB / 0.7843 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006667/0.5933, allocations: 4.515 MB / 0.7887 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5933, allocations: 4 kB / 0.7888 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5933, allocations: 0 / 0.7888 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.288e-05/0.5933, allocations: 0 / 0.7888 GB, free: 2.297 MB / 0.5919 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.005755/0.5991, allocations: 3.095 MB / 0.7918 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5991, allocations: 8.031 kB / 0.7918 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.6002, allocations: 339.1 kB / 0.7921 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.6046, allocations: 2.67 MB / 0.7947 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/0.6047, allocations: 90.53 kB / 0.7948 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.6048, allocations: 112.9 kB / 0.7949 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004859/0.6097, allocations: 2.164 MB / 0.797 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.6098, allocations: 27.75 kB / 0.797 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6099, allocations: 48 kB / 0.7971 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.6099, allocations: 36 kB / 0.7971 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.6145, allocations: 1.596 MB / 0.7987 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.6248, allocations: 10.31 MB / 0.8088 GB, free: 12.97 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.6291, allocations: 1.461 MB / 0.8102 GB, free: 11.42 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.6302, allocations: 0.4927 MB / 0.8107 GB, free: 10.91 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.6305, allocations: 158 kB / 0.8108 GB, free: 10.74 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003493/0.634, allocations: 1.279 MB / 0.8121 GB, free: 9.387 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=192): time 3.166e-06/0.634, allocations: 0 / 0.8121 GB, free: 9.387 MB / 0.6232 GB Notification: Performance of matching and sorting (n=193): time 0.01826/0.6523, allocations: 8.413 MB / 0.8203 GB, free: 0.8125 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002923/0.6525, allocations: 0.5127 MB / 0.8208 GB, free: 184 kB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.6552, allocations: 1.845 MB / 0.8226 GB, free: 14.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.6554, allocations: 41.7 kB / 0.8226 GB, free: 14.25 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/0.6562, allocations: 0.8596 MB / 0.8235 GB, free: 13.38 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006421/0.6568, allocations: 0.639 MB / 0.8241 GB, free: 12.73 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006959/0.6575, allocations: 443.5 kB / 0.8245 GB, free: 12.3 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6576, allocations: 305.1 kB / 0.8248 GB, free: 12 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.6591, allocations: 0.634 MB / 0.8254 GB, free: 11.36 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.6611, allocations: 1.247 MB / 0.8266 GB, free: 9.832 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.6648, allocations: 2.167 MB / 0.8288 GB, free: 7.363 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.6649, allocations: 8 kB / 0.8288 GB, free: 7.355 MB / 0.6388 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005741/0.6706, allocations: 2.452 MB / 0.8312 GB, free: 4.871 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6707, allocations: 110.1 kB / 0.8313 GB, free: 4.746 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004287/0.675, allocations: 1.762 MB / 0.833 GB, free: 2.965 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.6758, allocations: 120.7 kB / 0.8331 GB, free: 2.844 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.6774, allocations: 0.4914 MB / 0.8336 GB, free: 2.352 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008266/0.6857, allocations: 2.537 MB / 0.8361 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.6873, allocations: 91.77 kB / 0.8361 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.6876, allocations: 127.9 kB / 0.8363 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002383/0.69, allocations: 1.031 MB / 0.8373 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002023/0.692, allocations: 1.244 MB / 0.8385 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003905/0.6959, allocations: 2.167 MB / 0.8406 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.979e-06/0.6959, allocations: 4 kB / 0.8406 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005789/0.7017, allocations: 2.445 MB / 0.843 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.7018, allocations: 109.1 kB / 0.8431 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004322/0.7061, allocations: 1.758 MB / 0.8448 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.7069, allocations: 112.8 kB / 0.8449 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.7086, allocations: 0.4991 MB / 0.8454 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008142/0.7167, allocations: 2.528 MB / 0.8479 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.7183, allocations: 95.84 kB / 0.848 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.7185, allocations: 131.9 kB / 0.8481 GB, free: 2.555 MB / 0.6544 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.0006955/0.7192, allocations: 418.8 kB / 0.8485 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.7197, allocations: 242.4 kB / 0.8487 GB, free: 1.883 MB / 0.6544 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.00428/0.724, allocations: 2.078 MB / 0.8508 GB, free: 15.75 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.3317831084132195] Failed to read output from testmodel.py, exit status != 0: 0.7320938110351562 0.74484403 0.148701982 Calling exit ...