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.005933/0.005933, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.000598/0.000598, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007303/0.0007303, allocations: 162 kB / 27.86 MB, free: 5.086 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.8455/0.8455, allocations: 177.1 MB / 208.6 MB, free: 2.984 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.6751/0.6751, allocations: 102.5 MB / 367.9 MB, free: 1.453 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 0.5.2 (/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.072e-06/1.072e-06, allocations: 0 / 0.5367 GB, free: 39.67 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.97e-05, allocations: 5.219 kB / 0.5367 GB, free: 39.67 MB / 490.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.106/0.106, allocations: 58.41 MB / 0.5937 GB, free: 1.488 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.1229, allocations: 17.23 MB / 0.6105 GB, free: 196 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.124, allocations: 59.56 kB / 0.6106 GB, free: 136 kB / 0.4949 GB [/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.00213/0.1261, allocations: 1.309 MB / 0.6119 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1281, allocations: 1.537 MB / 0.6134 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.1313, allocations: 2.114 MB / 0.6154 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.1338, allocations: 3.52 MB / 0.6189 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009302/0.1347, allocations: 1.175 MB / 0.62 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.1361, allocations: 1.913 MB / 0.6219 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1372, allocations: 1.365 MB / 0.6232 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.1374, allocations: 248 kB / 0.6235 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.1396, allocations: 1.711 MB / 0.6251 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.14, allocations: 0.8212 MB / 0.6259 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.1406, allocations: 0.8569 MB / 0.6268 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.1441, allocations: 4.926 MB / 0.6316 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1441, allocations: 4 kB / 0.6316 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1441, allocations: 0 / 0.6316 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.1441, allocations: 0 / 0.6316 GB, free: 10.54 MB / 0.5262 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.003744/0.1479, allocations: 3.906 MB / 0.6354 GB, free: 6.559 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1479, allocations: 8.031 kB / 0.6354 GB, free: 6.551 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.1485, allocations: 406.6 kB / 0.6358 GB, free: 6.152 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.1513, allocations: 2.838 MB / 0.6386 GB, free: 3.246 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.1514, allocations: 115.2 kB / 0.6387 GB, free: 3.133 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1516, allocations: 156.3 kB / 0.6388 GB, free: 2.98 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.1546, allocations: 2.867 MB / 0.6416 GB, free: 15.74 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.1547, allocations: 15.81 kB / 0.6416 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.1548, allocations: 71.98 kB / 0.6417 GB, free: 15.66 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.1548, allocations: 44 kB / 0.6417 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.1577, allocations: 1.963 MB / 0.6437 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006682/0.1643, allocations: 10.68 MB / 0.6541 GB, free: 2.598 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.1669, allocations: 1.793 MB / 0.6558 GB, free: 0.6914 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.1677, allocations: 0.7253 MB / 0.6565 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.1679, allocations: 80.89 kB / 0.6566 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.1699, allocations: 1.533 MB / 0.6581 GB, free: 14.21 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 3.577e-06/0.1699, allocations: 0 / 0.6581 GB, free: 14.21 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01422/0.1842, allocations: 13.31 MB / 0.6711 GB, free: 0.7305 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.1844, allocations: 0.6385 MB / 0.6717 GB, free: 15.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.1867, allocations: 2.363 MB / 0.674 GB, free: 13.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.1868, allocations: 53.7 kB / 0.6741 GB, free: 13.51 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.1875, allocations: 1.124 MB / 0.6752 GB, free: 12.37 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.1879, allocations: 0.7667 MB / 0.6759 GB, free: 11.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/0.1884, allocations: 0.4925 MB / 0.6764 GB, free: 11.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.1885, allocations: 301.1 kB / 0.6767 GB, free: 10.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.1895, allocations: 0.8459 MB / 0.6775 GB, free: 9.941 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.1908, allocations: 1.628 MB / 0.6791 GB, free: 7.973 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04939/0.2402, allocations: 15.02 MB / 0.6938 GB, free: 8.586 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.2402, allocations: 11.94 kB / 0.6938 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004238/0.2445, allocations: 3.145 MB / 0.6969 GB, free: 5.387 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.2445, allocations: 80.95 kB / 0.697 GB, free: 5.297 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002972/0.2475, allocations: 2.293 MB / 0.6992 GB, free: 2.969 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.2481, allocations: 270.3 kB / 0.6995 GB, free: 2.695 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.2491, allocations: 0.5538 MB / 0.7 GB, free: 2.141 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.2552, allocations: 6.098 MB / 0.706 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.2561, allocations: 119.6 kB / 0.7061 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.2563, allocations: 143.9 kB / 0.7062 GB, free: 11.48 MB / 0.6043 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.001746/0.258, allocations: 1.316 MB / 0.7075 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001321/0.2594, allocations: 1.609 MB / 0.7091 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04999/0.3093, allocations: 14.97 MB / 0.7237 GB, free: 8.855 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.235e-05/0.3094, allocations: 11.94 kB / 0.7237 GB, free: 8.844 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003937/0.3133, allocations: 3.067 MB / 0.7267 GB, free: 5.734 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.3133, allocations: 79.39 kB / 0.7268 GB, free: 5.645 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002751/0.3161, allocations: 2.203 MB / 0.7289 GB, free: 3.406 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/0.3166, allocations: 258.3 kB / 0.7292 GB, free: 3.145 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.3175, allocations: 0.546 MB / 0.7297 GB, free: 2.598 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.3233, allocations: 5.92 MB / 0.7355 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.3242, allocations: 107.8 kB / 0.7356 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.3243, allocations: 147.9 kB / 0.7357 GB, free: 12.12 MB / 0.6355 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.0004868/0.3248, allocations: 420.8 kB / 0.7361 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.3251, allocations: 298 kB / 0.7364 GB, free: 11.4 MB / 0.6355 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.002668/0.3278, allocations: 2.251 MB / 0.7386 GB, free: 9.102 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.074532225728035] Failed to read output from testmodel.py, exit status != 0: 0.6123462477698922 0.618856903 0.47345388 Calling exit ...