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.01496/0.01496, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001209/0.001209, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001435/0.001435, allocations: 208.8 kB / 25.45 MB, free: 2.797 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.413/1.413, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.085/1.085, allocations: 130.6 MB / 446.3 MB, free: 14.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: 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.4214/0.4214, allocations: 46.15 MB / 0.6556 GB, free: 31.15 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.6052, allocations: 89.04 MB / 0.7426 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.01586/0.6211, allocations: 13.05 MB / 0.7553 GB, free: 5.387 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03023/0.6513, allocations: 18.11 MB / 0.773 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.6543, allocations: 59.56 kB / 0.7731 GB, free: 3.152 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.004748/0.659, allocations: 1.341 MB / 0.7744 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.6642, allocations: 1.453 MB / 0.7758 GB, free: 352 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006073/0.6703, allocations: 2.021 MB / 0.7778 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005958/0.6762, allocations: 3.426 MB / 0.7811 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.6788, allocations: 1.109 MB / 0.7822 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.6818, allocations: 1.424 MB / 0.7836 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.6849, allocations: 1.676 MB / 0.7853 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000909/0.6858, allocations: 251.9 kB / 0.7855 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005234/0.691, allocations: 2.172 MB / 0.7876 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.6925, allocations: 0.8056 MB / 0.7884 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.6953, allocations: 1.406 MB / 0.7898 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.7053, allocations: 4.981 MB / 0.7946 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7053, allocations: 0 / 0.7946 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7053, allocations: 0 / 0.7946 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001722/0.7055, allocations: 0 / 0.7946 GB, free: 13 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.008443/0.714, allocations: 3.684 MB / 0.7982 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.714, allocations: 12.03 kB / 0.7982 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.7152, allocations: 402.6 kB / 0.7986 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.7204, allocations: 2.966 MB / 0.8015 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.7205, allocations: 115.3 kB / 0.8016 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.7208, allocations: 160.1 kB / 0.8018 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/0.7266, allocations: 2.57 MB / 0.8043 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.7267, allocations: 11.88 kB / 0.8043 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.7268, allocations: 72 kB / 0.8044 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.7269, allocations: 40 kB / 0.8044 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.7323, allocations: 1.921 MB / 0.8063 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.7472, allocations: 11.64 MB / 0.8177 GB, free: 4.531 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005166/0.7523, allocations: 1.951 MB / 0.8196 GB, free: 2.426 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.7538, allocations: 0.6669 MB / 0.8202 GB, free: 1.727 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.7541, allocations: 161.9 kB / 0.8204 GB, free: 1.551 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004021/0.7581, allocations: 1.475 MB / 0.8218 GB, free: 15.99 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 6.933e-06/0.7581, allocations: 0 / 0.8218 GB, free: 15.99 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02731/0.7854, allocations: 13.41 MB / 0.8349 GB, free: 2.383 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005032/0.7859, allocations: 0.6346 MB / 0.8355 GB, free: 1.598 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.7896, allocations: 2.407 MB / 0.8379 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.7899, allocations: 53.7 kB / 0.8379 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.791, allocations: 1.113 MB / 0.839 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/0.7919, allocations: 0.7863 MB / 0.8398 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008051/0.7927, allocations: 0.4965 MB / 0.8403 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7928, allocations: 305.1 kB / 0.8406 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.7947, allocations: 0.7837 MB / 0.8413 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.7971, allocations: 1.484 MB / 0.8428 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1084/0.9056, allocations: 14.99 MB / 0.8574 GB, free: 10.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.9056, allocations: 12 kB / 0.8574 GB, free: 10.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007614/0.9132, allocations: 3.075 MB / 0.8604 GB, free: 7.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.9133, allocations: 79.39 kB / 0.8605 GB, free: 7.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005267/0.9186, allocations: 2.216 MB / 0.8627 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.9198, allocations: 278.3 kB / 0.8629 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.9216, allocations: 0.5576 MB / 0.8635 GB, free: 4.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3888/1.31, allocations: 6.497 MB / 0.8698 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.313, allocations: 118.3 kB / 0.8699 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/1.313, allocations: 144 kB / 0.8701 GB, free: 115.9 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.002597/1.315, allocations: 1.255 MB / 0.8713 GB, free: 115.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001759/1.317, allocations: 1.477 MB / 0.8727 GB, free: 115 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1021/1.419, allocations: 14.95 MB / 0.8873 GB, free: 113.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.627e-05/1.419, allocations: 6.203 kB / 0.8873 GB, free: 113.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00659/1.426, allocations: 2.983 MB / 0.8903 GB, free: 112.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/1.426, allocations: 85.41 kB / 0.8903 GB, free: 112.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004765/1.431, allocations: 2.136 MB / 0.8924 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.432, allocations: 260.5 kB / 0.8927 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.434, allocations: 0.556 MB / 0.8932 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/1.443, allocations: 6.326 MB / 0.8994 GB, free: 106.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/1.445, allocations: 110.1 kB / 0.8995 GB, free: 106.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.445, allocations: 147 kB / 0.8996 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.0007981/1.446, allocations: 413.8 kB / 0.9 GB, free: 105.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/1.447, allocations: 300.9 kB / 0.9003 GB, free: 105.7 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.004103/1.451, allocations: 2.254 MB / 0.9025 GB, free: 104.6 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.995239440002479] Failed to read output from testmodel.py, exit status != 0: 1.460026707034558 1.469379993 0.761514789 Calling exit ...