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.01246/0.01246, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001502/0.001502, allocations: 106.3 kB / 24.19 MB, free: 2.652 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.00195/0.00195, allocations: 210.4 kB / 27.92 MB, free: 4 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.454/1.454, allocations: 230.6 MB / 262.1 MB, free: 6.207 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.051/1.051, allocations: 130.7 MB / 449.6 MB, free: 6.59 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.0339/0.0339, allocations: 20.78 MB / 0.6362 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.2128, allocations: 81.92 MB / 0.7162 GB, free: 2.645 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.4893/0.7021, allocations: 46.03 MB / 0.7612 GB, free: 20.24 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.7264, allocations: 18.42 MB / 0.7791 GB, free: 7.168 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.7296, allocations: 59.62 kB / 0.7792 GB, free: 7.141 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.004274/0.7338, allocations: 1.357 MB / 0.7805 GB, free: 6.527 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.7394, allocations: 1.492 MB / 0.782 GB, free: 5.68 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005849/0.7452, allocations: 2.079 MB / 0.784 GB, free: 4.645 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006715/0.7519, allocations: 3.427 MB / 0.7874 GB, free: 2.992 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.754, allocations: 1.108 MB / 0.7884 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.7569, allocations: 1.418 MB / 0.7898 GB, free: 1.594 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.7597, allocations: 1.679 MB / 0.7915 GB, free: 0.5273 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0006766/0.7604, allocations: 251.1 kB / 0.7917 GB, free: 0.5273 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005173/0.7656, allocations: 2.336 MB / 0.794 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.7668, allocations: 0.8115 MB / 0.7948 GB, free: 14.63 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.769, allocations: 1.404 MB / 0.7961 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.7799, allocations: 5.029 MB / 0.8011 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7799, allocations: 0 / 0.8011 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7799, allocations: 0 / 0.8011 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001209/0.78, allocations: 2.656 kB / 0.8011 GB, free: 10.17 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.008471/0.7885, allocations: 3.941 MB / 0.8049 GB, free: 7.328 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7885, allocations: 10.06 kB / 0.8049 GB, free: 7.328 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.7897, allocations: 406.1 kB / 0.8053 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/0.7956, allocations: 2.85 MB / 0.8081 GB, free: 4.566 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7958, allocations: 115.3 kB / 0.8082 GB, free: 4.453 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.796, allocations: 160.1 kB / 0.8083 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.8016, allocations: 2.573 MB / 0.8109 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.8016, allocations: 14.5 kB / 0.8109 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.8018, allocations: 72 kB / 0.8109 GB, free: 1.367 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.8018, allocations: 45.31 kB / 0.811 GB, free: 1.324 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/0.8067, allocations: 1.912 MB / 0.8129 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.8213, allocations: 11.53 MB / 0.8241 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.826, allocations: 1.733 MB / 0.8258 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.8275, allocations: 0.662 MB / 0.8265 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.8278, allocations: 88.8 kB / 0.8265 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003714/0.8315, allocations: 1.467 MB / 0.828 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 3.837e-06/0.8315, allocations: 0 / 0.828 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02491/0.8564, allocations: 13.18 MB / 0.8408 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004912/0.8569, allocations: 0.641 MB / 0.8415 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004783/0.8617, allocations: 2.403 MB / 0.8438 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005386/0.8622, allocations: 56.39 kB / 0.8439 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.8635, allocations: 1.109 MB / 0.845 GB, free: 13.7 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.8648, allocations: 0.7745 MB / 0.8457 GB, free: 12.91 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009479/0.8657, allocations: 0.5003 MB / 0.8462 GB, free: 12.41 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8659, allocations: 309 kB / 0.8465 GB, free: 12.1 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.8679, allocations: 0.7862 MB / 0.8473 GB, free: 11.32 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.8705, allocations: 1.486 MB / 0.8487 GB, free: 9.535 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1047/0.9752, allocations: 15 MB / 0.8634 GB, free: 10.91 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.9752, allocations: 8 kB / 0.8634 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006954/0.9822, allocations: 3.074 MB / 0.8664 GB, free: 7.805 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.9823, allocations: 79.39 kB / 0.8664 GB, free: 7.715 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004996/0.9873, allocations: 2.22 MB / 0.8686 GB, free: 5.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.9884, allocations: 266.4 kB / 0.8689 GB, free: 5.211 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.9902, allocations: 0.5523 MB / 0.8694 GB, free: 4.66 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.002, allocations: 6.21 MB / 0.8755 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.004, allocations: 115.7 kB / 0.8756 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/1.004, allocations: 150.5 kB / 0.8757 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.002833/1.007, allocations: 1.266 MB / 0.877 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002252/1.01, allocations: 1.468 MB / 0.8784 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1058/1.115, allocations: 14.95 MB / 0.893 GB, free: 11.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-05/1.115, allocations: 8 kB / 0.893 GB, free: 11.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006736/1.122, allocations: 2.985 MB / 0.8959 GB, free: 8.504 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.122, allocations: 79.39 kB / 0.896 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004729/1.127, allocations: 2.141 MB / 0.8981 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.128, allocations: 262.4 kB / 0.8983 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/1.13, allocations: 0.546 MB / 0.8989 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.141, allocations: 6.02 MB / 0.9048 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.143, allocations: 115.8 kB / 0.9049 GB, free: 15 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/1.143, allocations: 143.9 kB / 0.905 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.0007931/1.144, allocations: 409.8 kB / 0.9054 GB, free: 14.43 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/1.145, allocations: 302 kB / 0.9057 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.004511/1.149, allocations: 2.249 MB / 0.9079 GB, free: 11.92 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.0420069471001625] Failed to read output from testmodel.py, exit status != 0: 1.342286943923682 1.357139639 0.574033051 Calling exit ...