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.01582/0.01582, allocations: 1.447 MB / 20.8 MB, free: 3.594 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.008637/0.008637, allocations: 78.16 kB / 24.45 MB, free: 7.562 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.001668/0.001668, allocations: 168.7 kB / 28.2 MB, free: 4.664 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.454/1.454, allocations: 177.1 MB / 209 MB, free: 2.812 MB / 186.7 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.074/1.074, allocations: 102.5 MB / 368.4 MB, free: 1.301 MB / 330.8 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.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_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_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.193e-05, allocations: 2.312 kB / 468.3 MB, free: 13.51 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.1734/0.1734, allocations: 55.9 MB / 0.5119 GB, free: 5.566 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2058/0.3792, allocations: 12.36 MB / 0.524 GB, free: 72.58 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.3809, allocations: 52.09 kB / 0.524 GB, free: 72.58 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.3833, allocations: 0.9673 MB / 0.525 GB, free: 72.39 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.3852, allocations: 0.9153 MB / 0.5259 GB, free: 72.08 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.3884, allocations: 1.6 MB / 0.5274 GB, free: 71.73 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.391, allocations: 2.532 MB / 0.5299 GB, free: 70.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.3921, allocations: 0.895 MB / 0.5308 GB, free: 70.26 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.3934, allocations: 1.366 MB / 0.5321 GB, free: 69.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3945, allocations: 0.9236 MB / 0.533 GB, free: 69.34 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.3947, allocations: 185 kB / 0.5332 GB, free: 69.34 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09046/0.4852, allocations: 16.43 MB / 0.5492 GB, free: 60.12 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.4866, allocations: 0.6066 MB / 0.5498 GB, free: 59.77 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.4883, allocations: 0.6171 MB / 0.5504 GB, free: 59.46 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.4966, allocations: 3.371 MB / 0.5537 GB, free: 58.21 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4966, allocations: 1.828 kB / 0.5537 GB, free: 58.21 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4966, allocations: 0 / 0.5537 GB, free: 58.21 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.00012/0.4967, allocations: 0 / 0.5537 GB, free: 58.21 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.007813/0.5045, allocations: 2.921 MB / 0.5566 GB, free: 56.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5046, allocations: 9.75 kB / 0.5566 GB, free: 56.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.5059, allocations: 386 kB / 0.557 GB, free: 56.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/0.5112, allocations: 2.44 MB / 0.5593 GB, free: 55.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.5113, allocations: 86.8 kB / 0.5594 GB, free: 55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.5115, allocations: 113.4 kB / 0.5595 GB, free: 54.96 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.5159, allocations: 2.332 MB / 0.5618 GB, free: 53.34 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.5159, allocations: 17.19 kB / 0.5618 GB, free: 53.32 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.516, allocations: 52.72 kB / 0.5619 GB, free: 53.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.5161, allocations: 32.81 kB / 0.5619 GB, free: 53.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.5195, allocations: 1.413 MB / 0.5633 GB, free: 52.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007361/0.5269, allocations: 9.344 MB / 0.5724 GB, free: 44.57 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.5301, allocations: 1.298 MB / 0.5737 GB, free: 43.93 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/0.5307, allocations: 462.8 kB / 0.5741 GB, free: 43.65 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.5309, allocations: 69.34 kB / 0.5742 GB, free: 43.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/0.5335, allocations: 1.147 MB / 0.5753 GB, free: 43.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 3.577e-06/0.5335, allocations: 0 / 0.5753 GB, free: 43.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.00828/0.5418, allocations: 2.897 MB / 0.5781 GB, free: 42.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.5419, allocations: 0.6072 MB / 0.5787 GB, free: 41.29 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.5446, allocations: 1.731 MB / 0.5804 GB, free: 40.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5448, allocations: 44.36 kB / 0.5805 GB, free: 40.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.5452, allocations: 0.839 MB / 0.5813 GB, free: 39.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.5456, allocations: 0.5847 MB / 0.5819 GB, free: 38.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/0.5461, allocations: 411.3 kB / 0.5823 GB, free: 38.39 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.5461, allocations: 305.1 kB / 0.5825 GB, free: 38.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/0.547, allocations: 0.5768 MB / 0.5831 GB, free: 37.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.5481, allocations: 1.315 MB / 0.5844 GB, free: 35.85 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.5521, allocations: 2.744 MB / 0.5871 GB, free: 32.83 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.5521, allocations: 8 kB / 0.5871 GB, free: 32.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.003677/0.5558, allocations: 2.258 MB / 0.5893 GB, free: 30.55 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.5558, allocations: 41.7 kB / 0.5893 GB, free: 30.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002354/0.5582, allocations: 1.452 MB / 0.5907 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.5587, allocations: 149.3 kB / 0.5909 GB, free: 28.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5599, allocations: 475.1 kB / 0.5913 GB, free: 28.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006759/0.5606, allocations: 0.7813 MB / 0.5921 GB, free: 27.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.562, allocations: 210.5 kB / 0.5923 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.5622, allocations: 123.9 kB / 0.5924 GB, free: 27.3 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.001619/0.5638, allocations: 0.9456 MB / 0.5933 GB, free: 26.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.5649, allocations: 1.297 MB / 0.5946 GB, free: 24.73 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003685/0.5686, allocations: 2.704 MB / 0.5972 GB, free: 21.74 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.009e-05/0.5686, allocations: 8 kB / 0.5973 GB, free: 21.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00354/0.5721, allocations: 2.215 MB / 0.5994 GB, free: 19.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5721, allocations: 49.7 kB / 0.5995 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002009/0.5742, allocations: 1.379 MB / 0.6008 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.5746, allocations: 127.5 kB / 0.6009 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5758, allocations: 471.2 kB / 0.6014 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.5775, allocations: 2.042 MB / 0.6034 GB, free: 15.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.579, allocations: 174.8 kB / 0.6035 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.5792, allocations: 123.9 kB / 0.6037 GB, free: 15.04 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.0007233/0.5799, allocations: 350.7 kB / 0.604 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/0.5807, allocations: 258.5 kB / 0.6042 GB, free: 14.44 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.003166/0.5838, allocations: 1.827 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.250442701973952]