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.01375/0.01375, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001653/0.001653, allocations: 105.3 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.002106/0.002106, allocations: 209.8 kB / 27.92 MB, free: 4.035 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.492/1.492, allocations: 230.6 MB / 262.1 MB, free: 6.02 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.09/1.09, allocations: 130.7 MB / 449.7 MB, free: 6.559 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.03185/0.03185, allocations: 20.78 MB / 0.6357 GB, free: 5.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.2035, allocations: 81.9 MB / 0.7157 GB, free: 3.148 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.4832/0.6867, allocations: 43 MB / 0.7577 GB, free: 22.93 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.7033, allocations: 13.25 MB / 0.7707 GB, free: 13.75 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.7053, allocations: 54.22 kB / 0.7707 GB, free: 13.73 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.7085, allocations: 0.9978 MB / 0.7717 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.7113, allocations: 0.877 MB / 0.7725 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.7155, allocations: 1.591 MB / 0.7741 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.7194, allocations: 2.462 MB / 0.7765 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.721, allocations: 0.8068 MB / 0.7773 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.7229, allocations: 1.007 MB / 0.7783 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.725, allocations: 1.144 MB / 0.7794 GB, free: 9.305 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.7254, allocations: 187.9 kB / 0.7796 GB, free: 9.305 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.7282, allocations: 1.311 MB / 0.7808 GB, free: 8.91 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006376/0.7289, allocations: 0.5981 MB / 0.7814 GB, free: 8.578 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.7299, allocations: 1.03 MB / 0.7824 GB, free: 7.859 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.7356, allocations: 3.474 MB / 0.7858 GB, free: 6.023 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7356, allocations: 3.469 kB / 0.7858 GB, free: 6.023 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7356, allocations: 0 / 0.7858 GB, free: 6.023 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.029e-05/0.7357, allocations: 4.25 kB / 0.7858 GB, free: 6.023 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.005516/0.7412, allocations: 2.941 MB / 0.7887 GB, free: 3.895 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7412, allocations: 9.344 kB / 0.7887 GB, free: 3.895 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.7414, allocations: 196.9 kB / 0.7889 GB, free: 3.738 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/0.7423, allocations: 298 kB / 0.7892 GB, free: 3.578 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.7464, allocations: 2.379 MB / 0.7915 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.7465, allocations: 86.83 kB / 0.7916 GB, free: 1.914 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.7466, allocations: 112.5 kB / 0.7917 GB, free: 1.875 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.7503, allocations: 2.07 MB / 0.7937 GB, free: 260 kB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.7504, allocations: 13.72 kB / 0.7937 GB, free: 252 kB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/0.7504, allocations: 53.95 kB / 0.7938 GB, free: 216 kB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.7505, allocations: 37.53 kB / 0.7938 GB, free: 216 kB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.7538, allocations: 1.379 MB / 0.7952 GB, free: 15.54 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.7641, allocations: 9.936 MB / 0.8049 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.7678, allocations: 1.28 MB / 0.8061 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.7686, allocations: 435.6 kB / 0.8065 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.7688, allocations: 69.11 kB / 0.8066 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003029/0.7718, allocations: 1.115 MB / 0.8077 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 7.344e-06/0.7718, allocations: 2.344 kB / 0.8077 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008614/0.7805, allocations: 2.713 MB / 0.8103 GB, free: 1.91 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003546/0.7808, allocations: 0.6078 MB / 0.8109 GB, free: 1.164 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.7843, allocations: 1.77 MB / 0.8127 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.7845, allocations: 41.7 kB / 0.8127 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.7854, allocations: 0.8433 MB / 0.8135 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006917/0.7861, allocations: 0.5925 MB / 0.8141 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007601/0.7868, allocations: 418 kB / 0.8145 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.787, allocations: 301.1 kB / 0.8148 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.7881, allocations: 0.5457 MB / 0.8153 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.7898, allocations: 1.199 MB / 0.8165 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.7948, allocations: 2.75 MB / 0.8192 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.7948, allocations: 6.625 kB / 0.8192 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004388/0.7992, allocations: 2.147 MB / 0.8213 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.7992, allocations: 45.69 kB / 0.8213 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002879/0.8021, allocations: 1.407 MB / 0.8227 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.8026, allocations: 144.2 kB / 0.8228 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.804, allocations: 475.1 kB / 0.8233 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009168/0.8049, allocations: 0.7712 MB / 0.824 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.8064, allocations: 230.2 kB / 0.8243 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.8066, allocations: 126.6 kB / 0.8244 GB, free: 2.734 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.001975/0.8086, allocations: 0.9183 MB / 0.8253 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001598/0.8102, allocations: 1.188 MB / 0.8264 GB, free: 348 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0048/0.815, allocations: 2.704 MB / 0.8291 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.108e-05/0.815, allocations: 8 kB / 0.8291 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004311/0.8193, allocations: 2.106 MB / 0.8311 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.8194, allocations: 45.69 kB / 0.8312 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002474/0.8219, allocations: 1.321 MB / 0.8325 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.8222, allocations: 116.8 kB / 0.8326 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.8236, allocations: 481.8 kB / 0.8331 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.8261, allocations: 2.076 MB / 0.8351 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.8277, allocations: 174.9 kB / 0.8352 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.828, allocations: 126.7 kB / 0.8354 GB, free: 6.824 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.0007507/0.8287, allocations: 350.1 kB / 0.8357 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/0.8295, allocations: 222.5 kB / 0.8359 GB, free: 6.258 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.003767/0.8333, allocations: 1.816 MB / 0.8377 GB, free: 4.535 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.757937669055536] Failed to read output from testmodel.py, exit status != 0: 1.0178562519140542 1.034152561 0.29533058500000003 Calling exit ...