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.008527/0.008527, allocations: 1.442 MB / 20.54 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.0009098/0.0009098, allocations: 91.45 kB / 24.16 MB, free: 392 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.001013/0.001013, allocations: 164.3 kB / 27.86 MB, free: 5.082 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.9181/0.9181, allocations: 177.2 MB / 208.6 MB, free: 2.984 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.7259/0.7259, allocations: 102.5 MB / 367.9 MB, free: 1.465 MB / 330.8 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.341e-05, allocations: 3.266 kB / 0.5362 GB, free: 40.07 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.1177/0.1178, allocations: 58.42 MB / 0.5932 GB, free: 2.133 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.1382, allocations: 17.25 MB / 0.6101 GB, free: 0.8242 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.1402, allocations: 55.62 kB / 0.6101 GB, free: 0.7695 MB / 0.4949 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.003037/0.1433, allocations: 1.301 MB / 0.6114 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.1466, allocations: 1.537 MB / 0.6129 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.1509, allocations: 2.117 MB / 0.615 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004372/0.1552, allocations: 3.514 MB / 0.6184 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.1576, allocations: 1.171 MB / 0.6195 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.1611, allocations: 1.909 MB / 0.6214 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.1635, allocations: 1.367 MB / 0.6227 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009239/0.1644, allocations: 252 kB / 0.623 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.1681, allocations: 1.703 MB / 0.6246 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.1687, allocations: 0.8173 MB / 0.6254 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1702, allocations: 0.8607 MB / 0.6263 GB, free: 148 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.1764, allocations: 4.926 MB / 0.6311 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1764, allocations: 3.938 kB / 0.6311 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.1764, allocations: 4 kB / 0.6311 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001221/0.1766, allocations: 0 / 0.6311 GB, free: 11.19 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.005289/0.1818, allocations: 3.899 MB / 0.6349 GB, free: 7.219 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1819, allocations: 11.97 kB / 0.6349 GB, free: 7.207 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.1821, allocations: 245.8 kB / 0.6352 GB, free: 6.957 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.1828, allocations: 406.6 kB / 0.6355 GB, free: 6.559 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.1861, allocations: 2.842 MB / 0.6383 GB, free: 3.648 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/0.1862, allocations: 127.2 kB / 0.6384 GB, free: 3.523 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.1863, allocations: 156.3 kB / 0.6386 GB, free: 3.371 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/0.1897, allocations: 2.862 MB / 0.6414 GB, free: 140 kB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.1897, allocations: 11.88 kB / 0.6414 GB, free: 128 kB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.1898, allocations: 71.98 kB / 0.6415 GB, free: 56 kB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.1898, allocations: 44 kB / 0.6415 GB, free: 12 kB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.1928, allocations: 1.963 MB / 0.6434 GB, free: 14.03 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009284/0.2021, allocations: 10.89 MB / 0.6541 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.2052, allocations: 1.783 MB / 0.6558 GB, free: 0.8672 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.2061, allocations: 0.7251 MB / 0.6565 GB, free: 100 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.2063, allocations: 72.91 kB / 0.6566 GB, free: 28 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002502/0.2088, allocations: 1.544 MB / 0.6581 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 4.689e-06/0.2088, allocations: 0 / 0.6581 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01502/0.2238, allocations: 13.31 MB / 0.6711 GB, free: 0.8984 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.224, allocations: 0.6385 MB / 0.6717 GB, free: 112 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.2267, allocations: 2.431 MB / 0.6741 GB, free: 13.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.2268, allocations: 53.7 kB / 0.6741 GB, free: 13.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.2275, allocations: 1.106 MB / 0.6752 GB, free: 12.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/0.228, allocations: 0.7749 MB / 0.676 GB, free: 11.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.2285, allocations: 0.4925 MB / 0.6764 GB, free: 11.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2286, allocations: 309.1 kB / 0.6767 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.2297, allocations: 0.8417 MB / 0.6776 GB, free: 10.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.2314, allocations: 1.628 MB / 0.6792 GB, free: 8.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04972/0.2811, allocations: 15.01 MB / 0.6938 GB, free: 8.688 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.2812, allocations: 7.938 kB / 0.6938 GB, free: 8.68 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004669/0.2858, allocations: 3.148 MB / 0.6969 GB, free: 5.488 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.2859, allocations: 79.39 kB / 0.697 GB, free: 5.398 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003107/0.289, allocations: 2.294 MB / 0.6992 GB, free: 3.07 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.2897, allocations: 278.4 kB / 0.6995 GB, free: 2.789 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2907, allocations: 0.5537 MB / 0.7 GB, free: 2.234 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007163/0.2979, allocations: 6.171 MB / 0.706 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.2997, allocations: 115.7 kB / 0.7062 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.2999, allocations: 143.9 kB / 0.7063 GB, free: 11.46 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.002438/0.3023, allocations: 1.316 MB / 0.7076 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001446/0.3038, allocations: 1.613 MB / 0.7092 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04839/0.3522, allocations: 14.96 MB / 0.7238 GB, free: 8.848 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.347e-05/0.3522, allocations: 4 kB / 0.7238 GB, free: 8.844 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004501/0.3567, allocations: 3.07 MB / 0.7268 GB, free: 5.73 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.3567, allocations: 80.78 kB / 0.7268 GB, free: 5.641 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002865/0.3596, allocations: 2.219 MB / 0.729 GB, free: 3.387 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.3602, allocations: 258.3 kB / 0.7293 GB, free: 3.125 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.3611, allocations: 0.5537 MB / 0.7298 GB, free: 2.57 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/0.3672, allocations: 5.984 MB / 0.7356 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3686, allocations: 104 kB / 0.7357 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.3688, allocations: 147.9 kB / 0.7359 GB, free: 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.0006221/0.3694, allocations: 416.8 kB / 0.7363 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.3698, allocations: 305.9 kB / 0.7366 GB, free: 11.27 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.002719/0.3725, allocations: 2.252 MB / 0.7388 GB, free: 8.977 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5120245395228267] Failed to read output from testmodel.py, exit status != 0: 0.7766840383410454 0.7848797319999999 0.606893883 Calling exit ...