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.01046/0.01046, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0006674/0.0006674, allocations: 84.91 kB / 25.4 MB, free: 7 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.0008103/0.0008103, allocations: 156.3 kB / 29.33 MB, free: 3.137 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.8993/0.8993, allocations: 177.1 MB / 210.3 MB, free: 3.473 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.615/0.615, allocations: 102.5 MB / 369.9 MB, free: 272 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 2.004e-06/2.004e-06, allocations: 0 / 470.4 MB, free: 18.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.434e-05, allocations: 6.266 kB / 470.4 MB, free: 18.89 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.1134/0.1134, allocations: 58.96 MB / 0.517 GB, free: 12.72 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.1273, allocations: 12.87 MB / 0.5296 GB, free: 15.81 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1284, allocations: 47.69 kB / 0.5296 GB, free: 15.76 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.1303, allocations: 0.9746 MB / 0.5306 GB, free: 14.79 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.1319, allocations: 0.9236 MB / 0.5315 GB, free: 13.86 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.1347, allocations: 1.612 MB / 0.5331 GB, free: 12.24 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1377, allocations: 2.525 MB / 0.5355 GB, free: 9.707 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1387, allocations: 0.9001 MB / 0.5364 GB, free: 8.777 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1243/0.263, allocations: 46.55 MB / 0.5819 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.2642, allocations: 0.7826 MB / 0.5826 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.2645, allocations: 136 kB / 0.5827 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.2658, allocations: 0.8222 MB / 0.5836 GB, free: 9.652 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.000588/0.2664, allocations: 0.5058 MB / 0.584 GB, free: 9.145 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.2669, allocations: 0.5374 MB / 0.5846 GB, free: 8.605 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.2696, allocations: 2.203 MB / 0.5867 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2696, allocations: 0 / 0.5867 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2696, allocations: 8 kB / 0.5867 GB, free: 6.387 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.2696, allocations: 0 / 0.5867 GB, free: 6.387 MB / 0.4949 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.002358/0.272, allocations: 2.908 MB / 0.5896 GB, free: 3.414 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.272, allocations: 8.031 kB / 0.5896 GB, free: 3.406 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.2723, allocations: 339.3 kB / 0.5899 GB, free: 3.074 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2736, allocations: 1.329 MB / 0.5912 GB, free: 1.703 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/0.2736, allocations: 82.52 kB / 0.5913 GB, free: 1.621 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.2737, allocations: 112.4 kB / 0.5914 GB, free: 1.512 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.2759, allocations: 2.189 MB / 0.5935 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.2759, allocations: 11.88 kB / 0.5935 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.276, allocations: 59.94 kB / 0.5936 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.276, allocations: 32 kB / 0.5936 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2775, allocations: 0.9079 MB / 0.5945 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.2837, allocations: 12.89 MB / 0.6071 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.2853, allocations: 1.032 MB / 0.6081 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.2856, allocations: 301.4 kB / 0.6084 GB, free: 14.94 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.2857, allocations: 96.27 kB / 0.6085 GB, free: 14.85 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.287, allocations: 0.9756 MB / 0.6094 GB, free: 13.77 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 4.278e-06/0.287, allocations: 0 / 0.6094 GB, free: 13.77 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.004047/0.2911, allocations: 2.177 MB / 0.6116 GB, free: 11.56 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.2912, allocations: 0.6554 MB / 0.6122 GB, free: 10.75 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.2925, allocations: 1.602 MB / 0.6138 GB, free: 9.094 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.2926, allocations: 45.7 kB / 0.6138 GB, free: 9.043 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.2931, allocations: 0.9518 MB / 0.6147 GB, free: 8.082 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.2934, allocations: 0.6002 MB / 0.6153 GB, free: 7.477 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.2938, allocations: 440.9 kB / 0.6157 GB, free: 7.039 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2939, allocations: 480.7 kB / 0.6162 GB, free: 6.566 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.2942, allocations: 273.7 kB / 0.6165 GB, free: 6.285 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/0.295, allocations: 1.351 MB / 0.6178 GB, free: 4.469 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.2966, allocations: 1.835 MB / 0.6196 GB, free: 2.215 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.2966, allocations: 8 kB / 0.6196 GB, free: 2.207 MB / 0.5262 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.001788/0.2984, allocations: 1.608 MB / 0.6212 GB, free: 0.5703 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.2984, allocations: 50.5 kB / 0.6212 GB, free: 0.5156 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001042/0.2995, allocations: 0.9105 MB / 0.6221 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.2997, allocations: 107.6 kB / 0.6222 GB, free: 15.48 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.3004, allocations: 475.1 kB / 0.6226 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/0.3009, allocations: 0.9404 MB / 0.6236 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.3015, allocations: 206.5 kB / 0.6238 GB, free: 13.84 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3016, allocations: 111.9 kB / 0.6239 GB, free: 13.73 MB / 0.5418 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.0006147/0.3022, allocations: 420.4 kB / 0.6243 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009862/0.3032, allocations: 1.351 MB / 0.6256 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.3045, allocations: 1.824 MB / 0.6274 GB, free: 9.246 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.3045, allocations: 8 kB / 0.6274 GB, free: 9.238 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.001726/0.3062, allocations: 1.62 MB / 0.629 GB, free: 7.594 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.3062, allocations: 49.69 kB / 0.629 GB, free: 7.539 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009073/0.3072, allocations: 0.8637 MB / 0.6299 GB, free: 6.656 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.3074, allocations: 107.8 kB / 0.63 GB, free: 6.547 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.3081, allocations: 479.2 kB / 0.6304 GB, free: 6.078 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3096, allocations: 2.369 MB / 0.6327 GB, free: 3.598 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.3103, allocations: 174.9 kB / 0.6329 GB, free: 3.426 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.3104, allocations: 103.9 kB / 0.633 GB, free: 3.324 MB / 0.5418 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.000421/0.3108, allocations: 441 kB / 0.6334 GB, free: 2.879 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.3111, allocations: 250.5 kB / 0.6336 GB, free: 2.633 MB / 0.5418 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.001707/0.3128, allocations: 1.646 MB / 0.6353 GB, free: 0.9492 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0301775401458144]