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.01043/0.01043, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001305/0.001305, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001698/0.001698, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.411/1.411, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.028/1.028, allocations: 130.7 MB / 449.6 MB, free: 6.445 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.06402/0.06402, allocations: 20.99 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.2231, allocations: 81.92 MB / 0.7158 GB, free: 2.719 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.4766/0.6997, allocations: 42.06 MB / 0.7569 GB, free: 23.6 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.7178, allocations: 12.58 MB / 0.7692 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.7199, allocations: 49.75 kB / 0.7692 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.7233, allocations: 0.9588 MB / 0.7702 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.7277, allocations: 0.888 MB / 0.771 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005624/0.7333, allocations: 1.578 MB / 0.7726 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005192/0.7385, allocations: 2.463 MB / 0.775 GB, free: 12.14 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.7403, allocations: 0.856 MB / 0.7758 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.7422, allocations: 1.019 MB / 0.7768 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.744, allocations: 1.07 MB / 0.7779 GB, free: 10.76 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.7443, allocations: 185.1 kB / 0.778 GB, free: 10.76 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.7472, allocations: 0.9783 MB / 0.779 GB, free: 10.5 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.7478, allocations: 0.5933 MB / 0.7796 GB, free: 10.17 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.7488, allocations: 0.7857 MB / 0.7803 GB, free: 9.695 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.754, allocations: 3.398 MB / 0.7837 GB, free: 7.965 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.754, allocations: 0 / 0.7837 GB, free: 7.965 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.595e-06/0.754, allocations: 2.656 kB / 0.7837 GB, free: 7.965 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.881e-05/0.7541, allocations: 0 / 0.7837 GB, free: 7.965 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.004766/0.7588, allocations: 2.955 MB / 0.7866 GB, free: 5.828 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7589, allocations: 13.23 kB / 0.7866 GB, free: 5.824 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.759, allocations: 187.8 kB / 0.7867 GB, free: 5.676 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.7599, allocations: 306.3 kB / 0.787 GB, free: 5.508 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.7641, allocations: 2.369 MB / 0.7894 GB, free: 3.895 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.7642, allocations: 90.89 kB / 0.7894 GB, free: 3.848 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.7644, allocations: 112.4 kB / 0.7895 GB, free: 3.809 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.7683, allocations: 2.329 MB / 0.7918 GB, free: 1.867 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.7683, allocations: 14.5 kB / 0.7918 GB, free: 1.859 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.7684, allocations: 53.78 kB / 0.7919 GB, free: 1.824 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.7685, allocations: 36.62 kB / 0.7919 GB, free: 1.824 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.7717, allocations: 1.41 MB / 0.7933 GB, free: 1.121 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009745/0.7814, allocations: 9.497 MB / 0.8026 GB, free: 8.242 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.785, allocations: 1.302 MB / 0.8038 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.7857, allocations: 468.2 kB / 0.8043 GB, free: 7.102 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.7859, allocations: 60.69 kB / 0.8043 GB, free: 7.082 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/0.7887, allocations: 1.157 MB / 0.8055 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 3.877e-06/0.7887, allocations: 3.938 kB / 0.8055 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008562/0.7972, allocations: 2.781 MB / 0.8082 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/0.7976, allocations: 0.6091 MB / 0.8088 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.8005, allocations: 1.793 MB / 0.8105 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/0.8007, allocations: 45.7 kB / 0.8106 GB, free: 0.9727 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/0.8015, allocations: 0.8394 MB / 0.8114 GB, free: 124 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006407/0.8021, allocations: 0.5914 MB / 0.812 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006149/0.8027, allocations: 415.3 kB / 0.8124 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8029, allocations: 309.1 kB / 0.8127 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.8039, allocations: 0.5729 MB / 0.8132 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.8056, allocations: 1.309 MB / 0.8145 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/0.8106, allocations: 2.754 MB / 0.8172 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.8106, allocations: 11.09 kB / 0.8172 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004268/0.8149, allocations: 2.179 MB / 0.8193 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.8149, allocations: 45.7 kB / 0.8194 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002777/0.8177, allocations: 1.448 MB / 0.8208 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.8182, allocations: 148 kB / 0.8209 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8195, allocations: 476.2 kB / 0.8214 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008699/0.8204, allocations: 0.7702 MB / 0.8221 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.8218, allocations: 226.3 kB / 0.8224 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.822, allocations: 119.9 kB / 0.8225 GB, free: 4.102 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.001858/0.8238, allocations: 0.943 MB / 0.8234 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001585/0.8254, allocations: 1.301 MB / 0.8247 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004677/0.8301, allocations: 2.713 MB / 0.8273 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/0.8301, allocations: 4 kB / 0.8273 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00422/0.8343, allocations: 2.147 MB / 0.8294 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.8344, allocations: 58.56 kB / 0.8295 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002486/0.8369, allocations: 1.357 MB / 0.8308 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.8372, allocations: 127.4 kB / 0.8309 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.8386, allocations: 477.8 kB / 0.8314 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.8409, allocations: 2.056 MB / 0.8334 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8424, allocations: 166.9 kB / 0.8335 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.8426, allocations: 126.7 kB / 0.8337 GB, free: 7.906 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.0006301/0.8432, allocations: 354.5 kB / 0.834 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.8437, allocations: 226.5 kB / 0.8342 GB, free: 7.328 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.003422/0.8471, allocations: 1.837 MB / 0.836 GB, free: 5.582 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.5373076768592] Failed to read output from testmodel.py, exit status != 0: 1.0272989235818386 1.043374156 0.28617673899999996 Calling exit ...