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.01334/0.01334, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.005362/0.005362, allocations: 78.58 kB / 24.59 MB, free: 7.215 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.001353/0.001353, allocations: 161.1 kB / 28.4 MB, free: 4.312 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.9037/0.9037, allocations: 177.2 MB / 209.3 MB, free: 2.523 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.6825/0.6825, allocations: 102.5 MB / 368.7 MB, free: 1.008 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5378 GB, free: 39.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.234e-05, allocations: 3.969 kB / 0.5378 GB, free: 39.09 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.104/0.104, allocations: 67.11 MB / 0.6034 GB, free: 8.07 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.1192, allocations: 17.23 MB / 0.6202 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006236/0.1199, allocations: 55.62 kB / 0.6203 GB, free: 6.723 MB / 0.5105 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.001895/0.1218, allocations: 1.313 MB / 0.6215 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1232, allocations: 1.534 MB / 0.623 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1253, allocations: 2.107 MB / 0.6251 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.1273, allocations: 3.526 MB / 0.6285 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008368/0.1281, allocations: 1.187 MB / 0.6297 GB, free: 12.99 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.1293, allocations: 1.909 MB / 0.6316 GB, free: 11.08 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009876/0.1303, allocations: 1.373 MB / 0.6329 GB, free: 9.703 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.1305, allocations: 248 kB / 0.6331 GB, free: 9.461 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1321, allocations: 1.703 MB / 0.6348 GB, free: 7.754 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.1325, allocations: 0.8251 MB / 0.6356 GB, free: 6.926 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005511/0.133, allocations: 0.8607 MB / 0.6364 GB, free: 6.062 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.136, allocations: 4.926 MB / 0.6413 GB, free: 1.121 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.136, allocations: 7.938 kB / 0.6413 GB, free: 1.113 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1361, allocations: 0 / 0.6413 GB, free: 1.113 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.1361, allocations: 0 / 0.6413 GB, free: 1.113 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.003627/0.1397, allocations: 3.899 MB / 0.6451 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1397, allocations: 12.03 kB / 0.6451 GB, free: 13.13 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.1399, allocations: 241.8 kB / 0.6453 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005603/0.1405, allocations: 406.6 kB / 0.6457 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.1433, allocations: 2.851 MB / 0.6485 GB, free: 9.562 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1434, allocations: 123.3 kB / 0.6486 GB, free: 9.441 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1436, allocations: 148.3 kB / 0.6487 GB, free: 9.297 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.1466, allocations: 2.862 MB / 0.6515 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.1467, allocations: 11.88 kB / 0.6515 GB, free: 6.055 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.1468, allocations: 72 kB / 0.6516 GB, free: 5.984 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.1468, allocations: 44 kB / 0.6517 GB, free: 5.941 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.1497, allocations: 1.959 MB / 0.6536 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006878/0.1566, allocations: 10.89 MB / 0.6642 GB, free: 8.699 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.1592, allocations: 1.774 MB / 0.6659 GB, free: 6.805 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008227/0.16, allocations: 0.7319 MB / 0.6667 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.1602, allocations: 76.91 kB / 0.6667 GB, free: 5.953 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.1623, allocations: 1.544 MB / 0.6682 GB, free: 4.316 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.755e-06/0.1623, allocations: 3.938 kB / 0.6682 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01309/0.1754, allocations: 13.31 MB / 0.6812 GB, free: 6.824 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.1755, allocations: 0.6385 MB / 0.6819 GB, free: 6.035 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.1776, allocations: 2.434 MB / 0.6842 GB, free: 3.578 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.1777, allocations: 53.7 kB / 0.6843 GB, free: 3.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.1782, allocations: 1.109 MB / 0.6854 GB, free: 2.398 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.1786, allocations: 0.7706 MB / 0.6861 GB, free: 1.621 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/0.179, allocations: 0.4925 MB / 0.6866 GB, free: 1.121 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.1791, allocations: 305.1 kB / 0.6869 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.1801, allocations: 0.8456 MB / 0.6877 GB, free: 15.96 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.1815, allocations: 1.621 MB / 0.6893 GB, free: 14 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05012/0.2316, allocations: 15.01 MB / 0.704 GB, free: 14.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2317, allocations: 4 kB / 0.704 GB, free: 14.62 MB / 0.6043 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004174/0.2358, allocations: 3.156 MB / 0.707 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.2359, allocations: 80.39 kB / 0.7071 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002968/0.2389, allocations: 2.293 MB / 0.7094 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.2395, allocations: 278.3 kB / 0.7096 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.2404, allocations: 0.554 MB / 0.7102 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.2468, allocations: 6.162 MB / 0.7162 GB, free: 1.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/0.2477, allocations: 119.6 kB / 0.7163 GB, free: 1.539 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.2479, allocations: 144 kB / 0.7164 GB, free: 1.398 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.001837/0.2497, allocations: 1.328 MB / 0.7177 GB, free: 56 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001583/0.2513, allocations: 1.609 MB / 0.7193 GB, free: 14.11 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04995/0.3013, allocations: 14.96 MB / 0.7339 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.3013, allocations: 4 kB / 0.7339 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003906/0.3052, allocations: 3.07 MB / 0.7369 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.3052, allocations: 83.38 kB / 0.737 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002997/0.3082, allocations: 2.208 MB / 0.7392 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.3087, allocations: 262.3 kB / 0.7394 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.3097, allocations: 0.5498 MB / 0.7399 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.3156, allocations: 5.98 MB / 0.7458 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/0.3165, allocations: 112.3 kB / 0.7459 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.3166, allocations: 143.9 kB / 0.746 GB, free: 1.934 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.0004832/0.3171, allocations: 412.8 kB / 0.7464 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.3174, allocations: 305.9 kB / 0.7467 GB, free: 1.211 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.002522/0.3199, allocations: 2.267 MB / 0.7489 GB, free: 14.9 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1375331776216626]