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.008011/0.008011, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001364/0.001364, allocations: 88.8 kB / 25.15 MB, free: 6.316 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.00175/0.00175, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.8923/0.8923, allocations: 177.1 MB / 210 MB, free: 3.574 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.5787/0.5787, allocations: 102.5 MB / 369.5 MB, free: 372 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.343e-06/1.343e-06, allocations: 0 / 470 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.415e-05, allocations: 2.312 kB / 470 MB, free: 19.01 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.1048/0.1048, allocations: 59.14 MB / 0.5167 GB, free: 12.79 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1178, allocations: 12.95 MB / 0.5294 GB, free: 15.8 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1189, allocations: 43.69 kB / 0.5294 GB, free: 15.75 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.1208, allocations: 0.9707 MB / 0.5303 GB, free: 14.78 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.1223, allocations: 0.9197 MB / 0.5312 GB, free: 13.86 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.1248, allocations: 1.612 MB / 0.5328 GB, free: 12.24 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.1272, allocations: 2.532 MB / 0.5353 GB, free: 9.707 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1282, allocations: 0.8963 MB / 0.5362 GB, free: 8.781 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1234/0.2516, allocations: 46.54 MB / 0.5816 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.2528, allocations: 0.7942 MB / 0.5824 GB, free: 10.62 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.253, allocations: 136 kB / 0.5825 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.2543, allocations: 0.8183 MB / 0.5833 GB, free: 9.668 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.2546, allocations: 0.5057 MB / 0.5838 GB, free: 9.16 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.2551, allocations: 0.5334 MB / 0.5843 GB, free: 8.625 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.2578, allocations: 2.21 MB / 0.5865 GB, free: 6.406 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2578, allocations: 0 / 0.5865 GB, free: 6.406 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2578, allocations: 0 / 0.5865 GB, free: 6.406 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.799e-05/0.2579, allocations: 0 / 0.5865 GB, free: 6.406 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.003105/0.261, allocations: 2.866 MB / 0.5893 GB, free: 3.477 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.261, allocations: 12.03 kB / 0.5893 GB, free: 3.465 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.2615, allocations: 331.3 kB / 0.5896 GB, free: 3.141 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.2634, allocations: 1.34 MB / 0.5909 GB, free: 1.758 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/0.2635, allocations: 82.52 kB / 0.591 GB, free: 1.676 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.2636, allocations: 112.4 kB / 0.5911 GB, free: 1.566 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/0.2675, allocations: 2.267 MB / 0.5933 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.2675, allocations: 19.81 kB / 0.5934 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2676, allocations: 56 kB / 0.5934 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.2677, allocations: 43.98 kB / 0.5934 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.2703, allocations: 1.007 MB / 0.5944 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/0.2773, allocations: 13.15 MB / 0.6073 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.2791, allocations: 1.099 MB / 0.6083 GB, free: 14.82 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.2795, allocations: 333.4 kB / 0.6087 GB, free: 14.44 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2796, allocations: 64.56 kB / 0.6087 GB, free: 14.38 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.2811, allocations: 1.003 MB / 0.6097 GB, free: 13.27 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 3.226e-06/0.2811, allocations: 0 / 0.6097 GB, free: 13.27 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.004291/0.2854, allocations: 2.289 MB / 0.6119 GB, free: 10.95 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004296/0.2859, allocations: 0.6593 MB / 0.6126 GB, free: 10.14 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.2873, allocations: 1.611 MB / 0.6142 GB, free: 8.469 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/0.2874, allocations: 53.69 kB / 0.6142 GB, free: 8.41 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.2879, allocations: 0.9325 MB / 0.6151 GB, free: 7.469 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.2883, allocations: 0.5886 MB / 0.6157 GB, free: 6.875 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.2886, allocations: 437.1 kB / 0.6161 GB, free: 6.441 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.2887, allocations: 476.8 kB / 0.6166 GB, free: 5.973 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.2892, allocations: 329.7 kB / 0.6169 GB, free: 5.637 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.2901, allocations: 1.403 MB / 0.6182 GB, free: 3.77 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.2921, allocations: 1.965 MB / 0.6202 GB, free: 1.387 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2921, allocations: 12 kB / 0.6202 GB, free: 1.375 MB / 0.5262 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002141/0.2942, allocations: 1.732 MB / 0.6219 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.2943, allocations: 50.69 kB / 0.6219 GB, free: 15.56 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001287/0.2956, allocations: 0.9889 MB / 0.6229 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.2959, allocations: 119.5 kB / 0.623 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.2966, allocations: 467.2 kB / 0.6234 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005018/0.2971, allocations: 0.956 MB / 0.6244 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.2978, allocations: 206.5 kB / 0.6246 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.2979, allocations: 123.9 kB / 0.6247 GB, free: 12.66 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.0007345/0.2986, allocations: 472.5 kB / 0.6251 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.2997, allocations: 1.406 MB / 0.6265 GB, free: 10.32 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001647/0.3013, allocations: 1.949 MB / 0.6284 GB, free: 7.953 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.759e-06/0.3014, allocations: 8 kB / 0.6284 GB, free: 7.945 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002077/0.3034, allocations: 1.748 MB / 0.6301 GB, free: 6.172 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.3035, allocations: 41.7 kB / 0.6302 GB, free: 6.125 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001162/0.3046, allocations: 0.9456 MB / 0.6311 GB, free: 5.16 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.3049, allocations: 112 kB / 0.6312 GB, free: 5.047 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.3056, allocations: 475.2 kB / 0.6317 GB, free: 4.582 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.3072, allocations: 2.438 MB / 0.634 GB, free: 2.023 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.3079, allocations: 170.9 kB / 0.6342 GB, free: 1.855 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.308, allocations: 123.9 kB / 0.6343 GB, free: 1.734 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.0003991/0.3084, allocations: 437 kB / 0.6347 GB, free: 1.293 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.3087, allocations: 254.5 kB / 0.635 GB, free: 1.043 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.001782/0.3104, allocations: 1.678 MB / 0.6366 GB, free: 15.33 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9330360209569335]