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.008284/0.008284, allocations: 1.795 MB / 21.35 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.0007773/0.0007773, allocations: 86.52 kB / 25.15 MB, free: 7.469 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.0008449/0.0008449, allocations: 168.8 kB / 29.06 MB, free: 3.668 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.8811/0.8811, allocations: 177.1 MB / 210 MB, free: 3.582 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.595/0.595, allocations: 102.4 MB / 369.5 MB, free: 332 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 2.064e-06/2.064e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.429e-05, allocations: 2.312 kB / 470 MB, free: 18.98 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.1049/0.105, allocations: 59.14 MB / 0.5167 GB, free: 12.79 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1175, allocations: 12.95 MB / 0.5293 GB, free: 15.8 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.1183, allocations: 47.62 kB / 0.5294 GB, free: 15.75 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.12, allocations: 0.9669 MB / 0.5303 GB, free: 14.78 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1212, allocations: 0.9235 MB / 0.5312 GB, free: 13.85 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.1237, allocations: 1.612 MB / 0.5328 GB, free: 12.23 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.1257, allocations: 2.533 MB / 0.5353 GB, free: 9.699 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1269, allocations: 0.9041 MB / 0.5362 GB, free: 8.766 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1102/0.237, allocations: 46.53 MB / 0.5816 GB, free: 11.41 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.2386, allocations: 0.7903 MB / 0.5824 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.2389, allocations: 136 kB / 0.5825 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.2404, allocations: 0.8222 MB / 0.5833 GB, free: 9.656 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.2407, allocations: 0.5018 MB / 0.5838 GB, free: 9.152 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.2413, allocations: 0.5374 MB / 0.5843 GB, free: 8.613 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.2437, allocations: 2.21 MB / 0.5865 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2437, allocations: 0 / 0.5865 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2437, allocations: 0 / 0.5865 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.2437, allocations: 0 / 0.5865 GB, free: 6.395 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.002514/0.2462, allocations: 2.866 MB / 0.5893 GB, free: 3.465 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2463, allocations: 12.03 kB / 0.5893 GB, free: 3.453 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.2467, allocations: 331.3 kB / 0.5896 GB, free: 3.129 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.248, allocations: 1.34 MB / 0.5909 GB, free: 1.746 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.2481, allocations: 78.52 kB / 0.591 GB, free: 1.668 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2482, allocations: 120.4 kB / 0.5911 GB, free: 1.551 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.2506, allocations: 2.275 MB / 0.5933 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2507, allocations: 19.88 kB / 0.5933 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.2507, allocations: 52 kB / 0.5934 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.2508, allocations: 36 kB / 0.5934 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.2525, allocations: 1.007 MB / 0.5944 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.2585, allocations: 13.15 MB / 0.6073 GB, free: 52 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2602, allocations: 1.103 MB / 0.6083 GB, free: 14.8 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.2605, allocations: 333.4 kB / 0.6086 GB, free: 14.42 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.2606, allocations: 60.62 kB / 0.6087 GB, free: 14.36 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.262, allocations: 1.007 MB / 0.6097 GB, free: 13.25 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 2.494e-06/0.2621, allocations: 0 / 0.6097 GB, free: 13.25 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.004031/0.2661, allocations: 2.288 MB / 0.6119 GB, free: 10.93 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.2663, allocations: 0.6554 MB / 0.6126 GB, free: 10.12 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.2676, allocations: 1.619 MB / 0.6141 GB, free: 8.445 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.2677, allocations: 45.7 kB / 0.6142 GB, free: 8.395 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.2682, allocations: 0.9364 MB / 0.6151 GB, free: 7.449 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.2685, allocations: 0.5886 MB / 0.6157 GB, free: 6.855 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.2689, allocations: 433.1 kB / 0.6161 GB, free: 6.426 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.269, allocations: 477.2 kB / 0.6165 GB, free: 5.957 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.2694, allocations: 338.4 kB / 0.6169 GB, free: 5.613 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.2703, allocations: 1.402 MB / 0.6182 GB, free: 3.746 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.2722, allocations: 1.965 MB / 0.6202 GB, free: 1.363 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.2722, allocations: 8 kB / 0.6202 GB, free: 1.355 MB / 0.5262 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002018/0.2742, allocations: 1.729 MB / 0.6219 GB, free: 15.6 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.2742, allocations: 49.94 kB / 0.6219 GB, free: 15.54 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00127/0.2755, allocations: 0.985 MB / 0.6229 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.2758, allocations: 123.5 kB / 0.623 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.2766, allocations: 467.2 kB / 0.6234 GB, free: 13.96 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/0.277, allocations: 0.9521 MB / 0.6244 GB, free: 12.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.2775, allocations: 206.5 kB / 0.6246 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.2776, allocations: 123.9 kB / 0.6247 GB, free: 12.65 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.0006802/0.2783, allocations: 480.4 kB / 0.6251 GB, free: 12.17 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000977/0.2793, allocations: 1.402 MB / 0.6265 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00171/0.281, allocations: 1.945 MB / 0.6284 GB, free: 7.941 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.628e-06/0.281, allocations: 8 kB / 0.6284 GB, free: 7.934 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.001978/0.283, allocations: 1.752 MB / 0.6301 GB, free: 6.156 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.283, allocations: 45.69 kB / 0.6302 GB, free: 6.105 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001172/0.2842, allocations: 0.9385 MB / 0.6311 GB, free: 5.148 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.2844, allocations: 115.6 kB / 0.6312 GB, free: 5.031 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.2851, allocations: 475.2 kB / 0.6316 GB, free: 4.566 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.2866, allocations: 2.43 MB / 0.634 GB, free: 2.016 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.2871, allocations: 174.9 kB / 0.6342 GB, free: 1.844 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2872, allocations: 119.9 kB / 0.6343 GB, free: 1.727 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.0003414/0.2876, allocations: 449.2 kB / 0.6347 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.2878, allocations: 250.5 kB / 0.635 GB, free: 1.027 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.001811/0.2896, allocations: 1.682 MB / 0.6366 GB, free: 15.31 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.963313644286245]