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.008042/0.008042, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.000781/0.000781, allocations: 84.91 kB / 25.4 MB, free: 7 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.0008091/0.0008091, allocations: 156.3 kB / 29.33 MB, free: 3.133 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 1.034/1.034, allocations: 177.1 MB / 210.3 MB, free: 3.48 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.6257/0.6257, allocations: 102.4 MB / 369.8 MB, free: 272 kB / 330.7 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 2.605e-06/2.605e-06, allocations: 2.844 kB / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.538e-05, allocations: 2.312 kB / 470.4 MB, free: 18.86 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_L1_WithEMotor): time 0.1352/0.1353, allocations: 61.9 MB / 0.5199 GB, free: 9.781 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.155, allocations: 17.91 MB / 0.5373 GB, free: 7.82 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.1568, allocations: 59.56 kB / 0.5374 GB, free: 7.762 MB / 458.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.002962/0.1598, allocations: 1.306 MB / 0.5387 GB, free: 6.449 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.1633, allocations: 1.561 MB / 0.5402 GB, free: 4.879 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.1677, allocations: 2.103 MB / 0.5423 GB, free: 2.77 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.1718, allocations: 3.518 MB / 0.5457 GB, free: 15.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.1734, allocations: 1.238 MB / 0.5469 GB, free: 13.97 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1092/0.2827, allocations: 47.14 MB / 0.5929 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.285, allocations: 1.246 MB / 0.5941 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/0.2856, allocations: 200 kB / 0.5943 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.2888, allocations: 1.629 MB / 0.5959 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.2894, allocations: 0.7276 MB / 0.5966 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.2908, allocations: 0.7671 MB / 0.5974 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006635/0.2974, allocations: 3.526 MB / 0.6008 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2974, allocations: 0 / 0.6008 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2974, allocations: 3.938 kB / 0.6008 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001057/0.2975, allocations: 0 / 0.6008 GB, free: 7.859 MB / 0.5105 GB 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.004661/0.3022, allocations: 3.943 MB / 0.6047 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3022, allocations: 8.031 kB / 0.6047 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.3027, allocations: 458.7 kB / 0.6051 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.3047, allocations: 1.759 MB / 0.6069 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.3048, allocations: 119.3 kB / 0.607 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.3049, allocations: 156.3 kB / 0.6071 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.3078, allocations: 2.531 MB / 0.6096 GB, free: 14.26 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.3078, allocations: 15.81 kB / 0.6096 GB, free: 14.24 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.3079, allocations: 68 kB / 0.6097 GB, free: 14.18 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3079, allocations: 47.94 kB / 0.6097 GB, free: 14.13 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.3097, allocations: 1.156 MB / 0.6108 GB, free: 12.94 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009417/0.3191, allocations: 13.96 MB / 0.6245 GB, free: 14.53 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.3216, allocations: 1.378 MB / 0.6258 GB, free: 13 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.322, allocations: 424.8 kB / 0.6262 GB, free: 12.52 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.3222, allocations: 112.6 kB / 0.6263 GB, free: 12.41 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.3238, allocations: 1.225 MB / 0.6275 GB, free: 11.08 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.178e-06/0.3238, allocations: 0 / 0.6275 GB, free: 11.08 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.008708/0.3326, allocations: 4.722 MB / 0.6321 GB, free: 6.234 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/0.3328, allocations: 0.6964 MB / 0.6328 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.3344, allocations: 2.122 MB / 0.6349 GB, free: 3.242 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/0.3345, allocations: 57.69 kB / 0.6349 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007088/0.3352, allocations: 1.243 MB / 0.6362 GB, free: 1.922 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.3357, allocations: 0.7783 MB / 0.6369 GB, free: 1.137 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.3362, allocations: 0.526 MB / 0.6374 GB, free: 0.6016 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3363, allocations: 480.8 kB / 0.6379 GB, free: 132 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.3367, allocations: 381.6 kB / 0.6383 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3379, allocations: 1.527 MB / 0.6397 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.3398, allocations: 2.263 MB / 0.642 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3398, allocations: 4 kB / 0.642 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002914/0.3427, allocations: 2.239 MB / 0.6441 GB, free: 8.723 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.3427, allocations: 83.3 kB / 0.6442 GB, free: 8.629 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002483/0.3452, allocations: 1.411 MB / 0.6456 GB, free: 7.176 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/0.3459, allocations: 242.8 kB / 0.6458 GB, free: 6.926 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3472, allocations: 0.5537 MB / 0.6464 GB, free: 6.371 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.227/0.5742, allocations: 7.01 MB / 0.6532 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5755, allocations: 115.9 kB / 0.6533 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.5756, allocations: 126.1 kB / 0.6535 GB, free: 116.8 MB / 0.5574 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.0009057/0.5765, allocations: 0.5276 MB / 0.654 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006611/0.5772, allocations: 1.52 MB / 0.6555 GB, free: 115.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001491/0.5787, allocations: 2.255 MB / 0.6577 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.627e-06/0.5787, allocations: 8.469 kB / 0.6577 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002263/0.581, allocations: 2.215 MB / 0.6598 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.581, allocations: 78.83 kB / 0.6599 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001437/0.5824, allocations: 1.371 MB / 0.6612 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.5829, allocations: 216.6 kB / 0.6614 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.5837, allocations: 0.5527 MB / 0.662 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/0.5878, allocations: 6.981 MB / 0.6688 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.5885, allocations: 110.5 kB / 0.6689 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.5886, allocations: 122.6 kB / 0.669 GB, free: 107.7 MB / 0.5574 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.0004758/0.5891, allocations: 499.4 kB / 0.6695 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.5894, allocations: 344.7 kB / 0.6698 GB, free: 107.3 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 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.002051/0.5915, allocations: 1.918 MB / 0.6717 GB, free: 107 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.333649911452085]