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.01313/0.01313, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001788/0.001788, allocations: 105.8 kB / 24.94 MB, free: 2.16 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.00242/0.00242, allocations: 206.8 kB / 28.67 MB, free: 3.438 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.474/1.474, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.125/1.125, allocations: 130.7 MB / 450.4 MB, free: 6.562 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.03494/0.03494, allocations: 20.79 MB / 0.6369 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.2219, allocations: 81.91 MB / 0.7169 GB, free: 2.656 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.5678/0.7897, allocations: 46.04 MB / 0.7619 GB, free: 20.23 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.8182, allocations: 18.41 MB / 0.7799 GB, free: 7.164 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.8219, allocations: 56.22 kB / 0.7799 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.004441/0.8264, allocations: 1.361 MB / 0.7813 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.8323, allocations: 1.491 MB / 0.7827 GB, free: 5.676 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007172/0.8395, allocations: 2.076 MB / 0.7847 GB, free: 4.645 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007091/0.8466, allocations: 3.435 MB / 0.7881 GB, free: 2.988 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.8488, allocations: 1.107 MB / 0.7892 GB, free: 2.395 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.8517, allocations: 1.419 MB / 0.7906 GB, free: 1.566 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.8545, allocations: 1.674 MB / 0.7922 GB, free: 0.5039 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/0.855, allocations: 249.9 kB / 0.7924 GB, free: 0.5039 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/0.8608, allocations: 2.337 MB / 0.7947 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0009927/0.8618, allocations: 0.8159 MB / 0.7955 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.8639, allocations: 1.407 MB / 0.7969 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.8747, allocations: 5.022 MB / 0.8018 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8747, allocations: 0 / 0.8018 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8747, allocations: 0 / 0.8018 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.843e-05/0.8748, allocations: 2.625 kB / 0.8018 GB, free: 10.14 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.008202/0.883, allocations: 3.947 MB / 0.8056 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8831, allocations: 9.625 kB / 0.8057 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8843, allocations: 405.3 kB / 0.806 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005383/0.8897, allocations: 2.85 MB / 0.8088 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.8898, allocations: 115.3 kB / 0.8089 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.89, allocations: 160.1 kB / 0.8091 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/0.8954, allocations: 2.577 MB / 0.8116 GB, free: 1.414 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/0.8954, allocations: 11.88 kB / 0.8116 GB, free: 1.402 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.8956, allocations: 70.69 kB / 0.8117 GB, free: 1.336 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.8956, allocations: 44 kB / 0.8117 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.9004, allocations: 1.911 MB / 0.8136 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.914, allocations: 11.54 MB / 0.8249 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/0.9185, allocations: 1.726 MB / 0.8265 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.9198, allocations: 0.6618 MB / 0.8272 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.9201, allocations: 88.86 kB / 0.8273 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003622/0.9237, allocations: 1.471 MB / 0.8287 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.047e-06/0.9237, allocations: 0 / 0.8287 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02423/0.948, allocations: 13.18 MB / 0.8416 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004008/0.9484, allocations: 0.6371 MB / 0.8422 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/0.9521, allocations: 2.396 MB / 0.8445 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003743/0.9525, allocations: 61.69 kB / 0.8446 GB, free: 14.79 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.9536, allocations: 1.113 MB / 0.8457 GB, free: 13.66 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008463/0.9544, allocations: 0.7771 MB / 0.8465 GB, free: 12.88 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007638/0.9552, allocations: 0.4996 MB / 0.8469 GB, free: 12.38 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9553, allocations: 309.1 kB / 0.8472 GB, free: 12.07 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.957, allocations: 0.7862 MB / 0.848 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.9594, allocations: 1.485 MB / 0.8495 GB, free: 9.504 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1064/1.066, allocations: 15 MB / 0.8641 GB, free: 10.88 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.066, allocations: 4 kB / 0.8641 GB, free: 10.87 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007721/1.074, allocations: 3.07 MB / 0.8671 GB, free: 7.773 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.074, allocations: 82.09 kB / 0.8672 GB, free: 7.684 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00516/1.079, allocations: 2.218 MB / 0.8693 GB, free: 5.453 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.08, allocations: 272.4 kB / 0.8696 GB, free: 5.18 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.082, allocations: 0.5538 MB / 0.8701 GB, free: 4.625 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.094, allocations: 6.205 MB / 0.8762 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.097, allocations: 115.7 kB / 0.8763 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.097, allocations: 143.9 kB / 0.8765 GB, free: 13.83 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.003108/1.1, allocations: 1.259 MB / 0.8777 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002299/1.103, allocations: 1.476 MB / 0.8791 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1083/1.211, allocations: 14.96 MB / 0.8937 GB, free: 11.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.549e-05/1.211, allocations: 4 kB / 0.8937 GB, free: 11.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008007/1.219, allocations: 2.989 MB / 0.8967 GB, free: 8.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/1.219, allocations: 77.42 kB / 0.8967 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005098/1.224, allocations: 2.142 MB / 0.8988 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.225, allocations: 263.9 kB / 0.8991 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.227, allocations: 0.5499 MB / 0.8996 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.239, allocations: 6.024 MB / 0.9055 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.242, allocations: 111.8 kB / 0.9056 GB, free: 14.97 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/1.242, allocations: 143.9 kB / 0.9057 GB, free: 14.83 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.001185/1.243, allocations: 418.9 kB / 0.9061 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.245, allocations: 298 kB / 0.9064 GB, free: 14.11 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.005681/1.25, allocations: 2.239 MB / 0.9086 GB, free: 11.89 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.395504595013335] Failed to read output from testmodel.py, exit status != 0: 1.4678452720399946 1.484213515 0.6060988749999999 Calling exit ...