Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.008412/0.008412, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007744/0.0007744, allocations: 91 kB / 25.62 MB, free: 6.535 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.0008231/0.0008231, allocations: 167.1 kB / 29.46 MB, free: 3.035 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.9036/0.9036, allocations: 177.1 MB / 210.3 MB, free: 1.711 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.7269/0.7269, allocations: 102.4 MB / 369.8 MB, free: 0.8633 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 469.8 MB, free: 12.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.723e-05, allocations: 3.719 kB / 469.9 MB, free: 12.93 MB / 442.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_WithEMotor): time 0.3309/0.331, allocations: 62.07 MB / 0.5195 GB, free: 73.56 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.348, allocations: 17.98 MB / 0.537 GB, free: 65.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3492, allocations: 60.97 kB / 0.5371 GB, free: 65.61 MB / 490.8 MB [/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.002359/0.3515, allocations: 1.305 MB / 0.5383 GB, free: 65.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.3537, allocations: 1.536 MB / 0.5398 GB, free: 64.15 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.357, allocations: 2.101 MB / 0.5419 GB, free: 63.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.3599, allocations: 3.522 MB / 0.5453 GB, free: 61.34 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.3612, allocations: 1.242 MB / 0.5465 GB, free: 60.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.3633, allocations: 1.909 MB / 0.5484 GB, free: 59.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.3649, allocations: 1.368 MB / 0.5497 GB, free: 59.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.3652, allocations: 250.1 kB / 0.55 GB, free: 59.27 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.3679, allocations: 1.698 MB / 0.5516 GB, free: 58.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.3685, allocations: 0.8247 MB / 0.5525 GB, free: 58.32 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007505/0.3693, allocations: 0.8568 MB / 0.5533 GB, free: 57.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.3734, allocations: 3.673 MB / 0.5569 GB, free: 56.37 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3734, allocations: 0 / 0.5569 GB, free: 56.37 MB / 490.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3734, allocations: 0 / 0.5569 GB, free: 56.37 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.3734, allocations: 0.9688 kB / 0.5569 GB, free: 56.37 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.004359/0.3778, allocations: 4.131 MB / 0.5609 GB, free: 53.79 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3778, allocations: 9.688 kB / 0.5609 GB, free: 53.79 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.3787, allocations: 0.5094 MB / 0.5614 GB, free: 53.56 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.3817, allocations: 2.591 MB / 0.5639 GB, free: 52.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/0.3818, allocations: 117.7 kB / 0.5641 GB, free: 52.18 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.382, allocations: 162.2 kB / 0.5642 GB, free: 52.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.3851, allocations: 2.629 MB / 0.5668 GB, free: 50.11 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.3851, allocations: 18.16 kB / 0.5668 GB, free: 50.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3853, allocations: 72.38 kB / 0.5669 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.3853, allocations: 42.78 kB / 0.5669 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.3877, allocations: 1.31 MB / 0.5682 GB, free: 49.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006096/0.3938, allocations: 14.34 MB / 0.5822 GB, free: 36.14 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.396, allocations: 1.454 MB / 0.5836 GB, free: 35.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.3965, allocations: 491.3 kB / 0.5841 GB, free: 34.97 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.3966, allocations: 84.23 kB / 0.5842 GB, free: 34.95 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.3984, allocations: 1.263 MB / 0.5854 GB, free: 34.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 3.737e-06/0.3984, allocations: 0 / 0.5854 GB, free: 34.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01033/0.4087, allocations: 11.69 MB / 0.5968 GB, free: 22.79 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.4088, allocations: 0.6423 MB / 0.5974 GB, free: 22 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.4105, allocations: 2.194 MB / 0.5996 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.4106, allocations: 53.7 kB / 0.5996 GB, free: 19.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.4111, allocations: 1.239 MB / 0.6008 GB, free: 18.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.4114, allocations: 0.7709 MB / 0.6016 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.4119, allocations: 0.5145 MB / 0.6021 GB, free: 17.18 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.4119, allocations: 476.8 kB / 0.6026 GB, free: 16.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.4126, allocations: 465.6 kB / 0.603 GB, free: 16.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.4135, allocations: 1.531 MB / 0.6045 GB, free: 14.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.4157, allocations: 2.448 MB / 0.6069 GB, free: 11.38 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4157, allocations: 7.938 kB / 0.6069 GB, free: 11.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002896/0.4186, allocations: 2.39 MB / 0.6092 GB, free: 8.969 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.4186, allocations: 80.17 kB / 0.6093 GB, free: 8.879 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002063/0.4207, allocations: 1.513 MB / 0.6108 GB, free: 7.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.4213, allocations: 250.3 kB / 0.611 GB, free: 7.094 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.4222, allocations: 0.5577 MB / 0.6116 GB, free: 6.535 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.427, allocations: 7.119 MB / 0.6185 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/0.4279, allocations: 111.7 kB / 0.6186 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.428, allocations: 143.9 kB / 0.6188 GB, free: 14.88 MB / 0.4949 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.4292, allocations: 0.6067 MB / 0.6193 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001124/0.4303, allocations: 1.526 MB / 0.6208 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002376/0.4327, allocations: 2.441 MB / 0.6232 GB, free: 9.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.904e-06/0.4327, allocations: 7.938 kB / 0.6232 GB, free: 9.402 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003292/0.436, allocations: 2.354 MB / 0.6255 GB, free: 7.031 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.436, allocations: 83.38 kB / 0.6256 GB, free: 6.938 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002069/0.4381, allocations: 1.466 MB / 0.627 GB, free: 5.445 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.4386, allocations: 232.9 kB / 0.6273 GB, free: 5.215 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.4396, allocations: 0.5504 MB / 0.6278 GB, free: 4.664 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.4452, allocations: 7.088 MB / 0.6347 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.4461, allocations: 107.8 kB / 0.6348 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.4462, allocations: 143.9 kB / 0.635 GB, free: 13.04 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005284/0.4468, allocations: 0.4968 MB / 0.6354 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.4472, allocations: 346 kB / 0.6358 GB, free: 12.19 MB / 0.5105 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 254 equation(s) and 246 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) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.4496, allocations: 1.959 MB / 0.6377 GB, free: 10.29 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9291581520810723]