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.01729/0.01729, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001839/0.001839, allocations: 79.61 kB / 24.89 MB, free: 6.832 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.00189/0.00189, allocations: 167.4 kB / 28.74 MB, free: 3.66 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 1.471/1.471, allocations: 177.2 MB / 209.6 MB, free: 2.359 MB / 186.7 MB " [Timeout remaining time 178] 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 1.089/1.089, allocations: 102.5 MB / 369.1 MB, free: 0.8711 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 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 1.583e-06/1.583e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.571e-05, allocations: 7.656 kB / 469.1 MB, free: 12.96 MB / 442.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.1816/0.1817, allocations: 56.76 MB / 0.5136 GB, free: 4.176 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2228/0.4045, allocations: 12.84 MB / 0.5261 GB, free: 72.14 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.406, allocations: 46.28 kB / 0.5261 GB, free: 72.14 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.4086, allocations: 0.9733 MB / 0.5271 GB, free: 71.86 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.4106, allocations: 0.9075 MB / 0.528 GB, free: 71.3 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.4138, allocations: 1.606 MB / 0.5296 GB, free: 70.48 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.4164, allocations: 2.522 MB / 0.532 GB, free: 69.21 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.4175, allocations: 0.9063 MB / 0.5329 GB, free: 68.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.4189, allocations: 1.365 MB / 0.5342 GB, free: 68.02 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.42, allocations: 0.9152 MB / 0.5351 GB, free: 67.7 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.4202, allocations: 186 kB / 0.5353 GB, free: 67.7 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4222, allocations: 0.9985 MB / 0.5363 GB, free: 67.42 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.4226, allocations: 0.6024 MB / 0.5369 GB, free: 67.07 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.4232, allocations: 0.6183 MB / 0.5375 GB, free: 66.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.4273, allocations: 3.397 MB / 0.5408 GB, free: 65.49 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4273, allocations: 0 / 0.5408 GB, free: 65.49 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4273, allocations: 1.844 kB / 0.5408 GB, free: 65.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.896e-05/0.4273, allocations: 0 / 0.5408 GB, free: 65.49 MB / 490.8 MB 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.005497/0.4328, allocations: 3.45 MB / 0.5442 GB, free: 63.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4329, allocations: 9.156 kB / 0.5442 GB, free: 63.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.434, allocations: 386.6 kB / 0.5445 GB, free: 63.19 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/0.4382, allocations: 2.136 MB / 0.5466 GB, free: 62.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.4383, allocations: 84.3 kB / 0.5467 GB, free: 62.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.4385, allocations: 114.4 kB / 0.5468 GB, free: 62.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.4426, allocations: 2.653 MB / 0.5494 GB, free: 60.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.4427, allocations: 18.52 kB / 0.5494 GB, free: 60.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4428, allocations: 54.73 kB / 0.5495 GB, free: 60.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.4428, allocations: 34.67 kB / 0.5495 GB, free: 60.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.4462, allocations: 1.37 MB / 0.5508 GB, free: 59.66 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008558/0.4547, allocations: 13.85 MB / 0.5644 GB, free: 47.1 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.458, allocations: 1.379 MB / 0.5657 GB, free: 46.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.4586, allocations: 478.6 kB / 0.5662 GB, free: 46.11 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.4588, allocations: 61.94 kB / 0.5662 GB, free: 46.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00265/0.4615, allocations: 1.284 MB / 0.5675 GB, free: 45.48 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 3.337e-06/0.4615, allocations: 2.219 kB / 0.5675 GB, free: 45.48 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.007698/0.4692, allocations: 2.831 MB / 0.5703 GB, free: 44.63 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4693, allocations: 0.6043 MB / 0.5708 GB, free: 43.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4718, allocations: 2.103 MB / 0.5729 GB, free: 42.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.472, allocations: 46.06 kB / 0.5729 GB, free: 42.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.4726, allocations: 1.007 MB / 0.5739 GB, free: 42.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.473, allocations: 0.64 MB / 0.5746 GB, free: 41.59 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006407/0.4736, allocations: 0.5008 MB / 0.575 GB, free: 41.37 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.4737, allocations: 481.4 kB / 0.5755 GB, free: 40.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/0.4745, allocations: 0.5595 MB / 0.576 GB, free: 40.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.4758, allocations: 1.642 MB / 0.5777 GB, free: 39.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.4786, allocations: 2.658 MB / 0.5802 GB, free: 37.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.4786, allocations: 7.188 kB / 0.5803 GB, free: 37.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.003574/0.4822, allocations: 2.238 MB / 0.5824 GB, free: 35.45 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.4822, allocations: 45.69 kB / 0.5825 GB, free: 35.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002109/0.4843, allocations: 1.388 MB / 0.5838 GB, free: 34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.4848, allocations: 160.1 kB / 0.584 GB, free: 33.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4859, allocations: 471.2 kB / 0.5844 GB, free: 33.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006371/0.4865, allocations: 1.045 MB / 0.5855 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4878, allocations: 210.4 kB / 0.5857 GB, free: 32.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.4879, allocations: 130.6 kB / 0.5858 GB, free: 31.98 MB / 490.8 MB 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.001444/0.4894, allocations: 0.8388 MB / 0.5866 GB, free: 31.13 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.4905, allocations: 1.63 MB / 0.5882 GB, free: 29.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002542/0.4931, allocations: 2.636 MB / 0.5908 GB, free: 26.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.808e-06/0.4931, allocations: 6.688 kB / 0.5908 GB, free: 26.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00337/0.4965, allocations: 2.203 MB / 0.5929 GB, free: 23.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.4965, allocations: 49.69 kB / 0.593 GB, free: 23.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001874/0.4984, allocations: 1.328 MB / 0.5943 GB, free: 22.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.4988, allocations: 140 kB / 0.5944 GB, free: 22.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4999, allocations: 471.2 kB / 0.5949 GB, free: 21.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5016, allocations: 2.687 MB / 0.5975 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.503, allocations: 169.6 kB / 0.5976 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.5032, allocations: 127.9 kB / 0.5978 GB, free: 18.73 MB / 490.8 MB 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.0005951/0.5038, allocations: 438.3 kB / 0.5982 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.5043, allocations: 252 kB / 0.5984 GB, free: 18.05 MB / 490.8 MB 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.00266/0.5069, allocations: 1.8 MB / 0.6002 GB, free: 16.32 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.1083493860205635]