Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008877/0.008877, allocations: 1.777 MB / 22.36 MB, free: 2.117 MB / 18.57 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.001099/0.001099, allocations: 79.45 kB / 26.19 MB, free: 6.078 MB / 18.57 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.001292/0.001292, allocations: 175 kB / 30.13 MB, free: 2.184 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 211.1 MB, free: 2.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.833/0.833, allocations: 102.4 MB / 370.6 MB, free: 0.7656 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID") translateModel(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 471.2 MB, free: 12.33 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.242e-05, allocations: 2.312 kB / 471.2 MB, free: 12.32 MB / 442.8 MB 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.1072/0.1072, allocations: 58.95 MB / 0.5177 GB, free: 1.359 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2079/0.3151, allocations: 12.87 MB / 0.5303 GB, free: 70.82 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.3165, allocations: 49.78 kB / 0.5304 GB, free: 70.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.3185, allocations: 0.9726 MB / 0.5313 GB, free: 70.34 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3201, allocations: 0.9174 MB / 0.5322 GB, free: 69.77 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.3229, allocations: 1.615 MB / 0.5338 GB, free: 68.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.3254, allocations: 2.537 MB / 0.5363 GB, free: 67.66 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.3263, allocations: 0.8927 MB / 0.5371 GB, free: 67.08 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1112/0.4375, allocations: 46.53 MB / 0.5826 GB, free: 36.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.4393, allocations: 0.7909 MB / 0.5833 GB, free: 36.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.4397, allocations: 141 kB / 0.5835 GB, free: 36.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.4418, allocations: 0.8159 MB / 0.5843 GB, free: 36.33 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004852/0.4423, allocations: 0.5015 MB / 0.5848 GB, free: 36.03 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4433, allocations: 0.5325 MB / 0.5853 GB, free: 35.78 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.4475, allocations: 2.215 MB / 0.5875 GB, free: 34.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4475, allocations: 0.6094 kB / 0.5875 GB, free: 34.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4475, allocations: 0 / 0.5875 GB, free: 34.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.829e-05/0.4476, allocations: 2.656 kB / 0.5875 GB, free: 34.81 MB / 490.8 MB 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.003515/0.4511, allocations: 2.907 MB / 0.5903 GB, free: 32.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4511, allocations: 13.69 kB / 0.5903 GB, free: 32.85 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.4516, allocations: 332.5 kB / 0.5906 GB, free: 32.57 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.453, allocations: 1.325 MB / 0.5919 GB, free: 31.4 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.453, allocations: 85.2 kB / 0.592 GB, free: 31.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.4531, allocations: 116.3 kB / 0.5921 GB, free: 31.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.4551, allocations: 2.19 MB / 0.5942 GB, free: 28.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4551, allocations: 15.81 kB / 0.5943 GB, free: 28.82 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.4552, allocations: 56 kB / 0.5943 GB, free: 28.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4552, allocations: 32 kB / 0.5943 GB, free: 28.74 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4566, allocations: 0.9105 MB / 0.5952 GB, free: 28.06 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.4607, allocations: 12.88 MB / 0.6078 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.4621, allocations: 1.041 MB / 0.6088 GB, free: 13.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4623, allocations: 301.3 kB / 0.6091 GB, free: 13.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.4624, allocations: 71.19 kB / 0.6092 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.4636, allocations: 0.9602 MB / 0.6101 GB, free: 12.15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 2.975e-06/0.4636, allocations: 0 / 0.6101 GB, free: 12.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.003544/0.4671, allocations: 2.178 MB / 0.6123 GB, free: 9.965 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.4672, allocations: 0.6554 MB / 0.6129 GB, free: 9.152 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4683, allocations: 1.594 MB / 0.6145 GB, free: 7.5 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.4683, allocations: 45.7 kB / 0.6145 GB, free: 7.449 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.4687, allocations: 0.9583 MB / 0.6154 GB, free: 6.484 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.469, allocations: 0.5963 MB / 0.616 GB, free: 5.883 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.4693, allocations: 448.9 kB / 0.6164 GB, free: 5.438 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.4693, allocations: 476.8 kB / 0.6169 GB, free: 4.969 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.4696, allocations: 273.7 kB / 0.6172 GB, free: 4.688 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.4702, allocations: 1.359 MB / 0.6185 GB, free: 2.859 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.4713, allocations: 1.831 MB / 0.6203 GB, free: 0.6406 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4713, allocations: 4 kB / 0.6203 GB, free: 0.6367 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.001759/0.4731, allocations: 1.612 MB / 0.6219 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.4731, allocations: 45.61 kB / 0.6219 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001073/0.4742, allocations: 0.8984 MB / 0.6228 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.4745, allocations: 108.5 kB / 0.6229 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.4752, allocations: 471.5 kB / 0.6233 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004635/0.4756, allocations: 0.9456 MB / 0.6242 GB, free: 12.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.4764, allocations: 218.4 kB / 0.6245 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4765, allocations: 103.9 kB / 0.6246 GB, free: 12.2 MB / 0.4949 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.0007587/0.4772, allocations: 416.5 kB / 0.625 GB, free: 11.78 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008119/0.478, allocations: 1.355 MB / 0.6263 GB, free: 9.961 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001437/0.4795, allocations: 1.828 MB / 0.6281 GB, free: 7.738 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.014e-05/0.4795, allocations: 8 kB / 0.6281 GB, free: 7.73 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.001952/0.4814, allocations: 1.612 MB / 0.6296 GB, free: 6.109 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.4815, allocations: 49.69 kB / 0.6297 GB, free: 6.055 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009669/0.4824, allocations: 0.8559 MB / 0.6305 GB, free: 5.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.4827, allocations: 110.2 kB / 0.6306 GB, free: 5.07 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.4834, allocations: 471.2 kB / 0.6311 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.4848, allocations: 2.377 MB / 0.6334 GB, free: 2.125 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.4856, allocations: 166.9 kB / 0.6336 GB, free: 1.961 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4857, allocations: 111.9 kB / 0.6337 GB, free: 1.852 MB / 0.4949 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.0004748/0.4861, allocations: 445.1 kB / 0.6341 GB, free: 1.402 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.4865, allocations: 257.1 kB / 0.6343 GB, free: 1.152 MB / 0.4949 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.001854/0.4883, allocations: 1.645 MB / 0.6359 GB, free: 15.5 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1324280533008277]