Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008083/0.008083, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.0007627/0.0007627, allocations: 77.27 kB / 26.19 MB, free: 6.078 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.0008617/0.0008617, allocations: 165.2 kB / 30.12 MB, free: 2.184 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.026/1.026, allocations: 177.2 MB / 211.1 MB, free: 3.477 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.6187/0.6187, allocations: 102.4 MB / 370.6 MB, free: 256 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_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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 471.2 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.372e-05, allocations: 3.297 kB / 471.2 MB, free: 18.85 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.1193/0.1193, allocations: 61.89 MB / 0.5206 GB, free: 9.789 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.1397, allocations: 17.9 MB / 0.5381 GB, free: 7.836 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.1416, allocations: 55.62 kB / 0.5382 GB, free: 7.781 MB / 458.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.002662/0.1442, allocations: 1.318 MB / 0.5394 GB, free: 6.457 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.1472, allocations: 1.553 MB / 0.541 GB, free: 4.895 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.151, allocations: 2.099 MB / 0.543 GB, free: 2.789 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.1547, allocations: 3.527 MB / 0.5465 GB, free: 15.25 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.1563, allocations: 1.239 MB / 0.5477 GB, free: 13.98 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1307/0.287, allocations: 47.14 MB / 0.5937 GB, free: 16 kB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.289, allocations: 1.246 MB / 0.5949 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004543/0.2894, allocations: 200 kB / 0.5951 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.2924, allocations: 1.629 MB / 0.5967 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.293, allocations: 0.7237 MB / 0.5974 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009105/0.2939, allocations: 0.7788 MB / 0.5982 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.3001, allocations: 3.519 MB / 0.6016 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3001, allocations: 0 / 0.6016 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3001, allocations: 0 / 0.6016 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.3002, allocations: 0 / 0.6016 GB, free: 7.898 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.00429/0.3044, allocations: 3.951 MB / 0.6055 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3045, allocations: 8.031 kB / 0.6055 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.3049, allocations: 454.7 kB / 0.6059 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.307, allocations: 1.77 MB / 0.6076 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.307, allocations: 115.3 kB / 0.6077 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3072, allocations: 152.3 kB / 0.6079 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.31, allocations: 2.528 MB / 0.6104 GB, free: 14.29 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.31, allocations: 19.81 kB / 0.6104 GB, free: 14.27 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.3101, allocations: 68 kB / 0.6104 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.3102, allocations: 44 kB / 0.6105 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3121, allocations: 1.156 MB / 0.6116 GB, free: 12.98 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008666/0.3208, allocations: 13.96 MB / 0.6252 GB, free: 14.56 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.3231, allocations: 1.37 MB / 0.6266 GB, free: 13.04 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.3235, allocations: 424.8 kB / 0.627 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.3237, allocations: 88.89 kB / 0.6271 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.3255, allocations: 1.221 MB / 0.6283 GB, free: 11.15 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.118e-06/0.3255, allocations: 0 / 0.6283 GB, free: 11.15 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.008812/0.3344, allocations: 4.702 MB / 0.6329 GB, free: 6.32 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.3346, allocations: 0.6891 MB / 0.6335 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.3364, allocations: 2.126 MB / 0.6356 GB, free: 3.332 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3366, allocations: 57.7 kB / 0.6357 GB, free: 3.27 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/0.3373, allocations: 1.243 MB / 0.6369 GB, free: 2.012 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/0.3378, allocations: 0.7822 MB / 0.6376 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/0.3383, allocations: 0.5299 MB / 0.6382 GB, free: 0.6836 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3384, allocations: 476.8 kB / 0.6386 GB, free: 220 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.3389, allocations: 389.6 kB / 0.639 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3399, allocations: 1.519 MB / 0.6405 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.3422, allocations: 2.255 MB / 0.6427 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.3422, allocations: 8 kB / 0.6427 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003207/0.3454, allocations: 2.212 MB / 0.6448 GB, free: 8.84 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3454, allocations: 83.38 kB / 0.6449 GB, free: 8.746 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001819/0.3473, allocations: 1.368 MB / 0.6463 GB, free: 7.336 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/0.348, allocations: 254.8 kB / 0.6465 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.349, allocations: 0.5498 MB / 0.647 GB, free: 6.523 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.218/0.567, allocations: 6.998 MB / 0.6539 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5684, allocations: 114.1 kB / 0.654 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.5686, allocations: 128.1 kB / 0.6541 GB, free: 116.9 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.0009672/0.5695, allocations: 0.5282 MB / 0.6546 GB, free: 116.7 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007077/0.5702, allocations: 1.521 MB / 0.6561 GB, free: 115.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/0.5718, allocations: 2.252 MB / 0.6583 GB, free: 113.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/0.5718, allocations: 8.094 kB / 0.6583 GB, free: 113.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002559/0.5744, allocations: 2.184 MB / 0.6604 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.5744, allocations: 78.56 kB / 0.6605 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001481/0.5759, allocations: 1.335 MB / 0.6618 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.5764, allocations: 228.8 kB / 0.662 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.5773, allocations: 0.5525 MB / 0.6626 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.5816, allocations: 6.971 MB / 0.6694 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.5827, allocations: 108.3 kB / 0.6695 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.5829, allocations: 125.8 kB / 0.6696 GB, free: 107.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: 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.0006339/0.5835, allocations: 0.4937 MB / 0.6701 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.5839, allocations: 347.4 kB / 0.6704 GB, free: 107.4 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.002156/0.5861, allocations: 1.912 MB / 0.6723 GB, free: 107.2 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.285579909104854]