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.01044/0.01044, 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.001339/0.001339, allocations: 106.1 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.001618/0.001618, allocations: 213.7 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.438/1.438, allocations: 230.6 MB / 262.1 MB, free: 5.828 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.037/1.037, allocations: 130.7 MB / 449.7 MB, free: 6.457 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.06443/0.06443, allocations: 20.98 MB / 0.6358 GB, free: 4.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.2263, allocations: 81.9 MB / 0.7158 GB, free: 2.738 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.4784/0.7047, allocations: 42.08 MB / 0.7569 GB, free: 23.61 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.7256, allocations: 12.57 MB / 0.7692 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.7278, allocations: 49.69 kB / 0.7692 GB, free: 15.12 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003566/0.7313, allocations: 0.9656 MB / 0.7702 GB, free: 14.68 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.7345, allocations: 0.8859 MB / 0.771 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.7391, allocations: 1.582 MB / 0.7726 GB, free: 13.34 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004041/0.7432, allocations: 2.457 MB / 0.775 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.7451, allocations: 0.8631 MB / 0.7758 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.7471, allocations: 1.004 MB / 0.7768 GB, free: 11.24 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.7494, allocations: 1.077 MB / 0.7779 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.000742/0.7501, allocations: 184.9 kB / 0.778 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.7532, allocations: 0.9826 MB / 0.779 GB, free: 10.5 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.7542, allocations: 0.5928 MB / 0.7796 GB, free: 10.18 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.7562, allocations: 0.7875 MB / 0.7804 GB, free: 9.703 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006461/0.7626, allocations: 3.398 MB / 0.7837 GB, free: 7.98 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.7626, allocations: 9.141 kB / 0.7837 GB, free: 7.973 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7626, allocations: 0 / 0.7837 GB, free: 7.973 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0001194/0.7628, allocations: 0 / 0.7837 GB, free: 7.973 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.006705/0.7695, allocations: 2.954 MB / 0.7866 GB, free: 5.836 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7695, allocations: 9.438 kB / 0.7866 GB, free: 5.836 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002987/0.7698, allocations: 187.7 kB / 0.7867 GB, free: 5.688 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.7709, allocations: 302.4 kB / 0.787 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.7758, allocations: 2.372 MB / 0.7894 GB, free: 3.906 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.7759, allocations: 88.77 kB / 0.7894 GB, free: 3.863 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.7762, allocations: 116.3 kB / 0.7895 GB, free: 3.82 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004677/0.7808, allocations: 2.328 MB / 0.7918 GB, free: 1.883 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.7809, allocations: 13.69 kB / 0.7918 GB, free: 1.875 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.781, allocations: 52.41 kB / 0.7919 GB, free: 1.84 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.7811, allocations: 36.88 kB / 0.7919 GB, free: 1.84 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.7845, allocations: 1.403 MB / 0.7933 GB, free: 1.141 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.7958, allocations: 9.497 MB / 0.8026 GB, free: 8.262 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.7994, allocations: 1.303 MB / 0.8038 GB, free: 7.43 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.8003, allocations: 475.8 kB / 0.8043 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.8005, allocations: 59.56 kB / 0.8043 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002927/0.8034, allocations: 1.149 MB / 0.8055 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 7.695e-06/0.8034, allocations: 0 / 0.8055 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.00858/0.812, allocations: 2.785 MB / 0.8082 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003542/0.8123, allocations: 0.613 MB / 0.8088 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.8157, allocations: 1.793 MB / 0.8105 GB, free: 1.027 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.8159, allocations: 45.7 kB / 0.8106 GB, free: 0.9766 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.8167, allocations: 0.8394 MB / 0.8114 GB, free: 128 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006686/0.8173, allocations: 0.5888 MB / 0.812 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.818, allocations: 415.3 kB / 0.8124 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8181, allocations: 309.7 kB / 0.8127 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.8192, allocations: 0.5729 MB / 0.8132 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.8209, allocations: 1.316 MB / 0.8145 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.8258, allocations: 2.747 MB / 0.8172 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/0.8258, allocations: 8 kB / 0.8172 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004257/0.8301, allocations: 2.185 MB / 0.8193 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.8301, allocations: 49.69 kB / 0.8194 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002781/0.8329, allocations: 1.444 MB / 0.8208 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/0.8334, allocations: 155.2 kB / 0.8209 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8348, allocations: 471.2 kB / 0.8214 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000911/0.8357, allocations: 0.7677 MB / 0.8221 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.8371, allocations: 229 kB / 0.8224 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.8374, allocations: 119.9 kB / 0.8225 GB, free: 4.105 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.001914/0.8393, allocations: 0.9455 MB / 0.8234 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001629/0.8409, allocations: 1.305 MB / 0.8247 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004691/0.8456, allocations: 2.706 MB / 0.8273 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.158e-05/0.8456, allocations: 6.688 kB / 0.8273 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004211/0.8498, allocations: 2.146 MB / 0.8294 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.8499, allocations: 49.7 kB / 0.8295 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002472/0.8524, allocations: 1.362 MB / 0.8308 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.8527, allocations: 124.7 kB / 0.8309 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8541, allocations: 477.8 kB / 0.8314 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.8564, allocations: 2.056 MB / 0.8334 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.858, allocations: 170.9 kB / 0.8335 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.8582, allocations: 123.9 kB / 0.8337 GB, free: 7.91 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.0006519/0.8588, allocations: 355 kB / 0.834 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/0.8595, allocations: 230.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.003486/0.863, allocations: 1.839 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.617196683306247] Failed to read output from testmodel.py, exit status != 0: 1.039541990030557 1.055718084 0.289777983 Calling exit ...