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.01495/0.01495, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001583/0.001583, allocations: 101.3 kB / 24.97 MB, free: 2.16 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.002146/0.002146, allocations: 207.2 kB / 28.7 MB, free: 3.441 MB / 19.63 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.438/1.438, allocations: 230.6 MB / 262.9 MB, free: 6.016 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.081/1.081, allocations: 130.7 MB / 450.4 MB, free: 6.559 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03137/0.03137, allocations: 20.6 MB / 0.6364 GB, free: 5.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.2039, allocations: 81.91 MB / 0.7163 GB, free: 3.258 MB / 0.5294 GB 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.5317/0.7356, allocations: 46.05 MB / 0.7613 GB, free: 20.33 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.7627, allocations: 18.41 MB / 0.7793 GB, free: 7.262 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.7665, allocations: 59.69 kB / 0.7794 GB, free: 7.234 MB / 0.5607 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.004628/0.7711, allocations: 1.353 MB / 0.7807 GB, free: 6.625 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.777, allocations: 1.49 MB / 0.7821 GB, free: 5.777 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006611/0.7836, allocations: 2.081 MB / 0.7842 GB, free: 4.742 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007085/0.7907, allocations: 3.434 MB / 0.7875 GB, free: 3.09 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.7934, allocations: 1.109 MB / 0.7886 GB, free: 2.559 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.7967, allocations: 1.414 MB / 0.79 GB, free: 1.758 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.8001, allocations: 1.682 MB / 0.7916 GB, free: 0.6875 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.801, allocations: 252.5 kB / 0.7919 GB, free: 0.6875 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006166/0.8071, allocations: 2.322 MB / 0.7941 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.8087, allocations: 0.8189 MB / 0.7949 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.8116, allocations: 1.403 MB / 0.7963 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.8235, allocations: 5.022 MB / 0.8012 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8235, allocations: 0 / 0.8012 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8235, allocations: 1.375 kB / 0.8012 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001688/0.8236, allocations: 0 / 0.8012 GB, free: 10.34 MB / 0.5763 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.01038/0.834, allocations: 3.936 MB / 0.805 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.8341, allocations: 10.22 kB / 0.8051 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.587e-05/0.8341, allocations: 43.67 kB / 0.8051 GB, free: 7.496 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003322/0.8345, allocations: 243.6 kB / 0.8053 GB, free: 7.305 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.8359, allocations: 405.7 kB / 0.8057 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/0.8424, allocations: 2.856 MB / 0.8085 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.8426, allocations: 119 kB / 0.8086 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.8429, allocations: 162.6 kB / 0.8088 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006425/0.8493, allocations: 2.565 MB / 0.8113 GB, free: 1.52 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.8494, allocations: 15.81 kB / 0.8113 GB, free: 1.504 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.8495, allocations: 74.62 kB / 0.8114 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.8496, allocations: 40 kB / 0.8114 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.8555, allocations: 1.923 MB / 0.8133 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.8711, allocations: 11.53 MB / 0.8245 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.8763, allocations: 1.725 MB / 0.8262 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.8779, allocations: 0.6659 MB / 0.8269 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.8782, allocations: 88.8 kB / 0.827 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004157/0.8824, allocations: 1.467 MB / 0.8284 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.148e-06/0.8824, allocations: 0 / 0.8284 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02683/0.9092, allocations: 13.18 MB / 0.8413 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000388/0.9096, allocations: 0.6411 MB / 0.8419 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/0.9136, allocations: 2.4 MB / 0.8442 GB, free: 14.94 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/0.9141, allocations: 57.69 kB / 0.8443 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.9152, allocations: 1.112 MB / 0.8454 GB, free: 13.76 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.9163, allocations: 0.7822 MB / 0.8461 GB, free: 12.97 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00091/0.9173, allocations: 0.5003 MB / 0.8466 GB, free: 12.46 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9174, allocations: 301.1 kB / 0.8469 GB, free: 12.16 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.9193, allocations: 0.7823 MB / 0.8477 GB, free: 11.38 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.9218, allocations: 1.486 MB / 0.8491 GB, free: 9.602 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1105/1.032, allocations: 15 MB / 0.8638 GB, free: 10.96 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/1.032, allocations: 8 kB / 0.8638 GB, free: 10.95 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008311/1.041, allocations: 3.067 MB / 0.8668 GB, free: 7.859 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.041, allocations: 83.38 kB / 0.8669 GB, free: 7.766 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005737/1.046, allocations: 2.217 MB / 0.869 GB, free: 5.535 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/1.048, allocations: 273.1 kB / 0.8693 GB, free: 5.262 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.05, allocations: 0.5538 MB / 0.8698 GB, free: 4.707 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.063, allocations: 6.214 MB / 0.8759 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.065, allocations: 115.7 kB / 0.876 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005957/1.066, allocations: 152 kB / 0.8762 GB, free: 13.9 MB / 0.6544 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.00371/1.07, allocations: 1.259 MB / 0.8774 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002451/1.072, allocations: 1.472 MB / 0.8788 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1107/1.183, allocations: 14.95 MB / 0.8934 GB, free: 11.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.871e-05/1.183, allocations: 4 kB / 0.8934 GB, free: 11.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00895/1.192, allocations: 2.986 MB / 0.8963 GB, free: 8.566 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.192, allocations: 83.33 kB / 0.8964 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00571/1.198, allocations: 2.138 MB / 0.8985 GB, free: 6.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.199, allocations: 261 kB / 0.8988 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/1.201, allocations: 0.5538 MB / 0.8993 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/1.213, allocations: 6.023 MB / 0.9052 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.216, allocations: 107.8 kB / 0.9053 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005636/1.216, allocations: 143.9 kB / 0.9054 GB, free: 14.91 MB / 0.6857 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.001165/1.217, allocations: 417 kB / 0.9058 GB, free: 14.49 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.218, allocations: 310 kB / 0.9061 GB, free: 14.18 MB / 0.6857 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.005547/1.224, allocations: 2.235 MB / 0.9083 GB, free: 11.98 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.085346616921015] Failed to read output from testmodel.py, exit status != 0: 1.410750971059315 1.427937255 0.600960693 Calling exit ...