Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.747 MB / 21.35 MB, free: 492 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.001249/0.001249, allocations: 102.9 kB / 24.93 MB, free: 2.062 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.001527/0.001527, allocations: 213.5 kB / 28.65 MB, free: 3.348 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.492/1.492, allocations: 230.6 MB / 262.8 MB, free: 5.82 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.086/1.086, allocations: 130.7 MB / 450.4 MB, free: 6.688 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [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.06871/0.06871, allocations: 20.99 MB / 0.6371 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2696, allocations: 81.91 MB / 0.7171 GB, free: 2.227 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.5715/0.8411, allocations: 44.79 MB / 0.7608 GB, free: 21.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02854/0.8696, allocations: 17.53 MB / 0.7779 GB, free: 9.082 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.8733, allocations: 56.91 kB / 0.778 GB, free: 9.059 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.004626/0.8779, allocations: 1.3 MB / 0.7792 GB, free: 8.492 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006012/0.884, allocations: 1.495 MB / 0.7807 GB, free: 7.648 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/0.8903, allocations: 2.085 MB / 0.7827 GB, free: 6.609 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00611/0.8964, allocations: 3.426 MB / 0.7861 GB, free: 4.961 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.8983, allocations: 1.158 MB / 0.7872 GB, free: 4.254 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.9006, allocations: 1.418 MB / 0.7886 GB, free: 3.43 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.9029, allocations: 1.571 MB / 0.7901 GB, free: 2.465 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005131/0.9034, allocations: 249.9 kB / 0.7904 GB, free: 2.465 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.9075, allocations: 1.687 MB / 0.792 GB, free: 1.652 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006589/0.9082, allocations: 0.8048 MB / 0.7928 GB, free: 1.047 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.9093, allocations: 1.085 MB / 0.7939 GB, free: 312 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.9186, allocations: 4.916 MB / 0.7987 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9186, allocations: 0 / 0.7987 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9186, allocations: 0 / 0.7987 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.688e-05/0.9187, allocations: 1.188 kB / 0.7987 GB, free: 13.02 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.009282/0.928, allocations: 3.934 MB / 0.8025 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.928, allocations: 8.812 kB / 0.8025 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.9294, allocations: 405.3 kB / 0.8029 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005978/0.9354, allocations: 2.858 MB / 0.8057 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.9355, allocations: 115.3 kB / 0.8058 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.9358, allocations: 152.1 kB / 0.8059 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005969/0.9418, allocations: 2.862 MB / 0.8087 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.9418, allocations: 11.88 kB / 0.8088 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.942, allocations: 74.67 kB / 0.8088 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.942, allocations: 44 kB / 0.8089 GB, free: 3.684 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.9472, allocations: 1.968 MB / 0.8108 GB, free: 1.699 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.9614, allocations: 10.71 MB / 0.8212 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/0.9663, allocations: 1.777 MB / 0.823 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.9678, allocations: 0.7403 MB / 0.8237 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.9681, allocations: 76.91 kB / 0.8238 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003963/0.972, allocations: 1.533 MB / 0.8253 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.489e-06/0.9721, allocations: 0 / 0.8253 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02568/0.9977, allocations: 13.31 MB / 0.8383 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004366/0.9982, allocations: 0.6423 MB / 0.8389 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/1.002, allocations: 2.359 MB / 0.8412 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003453/1.002, allocations: 53.7 kB / 0.8413 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.003, allocations: 1.139 MB / 0.8424 GB, free: 476 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008353/1.004, allocations: 0.7745 MB / 0.8431 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000799/1.005, allocations: 0.4964 MB / 0.8436 GB, free: 15.18 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.005, allocations: 305.1 kB / 0.8439 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.007, allocations: 0.8456 MB / 0.8447 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/1.009, allocations: 1.619 MB / 0.8463 GB, free: 12.06 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1055/1.115, allocations: 15.02 MB / 0.861 GB, free: 13.54 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.115, allocations: 4 kB / 0.861 GB, free: 13.54 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007503/1.122, allocations: 3.14 MB / 0.864 GB, free: 10.36 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/1.123, allocations: 80.36 kB / 0.8641 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005218/1.128, allocations: 2.298 MB / 0.8664 GB, free: 7.941 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/1.129, allocations: 273.3 kB / 0.8666 GB, free: 7.668 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.131, allocations: 0.5537 MB / 0.8672 GB, free: 7.113 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.143, allocations: 6.102 MB / 0.8731 GB, free: 0.707 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.145, allocations: 125.3 kB / 0.8732 GB, free: 0.5898 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.146, allocations: 147.9 kB / 0.8734 GB, free: 456 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.002991/1.149, allocations: 1.334 MB / 0.8747 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002383/1.151, allocations: 1.601 MB / 0.8762 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1064/1.257, allocations: 14.96 MB / 0.8909 GB, free: 13.87 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.577e-05/1.257, allocations: 4 kB / 0.8909 GB, free: 13.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007155/1.265, allocations: 3.058 MB / 0.8938 GB, free: 10.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/1.265, allocations: 83.38 kB / 0.8939 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004801/1.269, allocations: 2.215 MB / 0.8961 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.27, allocations: 261.1 kB / 0.8963 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.272, allocations: 0.5498 MB / 0.8969 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.284, allocations: 5.917 MB / 0.9027 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.286, allocations: 119.8 kB / 0.9028 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.286, allocations: 147.9 kB / 0.9029 GB, free: 1.16 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.0008926/1.287, allocations: 400.7 kB / 0.9033 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.288, allocations: 296.4 kB / 0.9036 GB, free: 472 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.004485/1.292, allocations: 2.262 MB / 0.9058 GB, free: 14.23 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.354376962874085] Failed to read output from testmodel.py, exit status != 0: 1.5040725320577621 1.518660612 0.596877708 Calling exit ...