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.01093/0.01093, allocations: 1.767 MB / 18.11 MB, free: 4.945 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.001347/0.001347, allocations: 103.7 kB / 21.36 MB, free: 1.715 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.001872/0.001872, allocations: 218 kB / 24.75 MB, free: 3.742 MB / 14.72 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.608/1.608, allocations: 230.6 MB / 258.5 MB, free: 13.15 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.195/1.195, allocations: 130.5 MB / 445.6 MB, free: 14.6 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4576/0.4576, allocations: 46.15 MB / 0.655 GB, free: 30.56 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.6915, allocations: 89.05 MB / 0.7419 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.02137/0.7128, allocations: 13.05 MB / 0.7547 GB, free: 5.289 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03592/0.7487, allocations: 18.11 MB / 0.7723 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.7522, allocations: 55.62 kB / 0.7724 GB, free: 3.062 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.004717/0.7569, allocations: 1.333 MB / 0.7737 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.7625, allocations: 1.457 MB / 0.7751 GB, free: 264 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006839/0.7693, allocations: 2.036 MB / 0.7771 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007724/0.777, allocations: 3.428 MB / 0.7805 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.78, allocations: 1.109 MB / 0.7815 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.7836, allocations: 1.42 MB / 0.7829 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.7879, allocations: 1.677 MB / 0.7846 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.7893, allocations: 252 kB / 0.7848 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00591/0.7952, allocations: 2.163 MB / 0.7869 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.7968, allocations: 0.8056 MB / 0.7877 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.7998, allocations: 1.406 MB / 0.7891 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.8115, allocations: 4.985 MB / 0.794 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.8115, allocations: 0 / 0.794 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8115, allocations: 0 / 0.794 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001703/0.8117, allocations: 4 kB / 0.794 GB, free: 12.9 MB / 0.6075 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.01114/0.8228, allocations: 3.683 MB / 0.7976 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8228, allocations: 12.03 kB / 0.7976 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.8246, allocations: 406.6 kB / 0.798 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006838/0.8314, allocations: 2.959 MB / 0.8008 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.8316, allocations: 119.3 kB / 0.801 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.8321, allocations: 160.1 kB / 0.8011 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.8393, allocations: 2.57 MB / 0.8036 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.8394, allocations: 11.88 kB / 0.8036 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.8397, allocations: 68 kB / 0.8037 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.8397, allocations: 47.98 kB / 0.8037 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/0.8457, allocations: 1.913 MB / 0.8056 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.8633, allocations: 11.65 MB / 0.817 GB, free: 4.43 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005547/0.8688, allocations: 1.944 MB / 0.8189 GB, free: 2.332 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.8705, allocations: 0.6669 MB / 0.8195 GB, free: 1.633 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.8709, allocations: 162 kB / 0.8197 GB, free: 1.457 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004375/0.8753, allocations: 1.467 MB / 0.8211 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 1.099e-05/0.8753, allocations: 0 / 0.8211 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.03119/0.9065, allocations: 13.42 MB / 0.8342 GB, free: 2.277 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004553/0.907, allocations: 0.6385 MB / 0.8348 GB, free: 1.488 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.9119, allocations: 2.404 MB / 0.8372 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.9123, allocations: 57.7 kB / 0.8373 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.9137, allocations: 1.109 MB / 0.8383 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.915, allocations: 0.7784 MB / 0.8391 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/0.9165, allocations: 0.4965 MB / 0.8396 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9166, allocations: 305.1 kB / 0.8399 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.9188, allocations: 0.7837 MB / 0.8406 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.9216, allocations: 1.487 MB / 0.8421 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1151/1.037, allocations: 14.98 MB / 0.8567 GB, free: 10.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-05/1.037, allocations: 4 kB / 0.8567 GB, free: 10.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009622/1.046, allocations: 3.082 MB / 0.8597 GB, free: 7.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.046, allocations: 80.33 kB / 0.8598 GB, free: 7.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006044/1.053, allocations: 2.219 MB / 0.862 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/1.054, allocations: 274.2 kB / 0.8622 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.056, allocations: 0.5616 MB / 0.8628 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.546/1.602, allocations: 6.496 MB / 0.8691 GB, free: 115.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.604, allocations: 121.1 kB / 0.8692 GB, free: 115.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/1.605, allocations: 145.1 kB / 0.8694 GB, free: 115.7 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002851/1.607, allocations: 1.255 MB / 0.8706 GB, free: 115.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001969/1.609, allocations: 1.474 MB / 0.872 GB, free: 114.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.11/1.719, allocations: 14.95 MB / 0.8866 GB, free: 113.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.841e-05/1.719, allocations: 9.125 kB / 0.8867 GB, free: 113.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007525/1.727, allocations: 2.98 MB / 0.8896 GB, free: 112.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.727, allocations: 83.84 kB / 0.8896 GB, free: 112.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005381/1.732, allocations: 2.141 MB / 0.8917 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.734, allocations: 265 kB / 0.892 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.736, allocations: 0.552 MB / 0.8925 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.746, allocations: 6.321 MB / 0.8987 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.749, allocations: 108.4 kB / 0.8988 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004299/1.75, allocations: 147 kB / 0.8989 GB, free: 106 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.001359/1.751, allocations: 417.6 kB / 0.8993 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.752, allocations: 301.4 kB / 0.8996 GB, free: 105.6 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.00553/1.758, allocations: 2.249 MB / 0.9018 GB, free: 104.5 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.793708842000342] Failed to read output from testmodel.py, exit status != 0: 1.770292782006436 1.782234546 0.967843423 Calling exit ...