Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.0108/0.0108, allocations: 1.747 MB / 21.35 MB, free: 480 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.001451/0.001451, allocations: 106.6 kB / 24.94 MB, free: 2.055 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.001672/0.001672, allocations: 206.5 kB / 28.65 MB, free: 3.34 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.543/1.543, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.137/1.137, allocations: 130.7 MB / 450.4 MB, free: 6.379 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_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.06631/0.06631, allocations: 20.99 MB / 0.637 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.2619, allocations: 81.91 MB / 0.717 GB, free: 2.203 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.5321/0.794, allocations: 44.78 MB / 0.7608 GB, free: 21.18 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03167/0.8257, allocations: 17.53 MB / 0.7779 GB, free: 9.059 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.8306, allocations: 58.84 kB / 0.778 GB, free: 9.031 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.005796/0.8364, allocations: 1.3 MB / 0.7792 GB, free: 8.465 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.8425, allocations: 1.498 MB / 0.7807 GB, free: 7.621 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008686/0.8512, allocations: 2.084 MB / 0.7827 GB, free: 6.582 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006779/0.858, allocations: 3.428 MB / 0.7861 GB, free: 4.93 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.8608, allocations: 1.147 MB / 0.7872 GB, free: 4.262 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.8645, allocations: 1.419 MB / 0.7886 GB, free: 3.434 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.8682, allocations: 1.573 MB / 0.7901 GB, free: 2.469 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.8695, allocations: 250.2 kB / 0.7903 GB, free: 2.469 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005353/0.8748, allocations: 1.682 MB / 0.792 GB, free: 1.664 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.8762, allocations: 0.8111 MB / 0.7928 GB, free: 1.051 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.8792, allocations: 1.089 MB / 0.7938 GB, free: 312 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.8909, allocations: 4.907 MB / 0.7986 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8909, allocations: 0 / 0.7986 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8909, allocations: 4.031 kB / 0.7986 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001937/0.8911, allocations: 0 / 0.7986 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.01215/0.9033, allocations: 3.938 MB / 0.8025 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.9033, allocations: 9.406 kB / 0.8025 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.9052, allocations: 404.8 kB / 0.8029 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/0.9131, allocations: 2.86 MB / 0.8057 GB, free: 7.289 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.9133, allocations: 119.3 kB / 0.8058 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005676/0.9139, allocations: 156.1 kB / 0.8059 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007637/0.9215, allocations: 2.854 MB / 0.8087 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.9216, allocations: 18.53 kB / 0.8087 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.9218, allocations: 64 kB / 0.8088 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.9219, allocations: 44 kB / 0.8088 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005512/0.9274, allocations: 1.968 MB / 0.8108 GB, free: 1.691 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.9415, allocations: 10.71 MB / 0.8212 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004863/0.9463, allocations: 1.789 MB / 0.823 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.9479, allocations: 0.729 MB / 0.8237 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.9482, allocations: 79.55 kB / 0.8238 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003786/0.9519, allocations: 1.534 MB / 0.8253 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.218e-06/0.9519, allocations: 4 kB / 0.8253 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02511/0.9771, allocations: 13.31 MB / 0.8383 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004132/0.9775, allocations: 0.6424 MB / 0.8389 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/0.9811, allocations: 2.359 MB / 0.8412 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/0.9815, allocations: 53.7 kB / 0.8412 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.9825, allocations: 1.126 MB / 0.8423 GB, free: 472 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008478/0.9833, allocations: 0.7773 MB / 0.8431 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008155/0.9842, allocations: 0.5002 MB / 0.8436 GB, free: 15.17 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9843, allocations: 308.9 kB / 0.8439 GB, free: 14.87 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.986, allocations: 0.8378 MB / 0.8447 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.9885, allocations: 1.631 MB / 0.8463 GB, free: 12.05 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1076/1.096, allocations: 15 MB / 0.8609 GB, free: 13.52 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/1.096, allocations: 11.28 kB / 0.861 GB, free: 13.52 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007437/1.104, allocations: 3.141 MB / 0.864 GB, free: 10.34 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.982e-05/1.104, allocations: 83.38 kB / 0.8641 GB, free: 10.24 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005173/1.109, allocations: 2.292 MB / 0.8663 GB, free: 7.926 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.11, allocations: 278.3 kB / 0.8666 GB, free: 7.645 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.112, allocations: 0.5499 MB / 0.8671 GB, free: 7.094 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.124, allocations: 6.107 MB / 0.8731 GB, free: 0.6914 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.126, allocations: 123.8 kB / 0.8732 GB, free: 0.5703 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.127, allocations: 143.9 kB / 0.8734 GB, free: 440 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.003036/1.13, allocations: 1.324 MB / 0.8747 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002394/1.132, allocations: 1.609 MB / 0.8762 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.109/1.241, allocations: 14.96 MB / 0.8908 GB, free: 13.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.5e-05/1.241, allocations: 8 kB / 0.8908 GB, free: 13.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007952/1.249, allocations: 3.054 MB / 0.8938 GB, free: 10.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/1.249, allocations: 83.36 kB / 0.8939 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004858/1.254, allocations: 2.209 MB / 0.8961 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.255, allocations: 269.8 kB / 0.8963 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.257, allocations: 0.5538 MB / 0.8969 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.268, allocations: 5.905 MB / 0.9026 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.271, allocations: 119.6 kB / 0.9027 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.271, allocations: 143.9 kB / 0.9029 GB, free: 1.148 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.0009365/1.272, allocations: 415.3 kB / 0.9033 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/1.272, allocations: 295.4 kB / 0.9036 GB, free: 452 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.004535/1.277, allocations: 2.25 MB / 0.9058 GB, free: 14.22 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.5115955849178135] Failed to read output from testmodel.py, exit status != 0: 1.4883091473020613 1.503345051 0.6091581469999999 Calling exit ...