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.01001/0.01001, allocations: 1.349 MB / 21.03 MB, free: 0.7617 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.001286/0.001286, allocations: 82.27 kB / 24.59 MB, free: 2.141 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.001494/0.001494, allocations: 164.4 kB / 28.26 MB, free: 3.406 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.403/1.403, allocations: 177.2 MB / 209 MB, free: 7.52 MB / 190.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.017/1.017, allocations: 102.5 MB / 368.4 MB, free: 4.137 MB / 334.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: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [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.06707/0.06707, allocations: 20.95 MB / 0.5569 GB, free: 4.891 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.2142, allocations: 81.88 MB / 0.6369 GB, free: 2.859 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.1366/0.3508, allocations: 37.39 MB / 0.6734 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3088/0.6596, allocations: 17.53 MB / 0.6905 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.661, allocations: 59.88 kB / 0.6906 GB, free: 18.61 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.003193/0.6642, allocations: 1.289 MB / 0.6918 GB, free: 18.58 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.6675, allocations: 1.499 MB / 0.6933 GB, free: 18.18 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.6722, allocations: 2.079 MB / 0.6953 GB, free: 17.96 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.004644/0.6769, allocations: 3.427 MB / 0.6987 GB, free: 17.34 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.6789, allocations: 1.156 MB / 0.6998 GB, free: 17.21 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.6813, allocations: 1.423 MB / 0.7012 GB, free: 16.92 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.6835, allocations: 1.567 MB / 0.7027 GB, free: 16.57 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.6839, allocations: 249.9 kB / 0.703 GB, free: 16.57 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.6877, allocations: 1.687 MB / 0.7046 GB, free: 16.45 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.6884, allocations: 0.8179 MB / 0.7054 GB, free: 16.3 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.6895, allocations: 1.085 MB / 0.7065 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.005872/0.6953, allocations: 4.899 MB / 0.7113 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6954, allocations: 0 / 0.7113 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6954, allocations: 3.656 kB / 0.7113 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.322e-05/0.6954, allocations: 1.25 kB / 0.7113 GB, free: 14.36 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.006047/0.7015, allocations: 3.939 MB / 0.7151 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7015, allocations: 10.16 kB / 0.7151 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.7024, allocations: 408 kB / 0.7155 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.707, allocations: 2.842 MB / 0.7183 GB, free: 9.453 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7071, allocations: 117.4 kB / 0.7184 GB, free: 9.402 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.7074, allocations: 155.8 kB / 0.7185 GB, free: 9.348 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.7125, allocations: 2.857 MB / 0.7213 GB, free: 7.121 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.7125, allocations: 12.66 kB / 0.7213 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.7126, allocations: 69.88 kB / 0.7214 GB, free: 7.066 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.7127, allocations: 49.98 kB / 0.7215 GB, free: 7.062 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/0.7172, allocations: 1.959 MB / 0.7234 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.7273, allocations: 10.71 MB / 0.7338 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.732, allocations: 1.777 MB / 0.7356 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.7334, allocations: 0.7342 MB / 0.7363 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.7336, allocations: 78.97 kB / 0.7364 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003781/0.7374, allocations: 1.534 MB / 0.7379 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.058e-06/0.7374, allocations: 0 / 0.7379 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02415/0.7616, allocations: 13.3 MB / 0.7508 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003679/0.7619, allocations: 0.6461 MB / 0.7515 GB, free: 500 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.7651, allocations: 2.366 MB / 0.7538 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.7654, allocations: 53.7 kB / 0.7538 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.7664, allocations: 1.123 MB / 0.7549 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/0.7672, allocations: 0.779 MB / 0.7557 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.768, allocations: 0.4965 MB / 0.7562 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7681, allocations: 305.1 kB / 0.7565 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.7699, allocations: 0.8468 MB / 0.7573 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.7724, allocations: 1.627 MB / 0.7589 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1131/0.8856, allocations: 15.01 MB / 0.7736 GB, free: 11.04 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/0.8856, allocations: 8 kB / 0.7736 GB, free: 11.03 MB / 0.6232 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008197/0.8938, allocations: 3.14 MB / 0.7766 GB, free: 7.859 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.8939, allocations: 75.39 kB / 0.7767 GB, free: 7.773 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005258/0.8991, allocations: 2.3 MB / 0.7789 GB, free: 5.449 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.9003, allocations: 278.8 kB / 0.7792 GB, free: 5.172 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.9022, allocations: 0.546 MB / 0.7797 GB, free: 4.625 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.9145, allocations: 6.103 MB / 0.7857 GB, free: 14.24 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.9169, allocations: 111.8 kB / 0.7858 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.9172, allocations: 143.9 kB / 0.7859 GB, free: 13.99 MB / 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.002985/0.9201, allocations: 1.326 MB / 0.7872 GB, free: 12.65 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002409/0.9226, allocations: 1.616 MB / 0.7888 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1129/1.035, allocations: 14.97 MB / 0.8034 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.662e-05/1.035, allocations: 8 kB / 0.8034 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007799/1.043, allocations: 3.066 MB / 0.8064 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/1.043, allocations: 79.38 kB / 0.8065 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00516/1.049, allocations: 2.219 MB / 0.8087 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.05, allocations: 253.3 kB / 0.8089 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.051, allocations: 0.5499 MB / 0.8095 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.063, allocations: 5.924 MB / 0.8152 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.065, allocations: 115.7 kB / 0.8154 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/1.066, allocations: 147.9 kB / 0.8155 GB, free: 14.76 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.001104/1.067, allocations: 413.9 kB / 0.8159 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.068, allocations: 294.1 kB / 0.8162 GB, free: 14.05 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.005157/1.073, allocations: 2.261 MB / 0.8184 GB, free: 11.82 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.680661063059233] Failed to read output from testmodel.py, exit status != 0: 1.261313571012579 1.277298089 0.578691996 Calling exit ...