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.01028/0.01028, allocations: 1.745 MB / 21.38 MB, free: 480 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.001213/0.001213, allocations: 95.92 kB / 24.96 MB, free: 2.059 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.001536/0.001536, allocations: 210.5 kB / 28.68 MB, free: 3.348 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.478/1.478, allocations: 230.6 MB / 262.9 MB, free: 5.836 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.092/1.092, allocations: 130.7 MB / 450.4 MB, free: 6.438 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="cs",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="cs",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.06435/0.06435, allocations: 20.6 MB / 0.6362 GB, free: 5.133 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.2412, allocations: 81.91 MB / 0.7162 GB, free: 3.129 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.559/0.8002, allocations: 44.78 MB / 0.7599 GB, free: 21.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.8267, allocations: 17.51 MB / 0.777 GB, free: 9.223 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.8305, allocations: 55.84 kB / 0.7771 GB, free: 9.199 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.004702/0.8352, allocations: 1.306 MB / 0.7784 GB, free: 8.629 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.8418, allocations: 1.498 MB / 0.7798 GB, free: 7.785 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007617/0.8494, allocations: 2.081 MB / 0.7819 GB, free: 6.75 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006805/0.8562, allocations: 3.424 MB / 0.7852 GB, free: 5.098 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.859, allocations: 1.095 MB / 0.7863 GB, free: 4.582 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.8624, allocations: 1.434 MB / 0.7877 GB, free: 3.77 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.8657, allocations: 1.669 MB / 0.7893 GB, free: 2.707 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.8669, allocations: 249.4 kB / 0.7896 GB, free: 2.707 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.8722, allocations: 1.736 MB / 0.7912 GB, free: 1.848 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.8737, allocations: 0.8122 MB / 0.792 GB, free: 1.234 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.8764, allocations: 1.089 MB / 0.7931 GB, free: 500 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.8872, allocations: 4.915 MB / 0.7979 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8872, allocations: 0 / 0.7979 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8872, allocations: 1.125 kB / 0.7979 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001879/0.8874, allocations: 0 / 0.7979 GB, free: 13.2 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.01218/0.8995, allocations: 3.937 MB / 0.8017 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8996, allocations: 9.406 kB / 0.8018 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7e-05/0.8997, allocations: 42.55 kB / 0.8018 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006319/0.9003, allocations: 244.1 kB / 0.802 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.9021, allocations: 412.8 kB / 0.8024 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.9097, allocations: 2.855 MB / 0.8052 GB, free: 7.602 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.9099, allocations: 123.8 kB / 0.8053 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/0.9105, allocations: 148 kB / 0.8055 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007693/0.9182, allocations: 2.865 MB / 0.8083 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.573e-05/0.9183, allocations: 11.88 kB / 0.8083 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.9186, allocations: 72 kB / 0.8083 GB, free: 4.023 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.9186, allocations: 44 kB / 0.8084 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006286/0.9249, allocations: 1.976 MB / 0.8103 GB, free: 1.988 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.9428, allocations: 10.92 MB / 0.821 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.9485, allocations: 1.78 MB / 0.8227 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.9504, allocations: 0.7278 MB / 0.8234 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.9509, allocations: 87.52 kB / 0.8235 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004753/0.9556, allocations: 1.529 MB / 0.825 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 9.859e-06/0.9556, allocations: 0 / 0.825 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.03148/0.9871, allocations: 13.32 MB / 0.838 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004059/0.9875, allocations: 0.6385 MB / 0.8386 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.9916, allocations: 2.405 MB / 0.841 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004493/0.992, allocations: 53.7 kB / 0.841 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.9931, allocations: 1.109 MB / 0.8421 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009686/0.9941, allocations: 0.7889 MB / 0.8429 GB, free: 15.71 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008604/0.9949, allocations: 0.4964 MB / 0.8434 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9951, allocations: 301.1 kB / 0.8437 GB, free: 14.91 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.9969, allocations: 0.8533 MB / 0.8445 GB, free: 14.04 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.9995, allocations: 1.619 MB / 0.8461 GB, free: 12.08 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1074/1.107, allocations: 15.02 MB / 0.8608 GB, free: 13.51 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/1.107, allocations: 8 kB / 0.8608 GB, free: 13.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007972/1.115, allocations: 3.147 MB / 0.8638 GB, free: 10.32 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.115, allocations: 79.39 kB / 0.8639 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005217/1.12, allocations: 2.296 MB / 0.8661 GB, free: 7.914 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.121, allocations: 274.3 kB / 0.8664 GB, free: 7.637 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.123, allocations: 0.546 MB / 0.8669 GB, free: 7.09 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.135, allocations: 6.169 MB / 0.873 GB, free: 0.5859 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.138, allocations: 119.7 kB / 0.8731 GB, free: 480 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/1.138, allocations: 143.9 kB / 0.8732 GB, free: 336 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.002996/1.141, allocations: 1.316 MB / 0.8745 GB, free: 15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002556/1.144, allocations: 1.613 MB / 0.8761 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1574/1.301, allocations: 14.97 MB / 0.8907 GB, free: 13.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.318e-05/1.301, allocations: 8 kB / 0.8907 GB, free: 13.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008969/1.31, allocations: 3.069 MB / 0.8937 GB, free: 10.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.31, allocations: 76.33 kB / 0.8938 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006116/1.316, allocations: 2.215 MB / 0.8959 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.317, allocations: 259.7 kB / 0.8962 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.32, allocations: 0.5538 MB / 0.8967 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.332, allocations: 5.984 MB / 0.9026 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/1.335, allocations: 107.8 kB / 0.9027 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/1.335, allocations: 147.9 kB / 0.9028 GB, free: 0.9375 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.001016/1.336, allocations: 416.6 kB / 0.9032 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008404/1.337, allocations: 306 kB / 0.9035 GB, free: 212 kB / 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.005263/1.342, allocations: 2.238 MB / 0.9057 GB, free: 14 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.342664294061251] Failed to read output from testmodel.py, exit status != 0: 1.57582115707919 1.591953232 0.701136006 Calling exit ...