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.01506/0.01506, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001699/0.001699, allocations: 109.2 kB / 24.94 MB, free: 2.176 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.002352/0.002352, allocations: 206.8 kB / 28.67 MB, free: 3.461 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.514/1.514, allocations: 230.6 MB / 262.9 MB, free: 5.992 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.082/1.082, allocations: 130.7 MB / 450.4 MB, free: 6.539 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: 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.05451/0.05451, allocations: 20.78 MB / 0.637 GB, free: 4.582 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.335, allocations: 81.9 MB / 0.717 GB, free: 2.59 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.5993/0.9343, allocations: 46.05 MB / 0.7619 GB, free: 20.14 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.9617, allocations: 18.42 MB / 0.7799 GB, free: 7.062 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.9654, allocations: 58.12 kB / 0.78 GB, free: 7.039 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.004534/0.97, allocations: 1.364 MB / 0.7813 GB, free: 6.418 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.9758, allocations: 1.495 MB / 0.7828 GB, free: 5.57 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006948/0.9828, allocations: 2.085 MB / 0.7848 GB, free: 4.531 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006932/0.9897, allocations: 3.426 MB / 0.7882 GB, free: 2.883 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.9923, allocations: 1.098 MB / 0.7892 GB, free: 2.301 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.9958, allocations: 1.423 MB / 0.7906 GB, free: 1.469 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.9994, allocations: 1.679 MB / 0.7923 GB, free: 412 kB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/1.001, allocations: 249.8 kB / 0.7925 GB, free: 412 kB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006933/1.007, allocations: 2.342 MB / 0.7948 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/1.009, allocations: 0.8036 MB / 0.7956 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003779/1.013, allocations: 1.404 MB / 0.7969 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.026, allocations: 5.015 MB / 0.8018 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/1.026, allocations: 6.672 kB / 0.8018 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.695e-06/1.026, allocations: 3.938 kB / 0.8018 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002134/1.027, allocations: 0 / 0.8018 GB, free: 10.05 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.01312/1.04, allocations: 3.934 MB / 0.8057 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.04, allocations: 8.969 kB / 0.8057 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/1.042, allocations: 406.5 kB / 0.8061 GB, free: 7 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009276/1.051, allocations: 2.85 MB / 0.8089 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/1.051, allocations: 115.3 kB / 0.809 GB, free: 4.316 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006799/1.052, allocations: 160.1 kB / 0.8091 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009117/1.061, allocations: 2.577 MB / 0.8116 GB, free: 1.312 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/1.061, allocations: 12.88 kB / 0.8117 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/1.061, allocations: 72 kB / 0.8117 GB, free: 1.23 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/1.061, allocations: 44 kB / 0.8118 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005979/1.067, allocations: 1.914 MB / 0.8136 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/1.085, allocations: 11.54 MB / 0.8249 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006208/1.091, allocations: 1.719 MB / 0.8266 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/1.093, allocations: 0.6723 MB / 0.8272 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/1.093, allocations: 83.53 kB / 0.8273 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004305/1.098, allocations: 1.468 MB / 0.8288 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 8.586e-06/1.098, allocations: 0 / 0.8288 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.03016/1.128, allocations: 13.18 MB / 0.8416 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005493/1.129, allocations: 0.6449 MB / 0.8423 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/1.133, allocations: 2.4 MB / 0.8446 GB, free: 14.74 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004403/1.133, allocations: 56.36 kB / 0.8447 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.134, allocations: 1.117 MB / 0.8457 GB, free: 13.55 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009508/1.135, allocations: 0.7745 MB / 0.8465 GB, free: 12.77 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/1.136, allocations: 0.5003 MB / 0.847 GB, free: 12.27 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.136, allocations: 305.1 kB / 0.8473 GB, free: 11.96 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/1.138, allocations: 0.7823 MB / 0.848 GB, free: 11.18 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/1.14, allocations: 1.486 MB / 0.8495 GB, free: 9.402 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1113/1.252, allocations: 14.99 MB / 0.8641 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.252, allocations: 10.62 kB / 0.8641 GB, free: 10.78 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007729/1.259, allocations: 3.071 MB / 0.8671 GB, free: 7.684 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/1.259, allocations: 80.17 kB / 0.8672 GB, free: 7.594 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005341/1.265, allocations: 2.215 MB / 0.8694 GB, free: 5.363 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/1.266, allocations: 274.4 kB / 0.8696 GB, free: 5.086 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1.268, allocations: 0.5498 MB / 0.8702 GB, free: 4.535 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.281, allocations: 6.217 MB / 0.8763 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.283, allocations: 119.7 kB / 0.8764 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/1.283, allocations: 143.9 kB / 0.8765 GB, free: 13.73 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.003041/1.287, allocations: 1.257 MB / 0.8777 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002431/1.289, allocations: 1.476 MB / 0.8792 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1107/1.4, allocations: 14.94 MB / 0.8938 GB, free: 11.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-05/1.4, allocations: 8 kB / 0.8938 GB, free: 11.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008145/1.408, allocations: 2.992 MB / 0.8967 GB, free: 8.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/1.408, allocations: 79.39 kB / 0.8968 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005023/1.413, allocations: 2.145 MB / 0.8989 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.414, allocations: 260.9 kB / 0.8991 GB, free: 5.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.416, allocations: 0.5576 MB / 0.8997 GB, free: 5.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.428, allocations: 6.014 MB / 0.9055 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.43, allocations: 107.8 kB / 0.9056 GB, free: 14.88 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/1.431, allocations: 147.9 kB / 0.9058 GB, free: 14.74 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.001121/1.432, allocations: 412.6 kB / 0.9062 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.433, allocations: 302 kB / 0.9065 GB, free: 14.02 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.005418/1.438, allocations: 2.245 MB / 0.9087 GB, free: 11.8 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.568560179090127] Failed to read output from testmodel.py, exit status != 0: 1.653938592877239 1.66774273 0.637994079 Calling exit ...