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.01254/0.01254, allocations: 1.745 MB / 21.38 MB, free: 464 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.001517/0.001517, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.001632/0.001632, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.9 MB, free: 5.809 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.08/1.08, allocations: 130.7 MB / 450.4 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.06347/0.06347, allocations: 20.61 MB / 0.6367 GB, free: 4.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.2473, allocations: 81.9 MB / 0.7167 GB, free: 2.59 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.5102/0.7575, allocations: 44.76 MB / 0.7604 GB, free: 21.23 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.7835, allocations: 17.51 MB / 0.7775 GB, free: 9.113 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.7867, allocations: 58.56 kB / 0.7776 GB, free: 9.09 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.003947/0.7906, allocations: 1.316 MB / 0.7789 GB, free: 8.508 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004948/0.7956, allocations: 1.491 MB / 0.7803 GB, free: 7.668 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/0.8015, allocations: 2.083 MB / 0.7823 GB, free: 6.629 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.8072, allocations: 3.42 MB / 0.7857 GB, free: 4.984 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.8091, allocations: 1.099 MB / 0.7868 GB, free: 4.395 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.8117, allocations: 1.426 MB / 0.7881 GB, free: 3.559 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.814, allocations: 1.677 MB / 0.7898 GB, free: 2.488 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.8145, allocations: 253.3 kB / 0.79 GB, free: 2.488 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004271/0.8188, allocations: 1.736 MB / 0.7917 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007111/0.8195, allocations: 0.8042 MB / 0.7925 GB, free: 1.023 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.8207, allocations: 1.093 MB / 0.7936 GB, free: 280 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008735/0.8294, allocations: 4.911 MB / 0.7984 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.8294, allocations: 6.625 kB / 0.7984 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8294, allocations: 0 / 0.7984 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.16e-05/0.8295, allocations: 0 / 0.7984 GB, free: 12.98 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.008874/0.8383, allocations: 3.938 MB / 0.8022 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.8384, allocations: 9.031 kB / 0.8022 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.8401, allocations: 406.3 kB / 0.8026 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006513/0.8466, allocations: 2.859 MB / 0.8054 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.8467, allocations: 119.2 kB / 0.8055 GB, free: 7.332 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.847, allocations: 160.1 kB / 0.8057 GB, free: 7.176 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006384/0.8534, allocations: 2.861 MB / 0.8085 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.8534, allocations: 11.88 kB / 0.8085 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.8536, allocations: 65.31 kB / 0.8085 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/0.8537, allocations: 44 kB / 0.8086 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005323/0.859, allocations: 1.98 MB / 0.8105 GB, free: 1.836 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.8723, allocations: 10.71 MB / 0.821 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.8771, allocations: 1.785 MB / 0.8227 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.8785, allocations: 0.7269 MB / 0.8234 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.8788, allocations: 76.89 kB / 0.8235 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003876/0.8827, allocations: 1.537 MB / 0.825 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.399e-06/0.8827, allocations: 4 kB / 0.825 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.025/0.9077, allocations: 13.31 MB / 0.838 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003885/0.9081, allocations: 0.6385 MB / 0.8386 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/0.9117, allocations: 2.328 MB / 0.8409 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.9119, allocations: 53.7 kB / 0.841 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.913, allocations: 1.131 MB / 0.8421 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008199/0.9138, allocations: 0.7784 MB / 0.8428 GB, free: 15.86 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008234/0.9146, allocations: 0.4964 MB / 0.8433 GB, free: 15.36 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9148, allocations: 313 kB / 0.8436 GB, free: 15.05 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.9166, allocations: 0.8392 MB / 0.8444 GB, free: 14.2 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.919, allocations: 1.631 MB / 0.846 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1106/1.03, allocations: 15 MB / 0.8607 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/1.03, allocations: 11.59 kB / 0.8607 GB, free: 13.67 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007494/1.037, allocations: 3.135 MB / 0.8637 GB, free: 10.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.037, allocations: 89.88 kB / 0.8638 GB, free: 10.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005158/1.042, allocations: 2.293 MB / 0.8661 GB, free: 8.082 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/1.044, allocations: 275.2 kB / 0.8663 GB, free: 7.805 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.045, allocations: 0.546 MB / 0.8669 GB, free: 7.258 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.058, allocations: 6.112 MB / 0.8728 GB, free: 0.8477 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.06, allocations: 119.7 kB / 0.8729 GB, free: 0.7305 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/1.06, allocations: 147.9 kB / 0.8731 GB, free: 0.5859 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.003128/1.064, allocations: 1.323 MB / 0.8744 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00239/1.066, allocations: 1.613 MB / 0.876 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1119/1.178, allocations: 14.96 MB / 0.8906 GB, free: 14.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.559e-05/1.178, allocations: 8 kB / 0.8906 GB, free: 14 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008844/1.187, allocations: 3.057 MB / 0.8936 GB, free: 10.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.187, allocations: 75.39 kB / 0.8936 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005643/1.193, allocations: 2.213 MB / 0.8958 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.194, allocations: 260 kB / 0.896 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.196, allocations: 0.5539 MB / 0.8966 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.208, allocations: 5.921 MB / 0.9024 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.21, allocations: 119.8 kB / 0.9025 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005877/1.211, allocations: 143.9 kB / 0.9026 GB, free: 1.305 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.001208/1.212, allocations: 408.5 kB / 0.903 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.213, allocations: 298 kB / 0.9033 GB, free: 0.5898 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.005548/1.219, allocations: 2.238 MB / 0.9055 GB, free: 14.38 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.181224336964078] Failed to read output from testmodel.py, exit status != 0: 1.4238754860125482 1.439698458 0.607066803 Calling exit ...