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.00858/0.00858, allocations: 1.791 MB / 21.89 MB, free: 2.633 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.0009542/0.0009542, allocations: 84.61 kB / 25.62 MB, free: 6.457 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.001002/0.001002, allocations: 172.8 kB / 29.47 MB, free: 3.004 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.949/0.949, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6235/0.6235, allocations: 102.4 MB / 369.8 MB, free: 288 kB / 330.7 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.292e-06/1.292e-06, allocations: 0 / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.142e-05, allocations: 4.766 kB / 469.9 MB, free: 19.05 MB / 410.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.1199/0.12, allocations: 59.06 MB / 0.5165 GB, free: 13.23 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1331, allocations: 12.92 MB / 0.5292 GB, free: 284 kB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1344, allocations: 51.62 kB / 0.5292 GB, free: 232 kB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.1364, allocations: 0.967 MB / 0.5301 GB, free: 15.25 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.1379, allocations: 0.912 MB / 0.531 GB, free: 14.34 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.1404, allocations: 1.604 MB / 0.5326 GB, free: 12.73 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1425, allocations: 2.537 MB / 0.5351 GB, free: 10.19 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/0.1433, allocations: 0.8924 MB / 0.536 GB, free: 9.266 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009216/0.1443, allocations: 1.368 MB / 0.5373 GB, free: 7.895 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.145, allocations: 0.919 MB / 0.5382 GB, free: 6.973 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1451, allocations: 192 kB / 0.5384 GB, free: 6.785 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1463, allocations: 0.9899 MB / 0.5393 GB, free: 5.793 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1466, allocations: 0.6072 MB / 0.5399 GB, free: 5.184 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.1471, allocations: 0.6193 MB / 0.5405 GB, free: 4.562 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1491, allocations: 2.452 MB / 0.5429 GB, free: 2.102 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1491, allocations: 3.938 kB / 0.5429 GB, free: 2.098 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1491, allocations: 0 / 0.5429 GB, free: 2.098 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1491, allocations: 0 / 0.5429 GB, free: 2.098 MB / 458.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.002534/0.1516, allocations: 3.119 MB / 0.546 GB, free: 14.91 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1517, allocations: 12.03 kB / 0.546 GB, free: 14.9 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.1522, allocations: 391.2 kB / 0.5464 GB, free: 14.52 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.1543, allocations: 2.137 MB / 0.5484 GB, free: 12.34 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.1544, allocations: 86.52 kB / 0.5485 GB, free: 12.26 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1545, allocations: 124.4 kB / 0.5486 GB, free: 12.14 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.1568, allocations: 2.252 MB / 0.5508 GB, free: 9.406 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.1569, allocations: 15.88 kB / 0.5509 GB, free: 9.391 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.1569, allocations: 52 kB / 0.5509 GB, free: 9.34 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1569, allocations: 39.98 kB / 0.551 GB, free: 9.301 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1587, allocations: 1.015 MB / 0.5519 GB, free: 8.277 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.1641, allocations: 13.16 MB / 0.5648 GB, free: 10.64 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1658, allocations: 1.098 MB / 0.5659 GB, free: 9.398 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.1661, allocations: 343.5 kB / 0.5662 GB, free: 9.012 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1662, allocations: 60.62 kB / 0.5662 GB, free: 8.953 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.1677, allocations: 0.9955 MB / 0.5672 GB, free: 7.855 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 3.126e-06/0.1677, allocations: 4 kB / 0.5672 GB, free: 7.852 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.004107/0.1718, allocations: 2.281 MB / 0.5695 GB, free: 5.539 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.1719, allocations: 0.6091 MB / 0.57 GB, free: 4.789 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.1734, allocations: 1.65 MB / 0.5717 GB, free: 3.082 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.1734, allocations: 46.17 kB / 0.5717 GB, free: 3.031 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.1739, allocations: 0.9325 MB / 0.5726 GB, free: 2.09 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.1742, allocations: 0.5964 MB / 0.5732 GB, free: 1.488 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.1746, allocations: 437.1 kB / 0.5736 GB, free: 1.055 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.1746, allocations: 476.8 kB / 0.5741 GB, free: 0.5859 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1751, allocations: 334.4 kB / 0.5744 GB, free: 252 kB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.176, allocations: 1.333 MB / 0.5757 GB, free: 14.47 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.1779, allocations: 1.965 MB / 0.5776 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.1779, allocations: 8 kB / 0.5776 GB, free: 12.08 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002022/0.1799, allocations: 1.733 MB / 0.5793 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1799, allocations: 45.69 kB / 0.5793 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001325/0.1813, allocations: 0.9848 MB / 0.5803 GB, free: 9.266 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.1816, allocations: 127.9 kB / 0.5804 GB, free: 9.137 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.1823, allocations: 471.2 kB / 0.5809 GB, free: 8.676 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004641/0.1828, allocations: 0.9404 MB / 0.5818 GB, free: 7.703 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.1832, allocations: 210.5 kB / 0.582 GB, free: 7.496 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.1834, allocations: 123.9 kB / 0.5821 GB, free: 7.375 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.0007261/0.1841, allocations: 472.5 kB / 0.5826 GB, free: 6.902 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009488/0.185, allocations: 1.333 MB / 0.5839 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001734/0.1868, allocations: 1.949 MB / 0.5858 GB, free: 2.758 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.1868, allocations: 8 kB / 0.5858 GB, free: 2.75 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002015/0.1888, allocations: 1.741 MB / 0.5875 GB, free: 0.9844 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1888, allocations: 45.7 kB / 0.5875 GB, free: 0.9336 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001222/0.1901, allocations: 0.9459 MB / 0.5885 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.1903, allocations: 111.6 kB / 0.5886 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.191, allocations: 479.2 kB / 0.589 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1924, allocations: 2.43 MB / 0.5914 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.1929, allocations: 174.9 kB / 0.5916 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.193, allocations: 124 kB / 0.5917 GB, free: 12.55 MB / 0.5105 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.0003405/0.1933, allocations: 440.9 kB / 0.5921 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.1936, allocations: 250.6 kB / 0.5923 GB, free: 11.86 MB / 0.5105 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.001793/0.1954, allocations: 1.677 MB / 0.594 GB, free: 10.14 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0024525951594114]