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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01003/0.01003, allocations: 1.765 MB / 20.61 MB, free: 3.875 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09954/0.09954, allocations: 25.61 MB / 49.71 MB, free: 2.91 MB / 33.03 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.001328/0.001328, allocations: 118.1 kB / 60.66 MB, free: 3 MB / 44.04 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.001296/0.001296, allocations: 217.7 kB / 71.73 MB, free: 14.48 MB / 58.72 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.013/1.013, allocations: 230.6 MB / 313.3 MB, free: 5.188 MB / 218.7 MB " [Timeout remaining time 179] 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 0.6566/0.6566, allocations: 130.7 MB / 0.4963 GB, free: 2.566 MB / 378.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me_cs",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_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: 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: 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: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 160.2 kB / 0.6901 GB, free: 1.465 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3999, allocations: 89.26 MB / 0.7772 GB, free: 7.625 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID): time 0.008377/0.4083, allocations: 9.068 MB / 0.7861 GB, free: 0.7617 MB / 0.5418 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.4224, allocations: 12.58 MB / 0.7984 GB, free: 6.781 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.4239, allocations: 49.47 kB / 0.7984 GB, free: 6.758 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.4263, allocations: 0.9564 MB / 0.7993 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.4284, allocations: 0.8829 MB / 0.8002 GB, free: 5.398 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.4316, allocations: 1.587 MB / 0.8018 GB, free: 4.23 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.4347, allocations: 2.459 MB / 0.8042 GB, free: 2.762 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4357, allocations: 0.8606 MB / 0.805 GB, free: 2.113 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.437, allocations: 1.006 MB / 0.806 GB, free: 1.523 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.4384, allocations: 1.082 MB / 0.807 GB, free: 0.8359 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0003866/0.4388, allocations: 184.6 kB / 0.8072 GB, free: 0.8359 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.4406, allocations: 0.9778 MB / 0.8082 GB, free: 416 kB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000406/0.441, allocations: 0.5918 MB / 0.8087 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009367/0.4419, allocations: 0.7898 MB / 0.8095 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.446, allocations: 3.4 MB / 0.8128 GB, free: 13.11 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.446, allocations: 0 / 0.8128 GB, free: 13.11 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.814e-06/0.446, allocations: 8 kB / 0.8128 GB, free: 13.11 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.116e-05/0.4461, allocations: 0 / 0.8128 GB, free: 13.11 MB / 0.573 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.004127/0.4503, allocations: 2.95 MB / 0.8157 GB, free: 10.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4503, allocations: 8.031 kB / 0.8157 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.4504, allocations: 191.2 kB / 0.8159 GB, free: 9.895 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.451, allocations: 303.2 kB / 0.8162 GB, free: 9.598 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.454, allocations: 2.381 MB / 0.8185 GB, free: 7.18 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.454, allocations: 94.02 kB / 0.8186 GB, free: 7.086 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4541, allocations: 108 kB / 0.8187 GB, free: 6.98 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.4569, allocations: 2.323 MB / 0.821 GB, free: 4.285 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.4569, allocations: 11.88 kB / 0.821 GB, free: 4.273 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.457, allocations: 59.98 kB / 0.8211 GB, free: 4.215 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.457, allocations: 36 kB / 0.8211 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.4593, allocations: 1.398 MB / 0.8225 GB, free: 2.777 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.465, allocations: 9.506 MB / 0.8317 GB, free: 8.891 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.4671, allocations: 1.289 MB / 0.833 GB, free: 7.492 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.4676, allocations: 474.2 kB / 0.8335 GB, free: 6.984 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.4677, allocations: 60.56 kB / 0.8335 GB, free: 6.926 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.4694, allocations: 1.151 MB / 0.8346 GB, free: 5.695 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=175): time 2.945e-06/0.4694, allocations: 0 / 0.8346 GB, free: 5.695 MB / 0.5887 GB Notification: Performance of matching and sorting (n=175): time 0.0048/0.4742, allocations: 2.776 MB / 0.8373 GB, free: 2.895 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.4743, allocations: 0.613 MB / 0.8379 GB, free: 2.137 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.4761, allocations: 1.798 MB / 0.8397 GB, free: 304 kB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.4761, allocations: 57.69 kB / 0.8398 GB, free: 240 kB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/0.4766, allocations: 0.8355 MB / 0.8406 GB, free: 15.39 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.477, allocations: 0.5925 MB / 0.8412 GB, free: 14.79 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.4774, allocations: 419.3 kB / 0.8416 GB, free: 14.38 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.4774, allocations: 301.1 kB / 0.8418 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.4781, allocations: 0.5768 MB / 0.8424 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009872/0.4791, allocations: 1.312 MB / 0.8437 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.482, allocations: 2.756 MB / 0.8464 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.482, allocations: 4 kB / 0.8464 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002626/0.4846, allocations: 2.18 MB / 0.8485 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.4847, allocations: 49.69 kB / 0.8486 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0017/0.4864, allocations: 1.443 MB / 0.85 GB, free: 5.051 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.4867, allocations: 157 kB / 0.8501 GB, free: 4.895 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.4874, allocations: 471.1 kB / 0.8506 GB, free: 4.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005429/0.488, allocations: 0.7631 MB / 0.8513 GB, free: 3.645 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.4887, allocations: 226.4 kB / 0.8515 GB, free: 3.422 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.4889, allocations: 123.9 kB / 0.8516 GB, free: 3.301 MB / 0.6043 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.001265/0.4901, allocations: 0.9544 MB / 0.8526 GB, free: 2.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.4912, allocations: 1.297 MB / 0.8538 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002804/0.494, allocations: 2.717 MB / 0.8565 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.321e-05/0.494, allocations: 8 kB / 0.8565 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.0025/0.4965, allocations: 2.144 MB / 0.8586 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.4965, allocations: 49.69 kB / 0.8586 GB, free: 11.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001518/0.498, allocations: 1.357 MB / 0.86 GB, free: 10.06 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.4983, allocations: 122.5 kB / 0.8601 GB, free: 9.941 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.499, allocations: 483.1 kB / 0.8605 GB, free: 9.469 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.5005, allocations: 2.051 MB / 0.8625 GB, free: 7.309 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.5012, allocations: 182.9 kB / 0.8627 GB, free: 7.129 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.5014, allocations: 119.9 kB / 0.8628 GB, free: 7.012 MB / 0.6199 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.0003898/0.5017, allocations: 345.2 kB / 0.8632 GB, free: 6.66 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.502, allocations: 226.5 kB / 0.8634 GB, free: 6.438 MB / 0.6199 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.002079/0.5041, allocations: 1.834 MB / 0.8652 GB, free: 4.57 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.379767671227455]