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.01223/0.01223, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001443/0.001443, allocations: 105.2 kB / 24.98 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.001867/0.001867, allocations: 207.2 kB / 28.71 MB, free: 3.441 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.381/1.381, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.073/1.073, allocations: 130.7 MB / 450.4 MB, free: 6.586 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.03029/0.03029, allocations: 20.61 MB / 0.6368 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2319, allocations: 81.91 MB / 0.7168 GB, free: 2.82 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.4919/0.7238, allocations: 46.03 MB / 0.7618 GB, free: 20.3 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02473/0.7485, allocations: 18.42 MB / 0.7797 GB, free: 7.227 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.751, allocations: 55.28 kB / 0.7798 GB, free: 7.203 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.003463/0.7545, allocations: 1.363 MB / 0.7811 GB, free: 6.586 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.7584, allocations: 1.483 MB / 0.7826 GB, free: 5.746 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.7639, allocations: 2.076 MB / 0.7846 GB, free: 4.711 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004809/0.7687, allocations: 3.429 MB / 0.7879 GB, free: 3.062 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.7702, allocations: 1.107 MB / 0.789 GB, free: 2.484 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.7721, allocations: 1.423 MB / 0.7904 GB, free: 1.652 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.7739, allocations: 1.672 MB / 0.792 GB, free: 0.5938 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003935/0.7743, allocations: 249.1 kB / 0.7923 GB, free: 0.5938 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004864/0.7792, allocations: 2.329 MB / 0.7946 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0008361/0.78, allocations: 0.8157 MB / 0.7954 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.7815, allocations: 1.404 MB / 0.7967 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.007726/0.7892, allocations: 5.03 MB / 0.8016 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7892, allocations: 0 / 0.8016 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7892, allocations: 2.656 kB / 0.8016 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.752e-05/0.7893, allocations: 3.375 kB / 0.8016 GB, free: 10.23 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.008053/0.7973, allocations: 3.941 MB / 0.8055 GB, free: 7.391 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.7974, allocations: 10.31 kB / 0.8055 GB, free: 7.391 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7986, allocations: 410.1 kB / 0.8059 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.8041, allocations: 2.854 MB / 0.8087 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.8042, allocations: 119.3 kB / 0.8088 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.8045, allocations: 156.1 kB / 0.8089 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/0.8102, allocations: 2.573 MB / 0.8115 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.8102, allocations: 17.58 kB / 0.8115 GB, free: 1.52 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.8104, allocations: 68 kB / 0.8115 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.8104, allocations: 44 kB / 0.8116 GB, free: 1.41 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.8154, allocations: 1.915 MB / 0.8135 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.8288, allocations: 11.54 MB / 0.8247 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.8334, allocations: 1.726 MB / 0.8264 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.8348, allocations: 0.6697 MB / 0.8271 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.8351, allocations: 83.53 kB / 0.8271 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00379/0.8389, allocations: 1.464 MB / 0.8286 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.288e-06/0.8389, allocations: 0 / 0.8286 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02362/0.8625, allocations: 13.18 MB / 0.8414 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003752/0.8629, allocations: 0.6527 MB / 0.8421 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.8663, allocations: 2.4 MB / 0.8444 GB, free: 14.96 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.8665, allocations: 56.36 kB / 0.8445 GB, free: 14.9 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.8675, allocations: 1.109 MB / 0.8456 GB, free: 13.78 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.8682, allocations: 0.7784 MB / 0.8463 GB, free: 12.99 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007785/0.869, allocations: 0.5003 MB / 0.8468 GB, free: 12.48 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8691, allocations: 305.1 kB / 0.8471 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.8708, allocations: 0.7785 MB / 0.8479 GB, free: 11.41 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.873, allocations: 1.486 MB / 0.8493 GB, free: 9.625 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1067/0.9798, allocations: 15 MB / 0.8639 GB, free: 10.99 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.9798, allocations: 8 kB / 0.864 GB, free: 10.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007267/0.987, allocations: 3.074 MB / 0.867 GB, free: 7.883 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.9871, allocations: 83.42 kB / 0.867 GB, free: 7.789 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005005/0.9921, allocations: 2.219 MB / 0.8692 GB, free: 5.555 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.9933, allocations: 276.2 kB / 0.8695 GB, free: 5.281 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.995, allocations: 0.5498 MB / 0.87 GB, free: 4.73 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.007, allocations: 6.205 MB / 0.8761 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.009, allocations: 123.7 kB / 0.8762 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.01, allocations: 143.9 kB / 0.8763 GB, free: 13.93 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.00292/1.012, allocations: 1.253 MB / 0.8775 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002278/1.015, allocations: 1.468 MB / 0.879 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1066/1.121, allocations: 14.95 MB / 0.8936 GB, free: 11.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.01e-05/1.121, allocations: 8 kB / 0.8936 GB, free: 11.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006943/1.128, allocations: 2.991 MB / 0.8965 GB, free: 8.594 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/1.128, allocations: 75.39 kB / 0.8966 GB, free: 8.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004703/1.133, allocations: 2.144 MB / 0.8987 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.134, allocations: 253.8 kB / 0.8989 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/1.136, allocations: 0.5576 MB / 0.8995 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.147, allocations: 6.028 MB / 0.9053 GB, free: 15.19 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.149, allocations: 111.8 kB / 0.9054 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/1.15, allocations: 143.9 kB / 0.9056 GB, free: 14.94 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.0009342/1.151, allocations: 420.2 kB / 0.906 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/1.151, allocations: 306 kB / 0.9063 GB, free: 14.21 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.004464/1.156, allocations: 2.24 MB / 0.9085 GB, free: 12 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.9829246889567] Failed to read output from testmodel.py, exit status != 0: 1.35319834202528 1.3680201490000001 0.575720307 Calling exit ...