Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01372/0.01372, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001567/0.001567, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.002035/0.002035, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.438/1.438, allocations: 230.6 MB / 262.1 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.06/1.06, allocations: 130.7 MB / 449.7 MB, free: 6.43 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me",version="2.0",platforms={"static"}) [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.06452/0.06452, allocations: 20.99 MB / 0.6358 GB, free: 4.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.2295, allocations: 81.91 MB / 0.7158 GB, free: 2.75 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.5252/0.7547, allocations: 44.8 MB / 0.7596 GB, free: 21.18 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.7802, allocations: 17.53 MB / 0.7767 GB, free: 9.062 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.783, allocations: 55.84 kB / 0.7767 GB, free: 9.039 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.003688/0.7867, allocations: 1.306 MB / 0.778 GB, free: 8.465 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.7915, allocations: 1.492 MB / 0.7795 GB, free: 7.625 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.7973, allocations: 2.075 MB / 0.7815 GB, free: 6.594 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005253/0.8025, allocations: 3.431 MB / 0.7849 GB, free: 4.941 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.8042, allocations: 1.159 MB / 0.786 GB, free: 4.352 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.8064, allocations: 1.412 MB / 0.7874 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.8086, allocations: 1.571 MB / 0.7889 GB, free: 2.566 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.8091, allocations: 250.2 kB / 0.7891 GB, free: 2.566 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.813, allocations: 1.693 MB / 0.7908 GB, free: 1.75 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.8136, allocations: 0.8003 MB / 0.7916 GB, free: 1.148 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.8148, allocations: 1.089 MB / 0.7926 GB, free: 412 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008316/0.8231, allocations: 4.912 MB / 0.7974 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8231, allocations: 0 / 0.7974 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8231, allocations: 2.156 kB / 0.7974 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.198e-05/0.8232, allocations: 0 / 0.7974 GB, free: 13.12 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.008541/0.8317, allocations: 3.933 MB / 0.8013 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8317, allocations: 13.22 kB / 0.8013 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/0.8321, allocations: 243.2 kB / 0.8015 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.8333, allocations: 405.2 kB / 0.8019 GB, free: 9.875 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.8389, allocations: 2.853 MB / 0.8047 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.839, allocations: 119.2 kB / 0.8048 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.8392, allocations: 155.9 kB / 0.805 GB, free: 7.105 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.8448, allocations: 2.862 MB / 0.8078 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.8448, allocations: 18.53 kB / 0.8078 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.845, allocations: 68 kB / 0.8078 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.845, allocations: 44 kB / 0.8079 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/0.8501, allocations: 1.958 MB / 0.8098 GB, free: 1.773 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.8627, allocations: 10.94 MB / 0.8205 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.8674, allocations: 1.768 MB / 0.8222 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.8688, allocations: 0.7291 MB / 0.8229 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.8691, allocations: 80.83 kB / 0.823 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003791/0.8729, allocations: 1.532 MB / 0.8245 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.098e-06/0.8729, allocations: 0 / 0.8245 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02472/0.8976, allocations: 13.33 MB / 0.8375 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003576/0.898, allocations: 0.6385 MB / 0.8381 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.9017, allocations: 2.442 MB / 0.8405 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/0.902, allocations: 53.7 kB / 0.8406 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.9031, allocations: 1.109 MB / 0.8416 GB, free: 244 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000971/0.9041, allocations: 0.7747 MB / 0.8424 GB, free: 15.45 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007785/0.9049, allocations: 0.4952 MB / 0.8429 GB, free: 14.95 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.905, allocations: 308.9 kB / 0.8432 GB, free: 14.65 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.9068, allocations: 0.8424 MB / 0.844 GB, free: 13.8 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.9092, allocations: 1.619 MB / 0.8456 GB, free: 11.84 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1094/1.019, allocations: 15.02 MB / 0.8602 GB, free: 13.3 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.019, allocations: 8 kB / 0.8603 GB, free: 13.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00728/1.026, allocations: 3.147 MB / 0.8633 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/1.026, allocations: 79.39 kB / 0.8634 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005171/1.031, allocations: 2.298 MB / 0.8656 GB, free: 7.699 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.032, allocations: 277 kB / 0.8659 GB, free: 7.422 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.034, allocations: 0.5537 MB / 0.8665 GB, free: 6.867 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.046, allocations: 6.161 MB / 0.8725 GB, free: 376 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.048, allocations: 123.6 kB / 0.8726 GB, free: 252 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/1.049, allocations: 143.9 kB / 0.8727 GB, free: 108 kB / 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.002875/1.051, allocations: 1.322 MB / 0.874 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002354/1.054, allocations: 1.608 MB / 0.8756 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1112/1.165, allocations: 14.98 MB / 0.8902 GB, free: 13.53 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.802e-05/1.165, allocations: 4 kB / 0.8902 GB, free: 13.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007749/1.173, allocations: 3.069 MB / 0.8932 GB, free: 10.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/1.173, allocations: 84.58 kB / 0.8933 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005275/1.178, allocations: 2.214 MB / 0.8955 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.179, allocations: 255.6 kB / 0.8957 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.181, allocations: 0.5576 MB / 0.8962 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.194, allocations: 5.974 MB / 0.9021 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.197, allocations: 115.8 kB / 0.9022 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/1.197, allocations: 147.9 kB / 0.9023 GB, free: 0.7148 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.001196/1.198, allocations: 412.8 kB / 0.9027 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009697/1.199, allocations: 302.9 kB / 0.903 GB, free: 15.99 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.005196/1.204, allocations: 2.264 MB / 0.9052 GB, free: 13.76 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.094669652171433] Failed to read output from testmodel.py, exit status != 0: 1.4078866029158235 1.423895575 0.597598611 Calling exit ...