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.0146/0.0146, 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.001555/0.001555, allocations: 100.9 kB / 24.96 MB, free: 2.066 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.001835/0.001835, 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.401/1.401, allocations: 230.6 MB / 262.9 MB, free: 5.82 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.032/1.032, allocations: 130.7 MB / 450.4 MB, free: 6.609 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="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="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.06804/0.06804, allocations: 20.6 MB / 0.6362 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.2339, allocations: 81.9 MB / 0.7162 GB, free: 3.137 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.4508/0.6847, allocations: 42.04 MB / 0.7573 GB, free: 23.51 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.7023, allocations: 12.57 MB / 0.7695 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.7044, allocations: 49.31 kB / 0.7696 GB, free: 15.09 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.7076, allocations: 0.9675 MB / 0.7705 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.7106, allocations: 0.8859 MB / 0.7714 GB, free: 14.1 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.7148, allocations: 1.584 MB / 0.7729 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.7186, allocations: 2.465 MB / 0.7754 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.7201, allocations: 0.8121 MB / 0.7761 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.7218, allocations: 1.007 MB / 0.7771 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.7238, allocations: 1.144 MB / 0.7782 GB, free: 10.69 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.7242, allocations: 186.1 kB / 0.7784 GB, free: 10.69 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.7269, allocations: 0.9902 MB / 0.7794 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.7276, allocations: 0.5974 MB / 0.78 GB, free: 10.08 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.7286, allocations: 0.7845 MB / 0.7807 GB, free: 9.605 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.7342, allocations: 3.402 MB / 0.7841 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7342, allocations: 0 / 0.7841 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7342, allocations: 3.938 kB / 0.7841 GB, free: 7.945 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.922e-05/0.7343, allocations: 2.688 kB / 0.7841 GB, free: 7.945 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.005159/0.7394, allocations: 2.943 MB / 0.7869 GB, free: 5.816 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.7395, allocations: 13.72 kB / 0.787 GB, free: 5.812 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.55e-05/0.7396, allocations: 31.05 kB / 0.787 GB, free: 5.809 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.7397, allocations: 196.1 kB / 0.7872 GB, free: 5.652 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009316/0.7407, allocations: 299.3 kB / 0.7875 GB, free: 5.492 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.7448, allocations: 2.384 MB / 0.7898 GB, free: 3.863 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.7448, allocations: 79.64 kB / 0.7899 GB, free: 3.828 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.745, allocations: 112.8 kB / 0.79 GB, free: 3.789 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.749, allocations: 2.33 MB / 0.7922 GB, free: 1.848 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.7491, allocations: 13.84 kB / 0.7923 GB, free: 1.84 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7492, allocations: 56.86 kB / 0.7923 GB, free: 1.805 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.7492, allocations: 36.66 kB / 0.7923 GB, free: 1.805 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.7525, allocations: 1.411 MB / 0.7937 GB, free: 1.105 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009903/0.7625, allocations: 9.5 MB / 0.803 GB, free: 8.219 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.766, allocations: 1.296 MB / 0.8043 GB, free: 7.395 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.7668, allocations: 480 kB / 0.8047 GB, free: 7.074 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.767, allocations: 61.38 kB / 0.8048 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002946/0.7699, allocations: 1.149 MB / 0.8059 GB, free: 6.305 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 5.33e-06/0.7699, allocations: 3.938 kB / 0.8059 GB, free: 6.301 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008934/0.7789, allocations: 2.782 MB / 0.8086 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003446/0.7792, allocations: 0.6091 MB / 0.8092 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.7821, allocations: 1.77 MB / 0.811 GB, free: 1.164 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.7823, allocations: 45.7 kB / 0.811 GB, free: 1.113 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.7831, allocations: 0.8394 MB / 0.8118 GB, free: 268 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/0.7837, allocations: 0.5927 MB / 0.8124 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006502/0.7844, allocations: 422 kB / 0.8128 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7845, allocations: 301.1 kB / 0.8131 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.7856, allocations: 0.5768 MB / 0.8136 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.7873, allocations: 1.312 MB / 0.8149 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/0.7923, allocations: 2.755 MB / 0.8176 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.7923, allocations: 4 kB / 0.8176 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004451/0.7967, allocations: 2.178 MB / 0.8198 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.7968, allocations: 49.69 kB / 0.8198 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002813/0.7996, allocations: 1.443 MB / 0.8212 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.8001, allocations: 150.7 kB / 0.8214 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8015, allocations: 471.2 kB / 0.8218 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.8024, allocations: 0.7762 MB / 0.8226 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.8039, allocations: 226.3 kB / 0.8228 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.8041, allocations: 123.9 kB / 0.8229 GB, free: 4.234 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.001908/0.806, allocations: 0.9406 MB / 0.8238 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/0.8077, allocations: 1.301 MB / 0.8251 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004718/0.8124, allocations: 2.713 MB / 0.8277 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-05/0.8124, allocations: 8 kB / 0.8277 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004366/0.8168, allocations: 2.142 MB / 0.8298 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.8168, allocations: 52.31 kB / 0.8299 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002472/0.8193, allocations: 1.359 MB / 0.8312 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.8197, allocations: 127.3 kB / 0.8313 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.821, allocations: 471.2 kB / 0.8318 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.8234, allocations: 2.06 MB / 0.8338 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.8248, allocations: 181.4 kB / 0.834 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.8251, allocations: 119.9 kB / 0.8341 GB, free: 8.039 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.0006567/0.8257, allocations: 343.9 kB / 0.8344 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.8263, allocations: 226.5 kB / 0.8346 GB, free: 7.469 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.003461/0.8298, allocations: 1.834 MB / 0.8364 GB, free: 5.734 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.567687241942622] Failed to read output from testmodel.py, exit status != 0: 1.0110162870259956 1.026535232 0.289124249 Calling exit ...