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.01363/0.01363, allocations: 1.34 MB / 21.02 MB, free: 0.6094 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.001523/0.001523, allocations: 88.53 kB / 24.58 MB, free: 1.879 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.002083/0.002083, allocations: 160 kB / 28.25 MB, free: 3.145 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.439/1.439, allocations: 177.2 MB / 209 MB, free: 7.621 MB / 190.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.037/1.037, allocations: 102.5 MB / 368.3 MB, free: 4.141 MB / 334.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.06855/0.06855, allocations: 20.96 MB / 0.5569 GB, free: 4.918 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.2477, allocations: 81.88 MB / 0.6369 GB, free: 2.91 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.1399/0.3875, allocations: 37.38 MB / 0.6734 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3606/0.7481, allocations: 17.52 MB / 0.6905 GB, free: 18.64 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.7498, allocations: 58.66 kB / 0.6905 GB, free: 18.64 MB / 0.5763 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.003461/0.7533, allocations: 1.293 MB / 0.6918 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.7571, allocations: 1.492 MB / 0.6932 GB, free: 18.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.7623, allocations: 2.082 MB / 0.6953 GB, free: 17.98 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.005258/0.7676, allocations: 3.425 MB / 0.6986 GB, free: 17.38 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.7698, allocations: 1.157 MB / 0.6997 GB, free: 17.25 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.7726, allocations: 1.423 MB / 0.7011 GB, free: 16.95 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.7751, allocations: 1.567 MB / 0.7027 GB, free: 16.6 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.000466/0.7756, allocations: 249.8 kB / 0.7029 GB, free: 16.6 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.7797, allocations: 1.685 MB / 0.7046 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.7804, allocations: 0.8059 MB / 0.7053 GB, free: 16.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.7816, allocations: 1.087 MB / 0.7064 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.007148/0.7888, allocations: 4.908 MB / 0.7112 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7888, allocations: 3.984 kB / 0.7112 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7888, allocations: 0 / 0.7112 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.341e-05/0.7888, allocations: 4.125 kB / 0.7112 GB, free: 14.35 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.006539/0.7954, allocations: 3.936 MB / 0.715 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7954, allocations: 12.03 kB / 0.7151 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7964, allocations: 402.3 kB / 0.7154 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/0.801, allocations: 2.858 MB / 0.7182 GB, free: 9.438 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/0.8011, allocations: 114.9 kB / 0.7183 GB, free: 9.387 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.8013, allocations: 155 kB / 0.7185 GB, free: 9.332 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.8062, allocations: 2.866 MB / 0.7213 GB, free: 7.102 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.8062, allocations: 13.78 kB / 0.7213 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.8063, allocations: 68.78 kB / 0.7214 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.8064, allocations: 43.28 kB / 0.7214 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.8111, allocations: 1.969 MB / 0.7233 GB, free: 6.062 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.8221, allocations: 10.7 MB / 0.7338 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/0.8269, allocations: 1.778 MB / 0.7355 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.8284, allocations: 0.7356 MB / 0.7362 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.8287, allocations: 78.95 kB / 0.7363 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003853/0.8325, allocations: 1.538 MB / 0.7378 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.058e-06/0.8325, allocations: 1.312 kB / 0.7378 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02494/0.8575, allocations: 13.31 MB / 0.7508 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004258/0.8579, allocations: 0.6391 MB / 0.7514 GB, free: 484 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.8613, allocations: 2.366 MB / 0.7537 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.8616, allocations: 57.7 kB / 0.7538 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.8627, allocations: 1.121 MB / 0.7549 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/0.8635, allocations: 0.7763 MB / 0.7557 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007921/0.8643, allocations: 0.4991 MB / 0.7561 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8645, allocations: 305.1 kB / 0.7564 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.8663, allocations: 0.8417 MB / 0.7573 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.8688, allocations: 1.623 MB / 0.7588 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1122/0.9811, allocations: 15.02 MB / 0.7735 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.9811, allocations: 8 kB / 0.7735 GB, free: 11.05 MB / 0.6232 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007566/0.9886, allocations: 3.139 MB / 0.7766 GB, free: 7.883 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/0.9887, allocations: 79.38 kB / 0.7767 GB, free: 7.793 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005332/0.9941, allocations: 2.3 MB / 0.7789 GB, free: 5.473 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.9952, allocations: 269.3 kB / 0.7792 GB, free: 5.203 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.997, allocations: 0.5576 MB / 0.7797 GB, free: 4.645 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.009, allocations: 6.1 MB / 0.7857 GB, free: 14.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.011, allocations: 111.8 kB / 0.7858 GB, free: 14.16 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/1.012, allocations: 147.9 kB / 0.7859 GB, free: 14.01 MB / 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.002922/1.014, allocations: 1.324 MB / 0.7872 GB, free: 12.67 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002453/1.017, allocations: 1.609 MB / 0.7888 GB, free: 10.72 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1113/1.128, allocations: 14.98 MB / 0.8034 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-05/1.128, allocations: 8 kB / 0.8034 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007029/1.135, allocations: 3.061 MB / 0.8064 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/1.135, allocations: 79.33 kB / 0.8065 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004978/1.14, allocations: 2.213 MB / 0.8086 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.141, allocations: 254.4 kB / 0.8089 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.143, allocations: 0.5576 MB / 0.8094 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.155, allocations: 5.918 MB / 0.8152 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.157, allocations: 111.9 kB / 0.8153 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/1.157, allocations: 147.9 kB / 0.8154 GB, free: 14.78 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.0008524/1.158, allocations: 415.2 kB / 0.8158 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/1.159, allocations: 294.1 kB / 0.8161 GB, free: 14.07 MB / 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.004588/1.163, allocations: 2.253 MB / 0.8183 GB, free: 11.86 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.003618965041824] Failed to read output from testmodel.py, exit status != 0: 1.3432655530050397 1.358311729 0.566452164 Calling exit ...