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.0103/0.0103, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001322/0.001322, allocations: 105.5 kB / 24.19 MB, free: 2.656 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.001867/0.001867, allocations: 209.2 kB / 27.92 MB, free: 4 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.614/1.614, allocations: 230.6 MB / 262.1 MB, free: 6.219 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.061/1.061, allocations: 130.7 MB / 449.7 MB, free: 6.594 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",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.03184/0.03184, allocations: 20.79 MB / 0.6358 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1999, allocations: 81.91 MB / 0.7158 GB, free: 3.117 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.4807/0.6807, allocations: 46.04 MB / 0.7607 GB, free: 20.29 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.024/0.7047, allocations: 18.42 MB / 0.7787 GB, free: 7.211 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.708, allocations: 55.12 kB / 0.7788 GB, free: 7.188 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.004219/0.7122, allocations: 1.359 MB / 0.7801 GB, free: 6.574 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.7174, allocations: 1.487 MB / 0.7815 GB, free: 5.73 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006082/0.7234, allocations: 2.087 MB / 0.7836 GB, free: 4.695 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00644/0.7299, allocations: 3.429 MB / 0.7869 GB, free: 3.043 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.7323, allocations: 1.106 MB / 0.788 GB, free: 2.496 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.7359, allocations: 1.416 MB / 0.7894 GB, free: 1.672 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.7393, allocations: 1.684 MB / 0.791 GB, free: 0.6016 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.7404, allocations: 250 kB / 0.7913 GB, free: 0.6016 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.7462, allocations: 2.329 MB / 0.7935 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.7474, allocations: 0.8165 MB / 0.7943 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.7496, allocations: 1.399 MB / 0.7957 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009345/0.7589, allocations: 5.022 MB / 0.8006 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.759, allocations: 0 / 0.8006 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.653e-06/0.759, allocations: 0 / 0.8006 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001231/0.7591, allocations: 2.656 kB / 0.8006 GB, free: 10.25 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.00851/0.7676, allocations: 3.942 MB / 0.8045 GB, free: 7.414 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7676, allocations: 9.25 kB / 0.8045 GB, free: 7.414 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002955/0.7679, allocations: 243.5 kB / 0.8047 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7691, allocations: 411.1 kB / 0.8051 GB, free: 7 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/0.7745, allocations: 2.85 MB / 0.8079 GB, free: 4.598 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.7746, allocations: 115.3 kB / 0.808 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.7749, allocations: 155.9 kB / 0.8081 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.7801, allocations: 2.573 MB / 0.8107 GB, free: 1.484 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.7802, allocations: 14.53 kB / 0.8107 GB, free: 1.473 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.7803, allocations: 71.98 kB / 0.8107 GB, free: 1.402 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.7804, allocations: 44 kB / 0.8108 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.7852, allocations: 1.921 MB / 0.8127 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.7986, allocations: 11.53 MB / 0.8239 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.8031, allocations: 1.719 MB / 0.8256 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.8045, allocations: 0.6774 MB / 0.8263 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.8047, allocations: 80.88 kB / 0.8263 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003689/0.8084, allocations: 1.475 MB / 0.8278 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 3.276e-06/0.8084, allocations: 0 / 0.8278 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02581/0.8342, allocations: 13.17 MB / 0.8406 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000422/0.8347, allocations: 0.641 MB / 0.8413 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.8387, allocations: 2.404 MB / 0.8436 GB, free: 14.91 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/0.8391, allocations: 60.36 kB / 0.8437 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.8401, allocations: 1.113 MB / 0.8448 GB, free: 13.72 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009962/0.8411, allocations: 0.7745 MB / 0.8455 GB, free: 12.94 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.8419, allocations: 0.4925 MB / 0.846 GB, free: 12.44 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8421, allocations: 313.1 kB / 0.8463 GB, free: 12.13 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.8437, allocations: 0.7785 MB / 0.847 GB, free: 11.36 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.846, allocations: 1.486 MB / 0.8485 GB, free: 9.574 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1099/0.9559, allocations: 15 MB / 0.8631 GB, free: 10.95 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.956, allocations: 4 kB / 0.8631 GB, free: 10.94 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007547/0.9635, allocations: 3.074 MB / 0.8662 GB, free: 7.844 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/0.9636, allocations: 71.39 kB / 0.8662 GB, free: 7.762 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005513/0.9691, allocations: 2.229 MB / 0.8684 GB, free: 5.52 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.9703, allocations: 271.8 kB / 0.8687 GB, free: 5.246 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.9723, allocations: 0.5576 MB / 0.8692 GB, free: 4.688 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.9844, allocations: 6.206 MB / 0.8753 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.9867, allocations: 123.6 kB / 0.8754 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.9871, allocations: 147.9 kB / 0.8755 GB, free: 13.88 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.002948/0.99, allocations: 1.254 MB / 0.8767 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002288/0.9923, allocations: 1.468 MB / 0.8782 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1097/1.102, allocations: 14.96 MB / 0.8928 GB, free: 11.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.567e-05/1.102, allocations: 4 kB / 0.8928 GB, free: 11.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007442/1.109, allocations: 2.989 MB / 0.8957 GB, free: 8.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/1.11, allocations: 79.33 kB / 0.8958 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004955/1.115, allocations: 2.138 MB / 0.8979 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.116, allocations: 257.1 kB / 0.8981 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.118, allocations: 0.5576 MB / 0.8987 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/1.129, allocations: 6.021 MB / 0.9045 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.132, allocations: 111.7 kB / 0.9046 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/1.132, allocations: 143.9 kB / 0.9048 GB, free: 14.89 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.000855/1.133, allocations: 417.9 kB / 0.9052 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/1.134, allocations: 306 kB / 0.9055 GB, free: 14.16 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.004687/1.138, allocations: 2.239 MB / 0.9077 GB, free: 11.96 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.23573697699976] Failed to read output from testmodel.py, exit status != 0: 1.336667342002329 1.352606601 0.5902641660000001 Calling exit ...