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.01138/0.01138, allocations: 1.798 MB / 21.36 MB, free: 3.195 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.0007948/0.0007948, allocations: 88.3 kB / 25.15 MB, free: 6.379 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.000872/0.000872, allocations: 165.8 kB / 29.06 MB, free: 3.375 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.9212/0.9212, allocations: 177.1 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6086/0.6086, allocations: 102.5 MB / 369.5 MB, free: 400 kB / 330.7 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 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_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 1.293e-06/1.293e-06, allocations: 0 / 470 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.335e-05, allocations: 7.672 kB / 470 MB, free: 19.03 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.1032/0.1032, allocations: 59.14 MB / 0.5167 GB, free: 12.8 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1155, allocations: 12.94 MB / 0.5294 GB, free: 15.82 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.1162, allocations: 47.62 kB / 0.5294 GB, free: 15.77 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.1178, allocations: 0.9709 MB / 0.5303 GB, free: 14.79 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009675/0.1188, allocations: 0.912 MB / 0.5312 GB, free: 13.88 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.1208, allocations: 1.604 MB / 0.5328 GB, free: 12.27 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1223, allocations: 2.536 MB / 0.5353 GB, free: 9.73 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.123, allocations: 0.8963 MB / 0.5362 GB, free: 8.805 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008901/0.1239, allocations: 1.372 MB / 0.5375 GB, free: 7.43 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.1246, allocations: 0.9137 MB / 0.5384 GB, free: 6.516 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1248, allocations: 184 kB / 0.5386 GB, free: 6.336 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.126, allocations: 1.002 MB / 0.5395 GB, free: 5.332 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.1263, allocations: 0.5994 MB / 0.5401 GB, free: 4.73 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.1267, allocations: 0.6232 MB / 0.5407 GB, free: 4.105 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.1286, allocations: 2.452 MB / 0.5431 GB, free: 1.645 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1286, allocations: 0 / 0.5431 GB, free: 1.645 MB / 458.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1286, allocations: 3.938 kB / 0.5431 GB, free: 1.641 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1286, allocations: 0 / 0.5431 GB, free: 1.641 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.002795/0.1314, allocations: 3.119 MB / 0.5462 GB, free: 14.46 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1314, allocations: 8.031 kB / 0.5462 GB, free: 14.45 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.1319, allocations: 391.2 kB / 0.5466 GB, free: 14.07 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.1341, allocations: 2.152 MB / 0.5487 GB, free: 11.88 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.1341, allocations: 86.52 kB / 0.5487 GB, free: 11.79 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1342, allocations: 116.4 kB / 0.5489 GB, free: 11.68 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.1364, allocations: 2.271 MB / 0.5511 GB, free: 8.93 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1364, allocations: 11.88 kB / 0.5511 GB, free: 8.918 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.1365, allocations: 56 kB / 0.5511 GB, free: 8.863 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1365, allocations: 32 kB / 0.5512 GB, free: 8.832 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1381, allocations: 1.011 MB / 0.5522 GB, free: 7.812 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.1439, allocations: 13.17 MB / 0.565 GB, free: 10.16 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.1455, allocations: 1.083 MB / 0.5661 GB, free: 8.93 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.1458, allocations: 337.4 kB / 0.5664 GB, free: 8.547 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1459, allocations: 64.62 kB / 0.5665 GB, free: 8.484 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.1476, allocations: 0.9993 MB / 0.5674 GB, free: 7.383 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 2.715e-06/0.1476, allocations: 0 / 0.5674 GB, free: 7.383 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.003924/0.1515, allocations: 2.29 MB / 0.5697 GB, free: 5.062 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.1517, allocations: 0.6052 MB / 0.5703 GB, free: 4.316 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.153, allocations: 1.65 MB / 0.5719 GB, free: 2.609 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.153, allocations: 41.7 kB / 0.5719 GB, free: 2.562 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.1535, allocations: 0.9286 MB / 0.5728 GB, free: 1.625 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.1538, allocations: 0.5968 MB / 0.5734 GB, free: 1.023 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/0.1544, allocations: 441 kB / 0.5738 GB, free: 0.5859 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.1545, allocations: 476.8 kB / 0.5743 GB, free: 120 kB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.1549, allocations: 329.7 kB / 0.5746 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.1558, allocations: 1.337 MB / 0.5759 GB, free: 14 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.1574, allocations: 1.964 MB / 0.5778 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1574, allocations: 4 kB / 0.5778 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002234/0.1597, allocations: 1.745 MB / 0.5795 GB, free: 9.84 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.1597, allocations: 41.7 kB / 0.5796 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001498/0.1612, allocations: 0.9887 MB / 0.5805 GB, free: 8.789 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.1615, allocations: 123.7 kB / 0.5807 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.1622, allocations: 479.1 kB / 0.5811 GB, free: 8.195 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004345/0.1626, allocations: 0.9365 MB / 0.582 GB, free: 7.227 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1631, allocations: 210.5 kB / 0.5822 GB, free: 7.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.1632, allocations: 123.9 kB / 0.5823 GB, free: 6.898 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.000663/0.1639, allocations: 472.5 kB / 0.5828 GB, free: 6.426 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008485/0.1647, allocations: 1.337 MB / 0.5841 GB, free: 4.648 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00163/0.1664, allocations: 1.949 MB / 0.586 GB, free: 2.277 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.585e-06/0.1664, allocations: 8 kB / 0.586 GB, free: 2.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002146/0.1685, allocations: 1.736 MB / 0.5877 GB, free: 0.5078 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.1685, allocations: 49.69 kB / 0.5878 GB, free: 464 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001152/0.1697, allocations: 0.9466 MB / 0.5887 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.1699, allocations: 115.5 kB / 0.5888 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.1706, allocations: 471.5 kB / 0.5892 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1719, allocations: 2.426 MB / 0.5916 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.1723, allocations: 174.9 kB / 0.5918 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.1724, allocations: 123.9 kB / 0.5919 GB, free: 12.07 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.0002679/0.1727, allocations: 447.9 kB / 0.5923 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.1729, allocations: 246.7 kB / 0.5926 GB, free: 11.38 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.00189/0.1748, allocations: 1.682 MB / 0.5942 GB, free: 9.66 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 2.8981597763486207]