Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID.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.01008/0.01008, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001327/0.001327, allocations: 113.2 kB / 24.19 MB, free: 2.688 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.001669/0.001669, allocations: 208.5 kB / 27.92 MB, free: 4.027 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.459/1.459, allocations: 230.6 MB / 262.1 MB, free: 5.996 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.094/1.094, allocations: 130.7 MB / 449.7 MB, free: 6.547 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.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",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.0325/0.0325, allocations: 20.79 MB / 0.6357 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.201, allocations: 81.9 MB / 0.7157 GB, free: 3.113 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.Utilities.Blocks.Check.test_2_LimPID): time 0.4873/0.6883, allocations: 43 MB / 0.7577 GB, free: 23.01 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.7062, allocations: 13.26 MB / 0.7707 GB, free: 13.82 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.709, allocations: 49.59 kB / 0.7707 GB, free: 13.8 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.7128, allocations: 0.9988 MB / 0.7717 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.7161, allocations: 0.8808 MB / 0.7725 GB, free: 12.79 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.7207, allocations: 1.587 MB / 0.7741 GB, free: 11.98 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.7247, allocations: 2.465 MB / 0.7765 GB, free: 10.79 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.7263, allocations: 0.7963 MB / 0.7773 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.7283, allocations: 1.019 MB / 0.7783 GB, free: 9.91 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.7305, allocations: 1.138 MB / 0.7794 GB, free: 9.379 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0007279/0.7313, allocations: 185.4 kB / 0.7796 GB, free: 9.379 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.7353, allocations: 1.317 MB / 0.7808 GB, free: 8.98 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.7367, allocations: 0.5941 MB / 0.7814 GB, free: 8.652 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.7393, allocations: 1.033 MB / 0.7824 GB, free: 7.93 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008705/0.748, allocations: 3.48 MB / 0.7858 GB, free: 6.066 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.748, allocations: 0 / 0.7858 GB, free: 6.066 MB / 0.5607 GB Notification: Performance of FrontEnd: time 4.318e-06/0.7481, allocations: 1.156 kB / 0.7858 GB, free: 6.066 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0001381/0.7482, allocations: 0 / 0.7858 GB, free: 6.066 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 359 * Number of variables: 359 Notification: Performance of Generate backend data structure: time 0.005846/0.754, allocations: 2.938 MB / 0.7887 GB, free: 3.941 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7541, allocations: 14.19 kB / 0.7887 GB, free: 3.938 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.7543, allocations: 194 kB / 0.7889 GB, free: 3.785 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008624/0.7551, allocations: 302.2 kB / 0.7892 GB, free: 3.621 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.7591, allocations: 2.365 MB / 0.7915 GB, free: 2.012 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.7592, allocations: 90.62 kB / 0.7916 GB, free: 1.965 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7593, allocations: 116.5 kB / 0.7917 GB, free: 1.922 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.7629, allocations: 2.068 MB / 0.7937 GB, free: 312 kB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.7629, allocations: 12.62 kB / 0.7937 GB, free: 304 kB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.763, allocations: 58.77 kB / 0.7938 GB, free: 264 kB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.763, allocations: 34.44 kB / 0.7938 GB, free: 264 kB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.7662, allocations: 1.385 MB / 0.7952 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009864/0.7761, allocations: 9.928 MB / 0.8049 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.7794, allocations: 1.285 MB / 0.8061 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.7801, allocations: 441.9 kB / 0.8065 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.7803, allocations: 67.66 kB / 0.8066 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002679/0.783, allocations: 1.117 MB / 0.8077 GB, free: 4.434 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 3.917e-06/0.783, allocations: 0 / 0.8077 GB, free: 4.434 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008036/0.791, allocations: 2.717 MB / 0.8104 GB, free: 1.961 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003399/0.7914, allocations: 0.6077 MB / 0.8109 GB, free: 1.215 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.7941, allocations: 1.77 MB / 0.8127 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.7943, allocations: 41.7 kB / 0.8127 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.795, allocations: 0.842 MB / 0.8135 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.7956, allocations: 0.5886 MB / 0.8141 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/0.7962, allocations: 422.6 kB / 0.8145 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7963, allocations: 301.1 kB / 0.8148 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.7973, allocations: 0.5504 MB / 0.8153 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.7989, allocations: 1.199 MB / 0.8165 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.8037, allocations: 2.744 MB / 0.8192 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.8037, allocations: 7.562 kB / 0.8192 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004138/0.8078, allocations: 2.146 MB / 0.8213 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.8079, allocations: 46.78 kB / 0.8213 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002689/0.8106, allocations: 1.402 MB / 0.8227 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.8111, allocations: 145.7 kB / 0.8228 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8124, allocations: 473.8 kB / 0.8233 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000856/0.8132, allocations: 0.7677 MB / 0.824 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.8146, allocations: 228.9 kB / 0.8243 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.8148, allocations: 127.9 kB / 0.8244 GB, free: 2.789 MB / 0.5919 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.001785/0.8166, allocations: 0.9139 MB / 0.8253 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001491/0.818, allocations: 1.198 MB / 0.8264 GB, free: 400 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004579/0.8226, allocations: 2.698 MB / 0.8291 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.125e-05/0.8226, allocations: 4 kB / 0.8291 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00417/0.8268, allocations: 2.113 MB / 0.8312 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.8269, allocations: 45.69 kB / 0.8312 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002332/0.8292, allocations: 1.317 MB / 0.8325 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.8296, allocations: 119.5 kB / 0.8326 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.8309, allocations: 479.1 kB / 0.8331 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.8334, allocations: 2.083 MB / 0.8351 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.8349, allocations: 170.9 kB / 0.8352 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.8351, allocations: 123.9 kB / 0.8354 GB, free: 6.879 MB / 0.6075 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: 95 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,activate_controller.y,ramp2.nextEventScaled,ramp2.nextEvent,$PRE.ramp2.nextEvent,ramp2.last,ramp2.b,ramp2.a,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.activate_.y,PID.switch_OnOff.u2,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0006587/0.8357, allocations: 349 kB / 0.8357 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.8362, allocations: 222.5 kB / 0.8359 GB, free: 6.309 MB / 0.6075 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 189 equation(s) and 181 variable(s). Error: algorithm ramp2.nextEvent := pre(ramp2.nextEvent); ramp2.last := pre(ramp2.last); ramp2.nextEventScaled := pre(ramp2.nextEventScaled); ramp2.b := pre(ramp2.b); ramp2.a := pre(ramp2.a); $whenCondition2 := pre($whenCondition2); assert(not (ramp2.table[1,1] > 0.0 or ramp2.table[1,1] < 0.0), \"The first point in time has to be set to 0, but is table[1,1] = \" + String(ramp2.table[1,1], 6, 0, true)); $whenCondition2 := time >= pre(ramp2.nextEvent); when {$whenCondition2, false} then (ramp2.a, ramp2.b, ramp2.nextEventScaled, ramp2.last) := ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID.ramp2.getInterpolationCoefficients(ramp2.table, ramp2.offset, ramp2.startTime, ramp2.timeScaled, ramp2.last, 2.220446049250313e-14, ramp2.shiftTime); ramp2.nextEvent := ramp2.nextEventScaled; end when; has size 6 but 3 variables (pump.V_flow, pump.summary.inlet.rho, actual_m_flow.y) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.8396, allocations: 1.825 MB / 0.8377 GB, free: 4.586 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.767107798001234] Failed to read output from testmodel.py, exit status != 0: 1.0271224009993603 1.042225241 0.291094001 Calling exit ...