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.009424/0.009424, allocations: 1.439 MB / 21.29 MB, free: 3.262 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.0006426/0.0006426, allocations: 89.97 kB / 24.9 MB, free: 7.266 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.000735/0.000735, allocations: 160.9 kB / 28.62 MB, free: 4.457 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.8856/0.8856, allocations: 177.2 MB / 209.4 MB, free: 2.984 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.7538/0.7538, allocations: 102.4 MB / 368.7 MB, free: 1.438 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 1.533e-06/1.533e-06, allocations: 0 / 0.5374 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.943e-05, allocations: 5.797 kB / 0.5374 GB, free: 39.83 MB / 490.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.1135/0.1135, allocations: 55.7 MB / 0.5918 GB, free: 4.328 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1272, allocations: 12.36 MB / 0.6039 GB, free: 7.926 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.1287, allocations: 47.62 kB / 0.6039 GB, free: 7.879 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.1308, allocations: 0.9669 MB / 0.6049 GB, free: 6.906 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1326, allocations: 0.9082 MB / 0.6057 GB, free: 5.992 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.1354, allocations: 1.612 MB / 0.6073 GB, free: 4.375 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.138, allocations: 2.532 MB / 0.6098 GB, free: 1.832 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1392, allocations: 0.8528 MB / 0.6106 GB, free: 0.9492 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1408, allocations: 1.372 MB / 0.612 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1419, allocations: 0.9175 MB / 0.6129 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.1422, allocations: 184 kB / 0.613 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.1439, allocations: 0.99 MB / 0.614 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.1442, allocations: 0.6033 MB / 0.6146 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.145, allocations: 0.6232 MB / 0.6152 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.1486, allocations: 3.364 MB / 0.6185 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1486, allocations: 0 / 0.6185 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1486, allocations: 0 / 0.6185 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.741e-05/0.1486, allocations: 3.938 kB / 0.6185 GB, free: 8.875 MB / 0.5105 GB 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.003636/0.1523, allocations: 2.923 MB / 0.6213 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1523, allocations: 12.03 kB / 0.6214 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.1528, allocations: 307.1 kB / 0.6216 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.1557, allocations: 2.362 MB / 0.624 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.1558, allocations: 86.52 kB / 0.624 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1559, allocations: 108.4 kB / 0.6241 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.1585, allocations: 2.327 MB / 0.6264 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.1585, allocations: 11.88 kB / 0.6264 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.1586, allocations: 56 kB / 0.6265 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1586, allocations: 32 kB / 0.6265 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1607, allocations: 1.41 MB / 0.6279 GB, free: 14.77 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/0.1663, allocations: 9.309 MB / 0.637 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.1682, allocations: 1.3 MB / 0.6382 GB, free: 3.684 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.1687, allocations: 476.6 kB / 0.6387 GB, free: 3.184 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1689, allocations: 60.56 kB / 0.6388 GB, free: 3.125 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.1705, allocations: 1.151 MB / 0.6399 GB, free: 1.895 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 3.346e-06/0.1705, allocations: 0 / 0.6399 GB, free: 1.895 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.00519/0.1757, allocations: 2.779 MB / 0.6426 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.1759, allocations: 0.613 MB / 0.6432 GB, free: 14.34 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.1777, allocations: 1.724 MB / 0.6449 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.1777, allocations: 45.7 kB / 0.6449 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.1783, allocations: 0.839 MB / 0.6457 GB, free: 11.66 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.1787, allocations: 0.5852 MB / 0.6463 GB, free: 11.07 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.1791, allocations: 411.3 kB / 0.6467 GB, free: 10.67 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.1791, allocations: 313.1 kB / 0.647 GB, free: 10.36 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.1799, allocations: 0.5768 MB / 0.6476 GB, free: 9.77 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.1809, allocations: 1.309 MB / 0.6488 GB, free: 8.129 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.1842, allocations: 2.757 MB / 0.6515 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1842, allocations: 4 kB / 0.6515 GB, free: 5.047 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002588/0.1868, allocations: 2.175 MB / 0.6537 GB, free: 2.848 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.1869, allocations: 46.61 kB / 0.6537 GB, free: 2.797 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001721/0.1886, allocations: 1.454 MB / 0.6551 GB, free: 1.324 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.1889, allocations: 152.8 kB / 0.6553 GB, free: 1.172 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.1897, allocations: 475.5 kB / 0.6557 GB, free: 0.707 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007948/0.1905, allocations: 0.767 MB / 0.6565 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.1912, allocations: 218.5 kB / 0.6567 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.1913, allocations: 123.9 kB / 0.6568 GB, free: 15.57 MB / 0.5574 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.001253/0.1926, allocations: 0.943 MB / 0.6577 GB, free: 14.62 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009696/0.1935, allocations: 1.297 MB / 0.659 GB, free: 13 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002844/0.1964, allocations: 2.709 MB / 0.6616 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.869e-06/0.1964, allocations: 8 kB / 0.6616 GB, free: 9.965 MB / 0.5574 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002702/0.1991, allocations: 2.156 MB / 0.6638 GB, free: 7.785 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.1991, allocations: 48.05 kB / 0.6638 GB, free: 7.734 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001544/0.2007, allocations: 1.365 MB / 0.6651 GB, free: 6.359 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.2009, allocations: 120.8 kB / 0.6652 GB, free: 6.238 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.2016, allocations: 471.2 kB / 0.6657 GB, free: 5.777 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.2031, allocations: 2.028 MB / 0.6677 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.2038, allocations: 175.1 kB / 0.6678 GB, free: 3.473 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.204, allocations: 127.9 kB / 0.668 GB, free: 3.348 MB / 0.5574 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.0004757/0.2044, allocations: 349.8 kB / 0.6683 GB, free: 2.992 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.2047, allocations: 218.5 kB / 0.6685 GB, free: 2.777 MB / 0.5574 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.002299/0.207, allocations: 1.829 MB / 0.6703 GB, free: 0.918 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.3598193377256393] Failed to read output from testmodel.py, exit status != 0: 0.37787197530269623 0.640763858 0.49013866700000003 Calling exit ...