Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.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.01233/0.01233, allocations: 1.771 MB / 18.82 MB, free: 4.281 MB / 14.72 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.001399/0.001399, allocations: 103.6 kB / 22.07 MB, free: 1.027 MB / 14.72 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.001704/0.001704, allocations: 212.4 kB / 25.45 MB, free: 3.32 MB / 14.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 1.432/1.432, allocations: 230.6 MB / 259.2 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.089/1.089, allocations: 130.6 MB / 446.3 MB, free: 14.96 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3632/0.3632, allocations: 46.15 MB / 0.6552 GB, free: 30.15 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.5491, allocations: 89.05 MB / 0.7422 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.01693/0.566, allocations: 13.07 MB / 0.7549 GB, free: 5.574 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.5955, allocations: 18.12 MB / 0.7726 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.5985, allocations: 55.62 kB / 0.7727 GB, free: 3.34 MB / 0.5763 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.004274/0.6028, allocations: 1.337 MB / 0.774 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.6078, allocations: 1.465 MB / 0.7754 GB, free: 0.5234 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006716/0.6145, allocations: 2.017 MB / 0.7774 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00741/0.6219, allocations: 3.426 MB / 0.7807 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.6242, allocations: 1.113 MB / 0.7818 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.6271, allocations: 1.42 MB / 0.7832 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.6298, allocations: 1.677 MB / 0.7848 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007872/0.6306, allocations: 248 kB / 0.7851 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/0.6352, allocations: 2.171 MB / 0.7872 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.6363, allocations: 0.8056 MB / 0.788 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.6383, allocations: 1.406 MB / 0.7893 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009026/0.6474, allocations: 4.97 MB / 0.7942 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.6474, allocations: 0 / 0.7942 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6474, allocations: 4 kB / 0.7942 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001189/0.6475, allocations: 0 / 0.7942 GB, free: 13.19 MB / 0.6075 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.00827/0.6557, allocations: 3.68 MB / 0.7978 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6558, allocations: 12.03 kB / 0.7978 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.995e-05/0.6558, allocations: 39.08 kB / 0.7978 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/0.6562, allocations: 253.8 kB / 0.7981 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6574, allocations: 406.5 kB / 0.7985 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.6636, allocations: 2.959 MB / 0.8014 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.6638, allocations: 123 kB / 0.8015 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.664, allocations: 148 kB / 0.8016 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.67, allocations: 2.578 MB / 0.8041 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.6701, allocations: 11.88 kB / 0.8042 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.6702, allocations: 67.98 kB / 0.8042 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.6703, allocations: 44 kB / 0.8043 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.6757, allocations: 1.913 MB / 0.8061 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.6905, allocations: 11.63 MB / 0.8175 GB, free: 4.441 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.6957, allocations: 1.959 MB / 0.8194 GB, free: 2.324 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.6973, allocations: 0.663 MB / 0.8201 GB, free: 1.629 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.6977, allocations: 162 kB / 0.8202 GB, free: 1.453 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00405/0.7017, allocations: 1.471 MB / 0.8216 GB, free: 15.9 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 3.757e-06/0.7017, allocations: 4 kB / 0.8216 GB, free: 15.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.0262/0.7279, allocations: 13.41 MB / 0.8347 GB, free: 2.285 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003913/0.7283, allocations: 0.6428 MB / 0.8354 GB, free: 1.492 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.7319, allocations: 2.411 MB / 0.8377 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/0.7323, allocations: 53.7 kB / 0.8378 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.7333, allocations: 1.113 MB / 0.8389 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009363/0.7342, allocations: 0.7745 MB / 0.8396 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.7351, allocations: 0.4965 MB / 0.8401 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7352, allocations: 301.1 kB / 0.8404 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.737, allocations: 0.7837 MB / 0.8412 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.7394, allocations: 1.491 MB / 0.8426 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1097/0.8492, allocations: 14.98 MB / 0.8572 GB, free: 10.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.8492, allocations: 4 kB / 0.8572 GB, free: 10.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007602/0.8568, allocations: 3.083 MB / 0.8603 GB, free: 7.234 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.8569, allocations: 79.39 kB / 0.8603 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00542/0.8623, allocations: 2.219 MB / 0.8625 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.8636, allocations: 278.2 kB / 0.8628 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.8658, allocations: 0.5576 MB / 0.8633 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3866/1.252, allocations: 6.496 MB / 0.8697 GB, free: 116 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.254, allocations: 117.7 kB / 0.8698 GB, free: 116 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/1.255, allocations: 143.4 kB / 0.8699 GB, free: 116 MB / 0.67 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.002618/1.257, allocations: 1.259 MB / 0.8711 GB, free: 115.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001816/1.259, allocations: 1.478 MB / 0.8726 GB, free: 115.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1055/1.365, allocations: 14.95 MB / 0.8872 GB, free: 113.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.397e-05/1.365, allocations: 6.125 kB / 0.8872 GB, free: 113.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006725/1.371, allocations: 2.984 MB / 0.8901 GB, free: 112.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/1.371, allocations: 86.55 kB / 0.8902 GB, free: 112.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00456/1.376, allocations: 2.14 MB / 0.8923 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.377, allocations: 252.9 kB / 0.8925 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.379, allocations: 0.5554 MB / 0.893 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/1.389, allocations: 6.33 MB / 0.8992 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.391, allocations: 110.3 kB / 0.8993 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/1.391, allocations: 147.9 kB / 0.8995 GB, free: 106.2 MB / 0.67 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.0007884/1.392, allocations: 416.9 kB / 0.8999 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/1.392, allocations: 298.8 kB / 0.9002 GB, free: 105.9 MB / 0.67 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.004666/1.397, allocations: 2.247 MB / 0.9024 GB, free: 104.8 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.8887944459565915] Failed to read output from testmodel.py, exit status != 0: 1.4047807010356337 1.416283084 0.766203209 Calling exit ...