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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.00781/0.00781, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.0841/0.0841, allocations: 18.24 MB / 42.2 MB, free: 5.188 MB / 33.03 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.001534/0.001534, allocations: 75.7 kB / 53.06 MB, free: 6.52 MB / 44.04 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.001822/0.001822, allocations: 166.6 kB / 64.04 MB, free: 10.2 MB / 58.72 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.9472/0.9472, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.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.5199/0.5199, allocations: 102.5 MB / 418.6 MB, free: 5.191 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_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_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.393e-06/1.393e-06, allocations: 0 / 0.6029 GB, free: 284 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.504e-05, allocations: 6.219 kB / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.00897/0.008985, allocations: 11.74 MB / 0.6144 GB, free: 4.473 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.02621, allocations: 17.24 MB / 0.6312 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.02757, allocations: 55.62 kB / 0.6313 GB, free: 3.117 MB / 0.5105 GB [/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.00224/0.02981, allocations: 1.309 MB / 0.6326 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.03203, allocations: 1.53 MB / 0.6341 GB, free: 268 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.0355, allocations: 2.114 MB / 0.6361 GB, free: 14.15 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.03859, allocations: 3.531 MB / 0.6396 GB, free: 10.61 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.03978, allocations: 1.187 MB / 0.6407 GB, free: 9.391 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.0414, allocations: 1.917 MB / 0.6426 GB, free: 7.469 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.04286, allocations: 1.361 MB / 0.6439 GB, free: 6.105 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.04312, allocations: 248 kB / 0.6442 GB, free: 5.863 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.04547, allocations: 1.706 MB / 0.6458 GB, free: 4.156 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.04593, allocations: 0.8251 MB / 0.6466 GB, free: 3.328 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007283/0.04666, allocations: 0.8568 MB / 0.6475 GB, free: 2.469 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.05127, allocations: 4.926 MB / 0.6523 GB, free: 13.53 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.05127, allocations: 0 / 0.6523 GB, free: 13.53 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.232e-06/0.05127, allocations: 0 / 0.6523 GB, free: 13.53 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.0513, allocations: 4 kB / 0.6523 GB, free: 13.52 MB / 0.5418 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.004024/0.05533, allocations: 3.903 MB / 0.6561 GB, free: 9.547 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.05537, allocations: 8.031 kB / 0.6561 GB, free: 9.539 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.05556, allocations: 241.8 kB / 0.6563 GB, free: 9.293 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.05616, allocations: 406.6 kB / 0.6567 GB, free: 8.895 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.05944, allocations: 2.864 MB / 0.6595 GB, free: 5.965 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.05951, allocations: 119.2 kB / 0.6596 GB, free: 5.848 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.05965, allocations: 152.3 kB / 0.6598 GB, free: 5.699 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.06283, allocations: 2.862 MB / 0.6626 GB, free: 2.469 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.06286, allocations: 15.88 kB / 0.6626 GB, free: 2.453 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/0.06296, allocations: 79.88 kB / 0.6627 GB, free: 2.375 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.06299, allocations: 44 kB / 0.6627 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.06611, allocations: 1.955 MB / 0.6646 GB, free: 364 kB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2102/0.2763, allocations: 10.87 MB / 0.6752 GB, free: 59.46 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.2794, allocations: 1.783 MB / 0.677 GB, free: 58.63 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.2803, allocations: 0.7342 MB / 0.6777 GB, free: 58.25 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.2805, allocations: 72.09 kB / 0.6778 GB, free: 58.24 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.2828, allocations: 1.538 MB / 0.6793 GB, free: 57.53 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.549e-06/0.2828, allocations: 1.188 kB / 0.6793 GB, free: 57.53 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01245/0.2952, allocations: 13.31 MB / 0.6923 GB, free: 49.54 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.2953, allocations: 0.6425 MB / 0.6929 GB, free: 48.77 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.2979, allocations: 2.433 MB / 0.6953 GB, free: 47.89 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.298, allocations: 54.41 kB / 0.6953 GB, free: 47.84 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000607/0.2986, allocations: 1.106 MB / 0.6964 GB, free: 47.03 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.299, allocations: 0.7692 MB / 0.6972 GB, free: 46.51 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.2997, allocations: 0.4927 MB / 0.6976 GB, free: 46.31 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.2997, allocations: 303.2 kB / 0.6979 GB, free: 46.01 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3008, allocations: 0.8433 MB / 0.6987 GB, free: 45.64 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3022, allocations: 1.628 MB / 0.7003 GB, free: 44.29 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05188/0.3541, allocations: 15.02 MB / 0.715 GB, free: 39.27 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.3541, allocations: 11.77 kB / 0.715 GB, free: 39.26 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003968/0.3581, allocations: 3.151 MB / 0.7181 GB, free: 36.57 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.3581, allocations: 79.39 kB / 0.7182 GB, free: 36.48 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002598/0.3607, allocations: 2.294 MB / 0.7204 GB, free: 34.15 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.3613, allocations: 276.2 kB / 0.7207 GB, free: 33.88 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.3622, allocations: 0.5498 MB / 0.7212 GB, free: 33.32 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.3676, allocations: 6.168 MB / 0.7272 GB, free: 26.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.3687, allocations: 117.2 kB / 0.7273 GB, free: 26.74 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.3689, allocations: 148.9 kB / 0.7275 GB, free: 26.59 MB / 0.5418 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.001696/0.3706, allocations: 1.328 MB / 0.7288 GB, free: 25.25 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.3716, allocations: 1.601 MB / 0.7303 GB, free: 23.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04869/0.4203, allocations: 14.97 MB / 0.745 GB, free: 7.984 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.4203, allocations: 7.938 kB / 0.745 GB, free: 7.977 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00375/0.4241, allocations: 3.076 MB / 0.748 GB, free: 4.867 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.4241, allocations: 79.39 kB / 0.748 GB, free: 4.777 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002428/0.4265, allocations: 2.208 MB / 0.7502 GB, free: 2.535 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.4271, allocations: 262.3 kB / 0.7505 GB, free: 2.273 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.4279, allocations: 0.5576 MB / 0.751 GB, free: 1.715 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.4339, allocations: 5.986 MB / 0.7568 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4352, allocations: 110.3 kB / 0.7569 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4354, allocations: 147.9 kB / 0.7571 GB, free: 11.17 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.0006906/0.4361, allocations: 413 kB / 0.7575 GB, free: 10.76 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.4365, allocations: 302 kB / 0.7578 GB, free: 10.46 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 1.9.0-ClaRa/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.003241/0.4397, allocations: 2.26 MB / 0.76 GB, free: 8.266 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.2121193930506706]