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.01416/0.01416, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001597/0.001597, allocations: 101.2 kB / 24.97 MB, free: 2.035 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.002074/0.002074, allocations: 210 kB / 28.68 MB, free: 3.324 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.429/1.429, allocations: 230.6 MB / 262.9 MB, free: 5.816 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.071/1.071, allocations: 130.7 MB / 450.4 MB, free: 6.426 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.0633/0.0633, allocations: 20.59 MB / 0.6362 GB, free: 5.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.2149, allocations: 81.91 MB / 0.7162 GB, free: 3.07 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.4728/0.6877, allocations: 44.8 MB / 0.76 GB, free: 21.3 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.7128, allocations: 17.51 MB / 0.7771 GB, free: 9.184 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.7155, allocations: 55.16 kB / 0.7771 GB, free: 9.16 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.003734/0.7192, allocations: 1.307 MB / 0.7784 GB, free: 8.59 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.7241, allocations: 1.491 MB / 0.7799 GB, free: 7.75 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.7301, allocations: 2.083 MB / 0.7819 GB, free: 6.711 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005886/0.736, allocations: 3.428 MB / 0.7853 GB, free: 5.059 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.7381, allocations: 1.104 MB / 0.7863 GB, free: 4.531 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.7407, allocations: 1.426 MB / 0.7877 GB, free: 3.695 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.7433, allocations: 1.677 MB / 0.7894 GB, free: 2.629 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0006854/0.744, allocations: 250 kB / 0.7896 GB, free: 2.629 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.7484, allocations: 1.737 MB / 0.7913 GB, free: 1.77 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.7493, allocations: 0.8006 MB / 0.7921 GB, free: 1.168 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.7511, allocations: 1.085 MB / 0.7931 GB, free: 436 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009667/0.7607, allocations: 4.909 MB / 0.7979 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7607, allocations: 0 / 0.7979 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7607, allocations: 2.656 kB / 0.7979 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001054/0.7609, allocations: 1.406 kB / 0.7979 GB, free: 13.14 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.008559/0.7694, allocations: 3.929 MB / 0.8018 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7695, allocations: 10.34 kB / 0.8018 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.884e-05/0.7695, allocations: 48.7 kB / 0.8018 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.7698, allocations: 248.9 kB / 0.8021 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.7711, allocations: 404.2 kB / 0.8025 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/0.7769, allocations: 2.858 MB / 0.8052 GB, free: 7.496 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.7771, allocations: 119 kB / 0.8054 GB, free: 7.379 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.7774, allocations: 152 kB / 0.8055 GB, free: 7.23 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006302/0.7837, allocations: 2.865 MB / 0.8083 GB, free: 4 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.7837, allocations: 15.81 kB / 0.8083 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.7839, allocations: 72 kB / 0.8084 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.7839, allocations: 44 kB / 0.8084 GB, free: 3.871 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005688/0.7896, allocations: 1.976 MB / 0.8104 GB, free: 1.879 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/0.8038, allocations: 10.92 MB / 0.821 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/0.8087, allocations: 1.776 MB / 0.8228 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.8102, allocations: 0.7326 MB / 0.8235 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.8105, allocations: 76.91 kB / 0.8235 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003912/0.8144, allocations: 1.537 MB / 0.825 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.218e-06/0.8144, allocations: 0 / 0.825 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02543/0.8399, allocations: 13.32 MB / 0.8381 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004008/0.8403, allocations: 0.6424 MB / 0.8387 GB, free: 4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.844, allocations: 2.4 MB / 0.841 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.8444, allocations: 53.7 kB / 0.8411 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.8456, allocations: 1.113 MB / 0.8422 GB, free: 404 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.8467, allocations: 0.7784 MB / 0.8429 GB, free: 15.61 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00096/0.8477, allocations: 0.5003 MB / 0.8434 GB, free: 15.1 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8478, allocations: 305.3 kB / 0.8437 GB, free: 14.8 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.8498, allocations: 0.8456 MB / 0.8445 GB, free: 13.95 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.8524, allocations: 1.621 MB / 0.8461 GB, free: 11.98 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.111/0.9635, allocations: 15.01 MB / 0.8608 GB, free: 13.43 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.9635, allocations: 8 kB / 0.8608 GB, free: 13.42 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007426/0.9709, allocations: 3.153 MB / 0.8639 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.971, allocations: 79.38 kB / 0.8639 GB, free: 10.14 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005158/0.9762, allocations: 2.294 MB / 0.8662 GB, free: 7.816 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.9773, allocations: 277.1 kB / 0.8664 GB, free: 7.539 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.9792, allocations: 0.5577 MB / 0.867 GB, free: 6.98 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.9912, allocations: 6.166 MB / 0.873 GB, free: 492 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.9935, allocations: 119.9 kB / 0.8731 GB, free: 372 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.9938, allocations: 147.9 kB / 0.8733 GB, free: 224 kB / 0.6388 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.003076/0.9969, allocations: 1.316 MB / 0.8745 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002431/0.9993, allocations: 1.617 MB / 0.8761 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1093/1.109, allocations: 14.96 MB / 0.8907 GB, free: 13.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.038e-05/1.109, allocations: 8 kB / 0.8907 GB, free: 13.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007432/1.116, allocations: 3.062 MB / 0.8937 GB, free: 10.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/1.116, allocations: 87.58 kB / 0.8938 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005043/1.121, allocations: 2.217 MB / 0.896 GB, free: 8.195 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.122, allocations: 255.7 kB / 0.8962 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.124, allocations: 0.5498 MB / 0.8968 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.136, allocations: 5.988 MB / 0.9026 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/1.138, allocations: 103.8 kB / 0.9027 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003976/1.138, allocations: 149.4 kB / 0.9028 GB, free: 0.8281 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.0009042/1.139, allocations: 419.2 kB / 0.9032 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007693/1.14, allocations: 306 kB / 0.9035 GB, free: 100 kB / 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.004775/1.145, allocations: 2.242 MB / 0.9057 GB, free: 13.89 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.965118955937214] Failed to read output from testmodel.py, exit status != 0: 1.3414698620326817 1.357793494 0.5937016430000001 Calling exit ...