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.01287/0.01287, allocations: 1.757 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.001435/0.001435, allocations: 105.8 kB / 24.94 MB, free: 2.16 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.00189/0.00189, allocations: 206.8 kB / 28.67 MB, free: 3.438 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.496/1.496, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.092/1.092, allocations: 130.7 MB / 450.4 MB, free: 6.566 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.03837/0.03837, allocations: 20.79 MB / 0.637 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.2341, allocations: 81.91 MB / 0.717 GB, free: 2.648 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.589/0.823, allocations: 46.02 MB / 0.7619 GB, free: 20.25 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0283/0.8513, allocations: 18.42 MB / 0.7799 GB, free: 7.184 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003944/0.8553, allocations: 59.88 kB / 0.78 GB, free: 7.156 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.004475/0.8598, allocations: 1.362 MB / 0.7813 GB, free: 6.539 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.866, allocations: 1.489 MB / 0.7827 GB, free: 5.691 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.873, allocations: 2.078 MB / 0.7848 GB, free: 4.66 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006956/0.88, allocations: 3.427 MB / 0.7881 GB, free: 3.008 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.8827, allocations: 1.107 MB / 0.7892 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.8863, allocations: 1.418 MB / 0.7906 GB, free: 1.582 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.89, allocations: 1.688 MB / 0.7922 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.8912, allocations: 249.6 kB / 0.7925 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006945/0.8981, allocations: 2.33 MB / 0.7947 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.9, allocations: 0.808 MB / 0.7955 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003443/0.9034, allocations: 1.404 MB / 0.7969 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.9142, allocations: 5.025 MB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9142, allocations: 2.656 kB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9142, allocations: 0.8438 kB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001366/0.9143, allocations: 7.406 kB / 0.8018 GB, free: 10.15 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.01017/0.9245, allocations: 3.937 MB / 0.8057 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.9245, allocations: 9.781 kB / 0.8057 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.9259, allocations: 409.5 kB / 0.8061 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.932, allocations: 2.847 MB / 0.8088 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.9321, allocations: 115.3 kB / 0.809 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.9323, allocations: 160.1 kB / 0.8091 GB, free: 4.305 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.9383, allocations: 2.572 MB / 0.8116 GB, free: 1.461 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.9383, allocations: 11.88 kB / 0.8116 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.9385, allocations: 79.97 kB / 0.8117 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.9385, allocations: 44 kB / 0.8117 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0052/0.9437, allocations: 1.914 MB / 0.8136 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.9599, allocations: 11.53 MB / 0.8249 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004993/0.9649, allocations: 1.722 MB / 0.8266 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.9664, allocations: 0.6698 MB / 0.8272 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.9667, allocations: 88.8 kB / 0.8273 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004049/0.9708, allocations: 1.466 MB / 0.8287 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 8.196e-06/0.9708, allocations: 0 / 0.8287 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02909/0.9999, allocations: 13.18 MB / 0.8416 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004428/1, allocations: 0.641 MB / 0.8422 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/1.004, allocations: 2.4 MB / 0.8446 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/1.005, allocations: 53.7 kB / 0.8446 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.006, allocations: 1.115 MB / 0.8457 GB, free: 13.7 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/1.007, allocations: 0.7784 MB / 0.8465 GB, free: 12.92 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/1.007, allocations: 0.5003 MB / 0.847 GB, free: 12.41 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.008, allocations: 309 kB / 0.8473 GB, free: 12.11 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.009, allocations: 0.7863 MB / 0.848 GB, free: 11.32 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/1.012, allocations: 1.484 MB / 0.8495 GB, free: 9.543 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1107/1.123, allocations: 15 MB / 0.8641 GB, free: 10.91 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.123, allocations: 4 kB / 0.8641 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007791/1.13, allocations: 3.067 MB / 0.8671 GB, free: 7.809 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.13, allocations: 80.02 kB / 0.8672 GB, free: 7.719 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005323/1.136, allocations: 2.22 MB / 0.8694 GB, free: 5.484 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.137, allocations: 265.3 kB / 0.8696 GB, free: 5.219 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.139, allocations: 0.5538 MB / 0.8702 GB, free: 4.664 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.152, allocations: 6.21 MB / 0.8762 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.154, allocations: 119.8 kB / 0.8763 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/1.154, allocations: 147.9 kB / 0.8765 GB, free: 13.86 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.002874/1.157, allocations: 1.263 MB / 0.8777 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00235/1.159, allocations: 1.463 MB / 0.8791 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1112/1.271, allocations: 14.96 MB / 0.8938 GB, free: 11.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.746e-05/1.271, allocations: 4 kB / 0.8938 GB, free: 11.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007216/1.278, allocations: 2.982 MB / 0.8967 GB, free: 8.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/1.278, allocations: 79.39 kB / 0.8967 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004903/1.283, allocations: 2.14 MB / 0.8988 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.284, allocations: 258.4 kB / 0.8991 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.286, allocations: 0.5538 MB / 0.8996 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.298, allocations: 6.034 MB / 0.9055 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/1.3, allocations: 111.8 kB / 0.9056 GB, free: 15 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/1.3, allocations: 143.9 kB / 0.9058 GB, free: 14.86 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.0009136/1.301, allocations: 412 kB / 0.9062 GB, free: 14.44 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/1.302, allocations: 306 kB / 0.9064 GB, free: 14.14 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.004678/1.307, allocations: 2.241 MB / 0.9086 GB, free: 11.93 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.416917345952243] Failed to read output from testmodel.py, exit status != 0: 1.52425555489026 1.539828088 0.62225605 Calling exit ...