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.01253/0.01253, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001636/0.001636, allocations: 78.14 kB / 24.02 MB, free: 2.59 MB / 14.72 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.001943/0.001943, allocations: 152.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.458/1.458, allocations: 177.1 MB / 208.4 MB, free: 7.664 MB / 190.1 MB " [Timeout remaining time 178] 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 1.079/1.079, allocations: 102.5 MB / 367.8 MB, free: 4.578 MB / 334.1 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 0.3.1 (/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.492e-06/1.492e-06, allocations: 0 / 0.5365 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.84e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.121 MB / 446.1 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.1647/0.1647, allocations: 55.73 MB / 0.5909 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.1881, allocations: 12.37 MB / 0.603 GB, free: 5.496 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.1905, allocations: 43.69 kB / 0.603 GB, free: 5.453 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.1944, allocations: 0.9631 MB / 0.6039 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.1981, allocations: 0.9198 MB / 0.6048 GB, free: 3.559 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.2028, allocations: 1.612 MB / 0.6064 GB, free: 1.941 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.2074, allocations: 2.531 MB / 0.6089 GB, free: 15.4 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.2094, allocations: 0.8529 MB / 0.6097 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.2124, allocations: 1.36 MB / 0.6111 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.2143, allocations: 0.9153 MB / 0.6119 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.2149, allocations: 184 kB / 0.6121 GB, free: 12.06 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.2176, allocations: 0.9977 MB / 0.6131 GB, free: 11.06 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0008971/0.2185, allocations: 0.6033 MB / 0.6137 GB, free: 10.45 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2195, allocations: 0.6232 MB / 0.6143 GB, free: 9.828 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.2247, allocations: 3.364 MB / 0.6176 GB, free: 6.453 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2247, allocations: 3.984 kB / 0.6176 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2247, allocations: 0 / 0.6176 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.2247, allocations: 0 / 0.6176 GB, free: 6.449 MB / 0.5138 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.00474/0.2295, allocations: 2.923 MB / 0.6204 GB, free: 3.469 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2295, allocations: 8.031 kB / 0.6204 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/0.2304, allocations: 307.2 kB / 0.6207 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.2346, allocations: 2.367 MB / 0.623 GB, free: 0.7578 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.2347, allocations: 86.52 kB / 0.6231 GB, free: 0.6719 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.2349, allocations: 108.4 kB / 0.6232 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.2394, allocations: 2.327 MB / 0.6255 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2394, allocations: 11.88 kB / 0.6255 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.2395, allocations: 56 kB / 0.6256 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.2396, allocations: 35.98 kB / 0.6256 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.2432, allocations: 1.406 MB / 0.627 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008868/0.252, allocations: 9.317 MB / 0.6361 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.2557, allocations: 1.289 MB / 0.6373 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.2565, allocations: 470.2 kB / 0.6378 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.2566, allocations: 60.62 kB / 0.6378 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00299/0.2596, allocations: 1.155 MB / 0.639 GB, free: 15.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=175): time 4.098e-06/0.2596, allocations: 0 / 0.639 GB, free: 15.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=175): time 0.009006/0.2686, allocations: 2.779 MB / 0.6417 GB, free: 12.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003616/0.269, allocations: 0.6091 MB / 0.6423 GB, free: 11.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.2716, allocations: 1.725 MB / 0.644 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.2717, allocations: 49.69 kB / 0.644 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.2725, allocations: 0.8312 MB / 0.6448 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.273, allocations: 0.5885 MB / 0.6454 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000606/0.2736, allocations: 411.8 kB / 0.6458 GB, free: 8.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2738, allocations: 305.1 kB / 0.6461 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.2749, allocations: 0.5807 MB / 0.6466 GB, free: 7.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.2766, allocations: 1.317 MB / 0.6479 GB, free: 5.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005189/0.2818, allocations: 2.76 MB / 0.6506 GB, free: 2.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.2818, allocations: 4 kB / 0.6506 GB, free: 2.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004306/0.2861, allocations: 2.171 MB / 0.6528 GB, free: 440 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.2861, allocations: 49.69 kB / 0.6528 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002945/0.2891, allocations: 1.444 MB / 0.6542 GB, free: 14.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.2896, allocations: 168.8 kB / 0.6544 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.291, allocations: 471.3 kB / 0.6548 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009033/0.2919, allocations: 0.7747 MB / 0.6556 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.2931, allocations: 214.4 kB / 0.6558 GB, free: 13.27 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.2933, allocations: 119.9 kB / 0.6559 GB, free: 13.16 MB / 0.5607 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.001816/0.2951, allocations: 0.943 MB / 0.6568 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001667/0.2968, allocations: 1.293 MB / 0.6581 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004943/0.3017, allocations: 2.709 MB / 0.6607 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/0.3017, allocations: 11.98 kB / 0.6607 GB, free: 7.547 MB / 0.5607 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004252/0.306, allocations: 2.152 MB / 0.6628 GB, free: 5.367 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.306, allocations: 49.94 kB / 0.6629 GB, free: 5.312 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002581/0.3086, allocations: 1.353 MB / 0.6642 GB, free: 3.945 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.309, allocations: 124.7 kB / 0.6643 GB, free: 3.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.3104, allocations: 471.2 kB / 0.6648 GB, free: 3.359 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.3128, allocations: 2.032 MB / 0.6668 GB, free: 1.227 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.314, allocations: 170.9 kB / 0.6669 GB, free: 1.059 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3142, allocations: 127.9 kB / 0.667 GB, free: 0.9336 MB / 0.5607 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.0006146/0.3148, allocations: 349.3 kB / 0.6674 GB, free: 0.5781 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.3152, allocations: 218.9 kB / 0.6676 GB, free: 372 kB / 0.5607 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.003445/0.3186, allocations: 1.825 MB / 0.6694 GB, free: 14.5 MB / 0.5763 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.434619050472975] Failed to read output from testmodel.py, exit status != 0: 0.7490946054458618 0.761840721 0.53423243 Calling exit ...