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.01724/0.01724, allocations: 1.8 MB / 21.15 MB, free: 3.242 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.001815/0.001815, allocations: 77.2 kB / 24.88 MB, free: 6.809 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.002074/0.002074, allocations: 166.2 kB / 28.74 MB, free: 3.645 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.559/1.559, allocations: 177.1 MB / 209.6 MB, free: 2.387 MB / 186.7 MB " [Timeout remaining time 178] 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 1.135/1.135, allocations: 102.5 MB / 369.1 MB, free: 0.8438 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.914e-06/1.914e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.277e-05, allocations: 2.312 kB / 469.1 MB, free: 12.96 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.1882/0.1883, allocations: 59.76 MB / 0.5165 GB, free: 1.176 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2742/0.4625, allocations: 17.87 MB / 0.5339 GB, free: 66.72 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.4654, allocations: 55.72 kB / 0.534 GB, free: 66.7 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.003394/0.4688, allocations: 1.308 MB / 0.5353 GB, free: 66.12 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.4726, allocations: 1.535 MB / 0.5368 GB, free: 65.23 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.4774, allocations: 2.109 MB / 0.5388 GB, free: 64.17 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.4819, allocations: 3.513 MB / 0.5423 GB, free: 62.42 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.4838, allocations: 1.248 MB / 0.5435 GB, free: 61.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.4867, allocations: 1.906 MB / 0.5453 GB, free: 60.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.4893, allocations: 1.366 MB / 0.5467 GB, free: 60.36 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006507/0.4899, allocations: 249.1 kB / 0.5469 GB, free: 60.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.4947, allocations: 1.705 MB / 0.5486 GB, free: 59.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009935/0.4957, allocations: 0.8201 MB / 0.5494 GB, free: 59.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.4973, allocations: 0.8631 MB / 0.5502 GB, free: 58.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.5079, allocations: 4.954 MB / 0.5551 GB, free: 57.16 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5079, allocations: 0 / 0.5551 GB, free: 57.16 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5079, allocations: 0 / 0.5551 GB, free: 57.16 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001217/0.508, allocations: 6.531 kB / 0.5551 GB, free: 57.16 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.01084/0.5188, allocations: 4.547 MB / 0.5595 GB, free: 54.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5189, allocations: 8.969 kB / 0.5595 GB, free: 54.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5204, allocations: 0.514 MB / 0.56 GB, free: 54.14 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.5254, allocations: 2.59 MB / 0.5625 GB, free: 52.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.5255, allocations: 118.5 kB / 0.5627 GB, free: 52.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.5258, allocations: 159.4 kB / 0.5628 GB, free: 52.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.5309, allocations: 3.144 MB / 0.5659 GB, free: 50.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.531, allocations: 15.38 kB / 0.5659 GB, free: 50.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.5311, allocations: 76.16 kB / 0.566 GB, free: 50.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.5311, allocations: 43.62 kB / 0.566 GB, free: 50.07 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.5357, allocations: 1.866 MB / 0.5678 GB, free: 49.22 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.5475, allocations: 15.45 MB / 0.5829 GB, free: 35.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.5517, allocations: 1.838 MB / 0.5847 GB, free: 34.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.5529, allocations: 0.6912 MB / 0.5854 GB, free: 33.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.5531, allocations: 89.89 kB / 0.5855 GB, free: 33.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/0.5563, allocations: 1.632 MB / 0.5871 GB, free: 31.75 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 4.619e-06/0.5563, allocations: 0.8438 kB / 0.5871 GB, free: 31.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.02026/0.5766, allocations: 13.09 MB / 0.5999 GB, free: 18.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.5767, allocations: 0.6424 MB / 0.6005 GB, free: 17.71 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/0.58, allocations: 2.764 MB / 0.6032 GB, free: 14.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003697/0.5803, allocations: 57.69 kB / 0.6032 GB, free: 14.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008265/0.5812, allocations: 1.337 MB / 0.6045 GB, free: 13.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/0.5818, allocations: 0.8331 MB / 0.6054 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/0.5825, allocations: 0.5965 MB / 0.6059 GB, free: 12.07 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.5825, allocations: 484.7 kB / 0.6064 GB, free: 11.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5839, allocations: 0.7735 MB / 0.6072 GB, free: 10.81 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.5858, allocations: 1.915 MB / 0.609 GB, free: 8.43 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.5902, allocations: 3.398 MB / 0.6123 GB, free: 4.613 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5902, allocations: 10.66 kB / 0.6124 GB, free: 4.605 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00597/0.5962, allocations: 3.054 MB / 0.6153 GB, free: 1.535 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.5963, allocations: 80.17 kB / 0.6154 GB, free: 1.445 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004896/0.6012, allocations: 2.107 MB / 0.6175 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.6028, allocations: 333.1 kB / 0.6178 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.6049, allocations: 0.5538 MB / 0.6183 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.6193, allocations: 7.827 MB / 0.626 GB, free: 6.305 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.622, allocations: 110.4 kB / 0.6261 GB, free: 6.199 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.6224, allocations: 151.9 kB / 0.6262 GB, free: 6.051 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.00302/0.6254, allocations: 1.102 MB / 0.6273 GB, free: 4.93 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003143/0.6286, allocations: 1.908 MB / 0.6292 GB, free: 2.562 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006369/0.6349, allocations: 3.36 MB / 0.6324 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.594e-05/0.6349, allocations: 4 kB / 0.6324 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007706/0.6427, allocations: 3.024 MB / 0.6354 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.656e-05/0.6428, allocations: 82.02 kB / 0.6355 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005068/0.6478, allocations: 2.045 MB / 0.6375 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.6492, allocations: 295.6 kB / 0.6378 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.6513, allocations: 0.5555 MB / 0.6383 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.6656, allocations: 7.689 MB / 0.6458 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.6682, allocations: 103.8 kB / 0.6459 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/0.6686, allocations: 143.9 kB / 0.646 GB, free: 0.5039 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.001133/0.6697, allocations: 499.2 kB / 0.6465 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/0.6709, allocations: 348.8 kB / 0.6469 GB, free: 15.66 MB / 0.5262 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.00547/0.6764, allocations: 2.155 MB / 0.649 GB, free: 13.57 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.901166940922849]