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.01204/0.01204, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.007925/0.007925, allocations: 75.59 kB / 24.44 MB, free: 7.531 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.001563/0.001563, allocations: 155.9 kB / 28.19 MB, free: 4.672 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 1.446/1.446, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 MB " [Timeout remaining time 178] 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 1.086/1.086, allocations: 102.5 MB / 368.3 MB, free: 1.25 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 0.5.2 (/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 2.535e-06/2.535e-06, allocations: 0 / 468.3 MB, free: 13.45 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.147e-05/4.4e-05, allocations: 7.234 kB / 468.3 MB, free: 13.45 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.1809/0.181, allocations: 55.91 MB / 0.5119 GB, free: 5.539 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3894, allocations: 12.36 MB / 0.524 GB, free: 72.7 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.3905, allocations: 50.53 kB / 0.524 GB, free: 72.7 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.3927, allocations: 0.9686 MB / 0.525 GB, free: 72.51 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.3942, allocations: 0.9049 MB / 0.5259 GB, free: 72.19 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.3973, allocations: 1.605 MB / 0.5274 GB, free: 71.84 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.3996, allocations: 2.536 MB / 0.5299 GB, free: 70.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008702/0.4005, allocations: 0.885 MB / 0.5308 GB, free: 70.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.4016, allocations: 1.371 MB / 0.5321 GB, free: 69.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.4026, allocations: 0.916 MB / 0.533 GB, free: 69.37 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.4028, allocations: 188.3 kB / 0.5332 GB, free: 69.37 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08798/0.4908, allocations: 16.42 MB / 0.5492 GB, free: 60.18 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009163/0.4917, allocations: 0.6057 MB / 0.5498 GB, free: 59.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.4928, allocations: 0.6172 MB / 0.5504 GB, free: 59.52 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005675/0.4984, allocations: 3.37 MB / 0.5537 GB, free: 58.26 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4984, allocations: 0.8906 kB / 0.5537 GB, free: 58.26 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4984, allocations: 0 / 0.5537 GB, free: 58.26 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.4985, allocations: 1.781 kB / 0.5537 GB, free: 58.26 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.004737/0.5032, allocations: 2.916 MB / 0.5566 GB, free: 56.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5033, allocations: 9.625 kB / 0.5566 GB, free: 56.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/0.5042, allocations: 388.9 kB / 0.557 GB, free: 56.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/0.5083, allocations: 2.445 MB / 0.5593 GB, free: 55.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/0.5084, allocations: 83.44 kB / 0.5594 GB, free: 55.05 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.5086, allocations: 114 kB / 0.5595 GB, free: 55.02 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/0.5126, allocations: 2.331 MB / 0.5618 GB, free: 53.39 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.5126, allocations: 17.16 kB / 0.5618 GB, free: 53.38 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5127, allocations: 50.89 kB / 0.5619 GB, free: 53.34 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.5128, allocations: 37.59 kB / 0.5619 GB, free: 53.34 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.516, allocations: 1.406 MB / 0.5633 GB, free: 52.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006429/0.5225, allocations: 9.346 MB / 0.5724 GB, free: 44.63 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.5255, allocations: 1.292 MB / 0.5737 GB, free: 43.98 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.5261, allocations: 471.9 kB / 0.5741 GB, free: 43.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.5263, allocations: 64.58 kB / 0.5742 GB, free: 43.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002521/0.5288, allocations: 1.15 MB / 0.5753 GB, free: 43.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 3.817e-06/0.5288, allocations: 0 / 0.5753 GB, free: 43.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.007795/0.5366, allocations: 2.891 MB / 0.5781 GB, free: 42.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.5367, allocations: 0.6064 MB / 0.5787 GB, free: 41.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.539, allocations: 1.733 MB / 0.5804 GB, free: 40.29 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5391, allocations: 49.69 kB / 0.5805 GB, free: 40.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.5396, allocations: 0.8377 MB / 0.5813 GB, free: 39.39 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.5399, allocations: 0.5847 MB / 0.5818 GB, free: 38.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.5404, allocations: 411.3 kB / 0.5822 GB, free: 38.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.5405, allocations: 301.1 kB / 0.5825 GB, free: 38.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008249/0.5413, allocations: 0.5807 MB / 0.5831 GB, free: 37.51 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5424, allocations: 1.312 MB / 0.5844 GB, free: 35.86 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.5462, allocations: 2.756 MB / 0.5871 GB, free: 32.83 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5462, allocations: 11.94 kB / 0.5871 GB, free: 32.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.003444/0.5497, allocations: 2.25 MB / 0.5893 GB, free: 30.56 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.5497, allocations: 45.69 kB / 0.5893 GB, free: 30.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002227/0.5519, allocations: 1.445 MB / 0.5907 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/0.5524, allocations: 155.5 kB / 0.5909 GB, free: 28.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5535, allocations: 471.2 kB / 0.5913 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006246/0.5542, allocations: 0.7813 MB / 0.5921 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5555, allocations: 206.5 kB / 0.5923 GB, free: 27.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.5556, allocations: 123.9 kB / 0.5924 GB, free: 27.32 MB / 490.8 MB 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.001543/0.5572, allocations: 0.9471 MB / 0.5933 GB, free: 26.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.5582, allocations: 1.303 MB / 0.5946 GB, free: 24.73 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00357/0.5618, allocations: 2.697 MB / 0.5972 GB, free: 21.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/0.5618, allocations: 8 kB / 0.5972 GB, free: 21.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.003315/0.5651, allocations: 2.219 MB / 0.5994 GB, free: 19.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.5652, allocations: 53.69 kB / 0.5995 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001975/0.5671, allocations: 1.357 MB / 0.6008 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.5675, allocations: 139.3 kB / 0.6009 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5686, allocations: 473.8 kB / 0.6014 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.5702, allocations: 2.039 MB / 0.6034 GB, free: 15.35 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5715, allocations: 174.8 kB / 0.6035 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.5717, allocations: 123.9 kB / 0.6036 GB, free: 15.05 MB / 490.8 MB 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.0004935/0.5721, allocations: 351.8 kB / 0.604 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.5726, allocations: 250.5 kB / 0.6042 GB, free: 14.45 MB / 490.8 MB 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.002716/0.5753, allocations: 1.839 MB / 0.606 GB, free: 12.69 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.186214611981995]