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.02608/0.02608, allocations: 1.792 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.002488/0.002488, allocations: 75.67 kB / 24.88 MB, free: 6.828 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.002688/0.002688, allocations: 164 kB / 28.74 MB, free: 3.656 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.509/1.509, allocations: 177.2 MB / 209.6 MB, free: 2.398 MB / 186.7 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.087/1.087, allocations: 102.5 MB / 369.1 MB, free: 0.8906 MB / 330.8 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.473e-06/1.473e-06, allocations: 0 / 469.1 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.81e-05, allocations: 2.312 kB / 469.1 MB, free: 13 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.1793/0.1794, allocations: 56.77 MB / 0.5136 GB, free: 4.191 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2061/0.3855, allocations: 12.84 MB / 0.5261 GB, free: 72.18 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.3866, allocations: 45.5 kB / 0.5262 GB, free: 72.18 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.3889, allocations: 0.9705 MB / 0.5271 GB, free: 71.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3906, allocations: 0.9122 MB / 0.528 GB, free: 71.35 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.3938, allocations: 1.609 MB / 0.5296 GB, free: 70.53 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.3963, allocations: 2.531 MB / 0.532 GB, free: 69.26 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3973, allocations: 0.8945 MB / 0.5329 GB, free: 68.68 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.3988, allocations: 1.371 MB / 0.5343 GB, free: 68.07 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.3999, allocations: 0.9115 MB / 0.5352 GB, free: 67.76 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.4002, allocations: 185.8 kB / 0.5353 GB, free: 67.76 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.4022, allocations: 1.007 MB / 0.5363 GB, free: 67.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.4026, allocations: 0.6033 MB / 0.5369 GB, free: 67.11 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000646/0.4032, allocations: 0.6208 MB / 0.5375 GB, free: 66.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.4071, allocations: 3.39 MB / 0.5408 GB, free: 65.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4071, allocations: 0.5 kB / 0.5408 GB, free: 65.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4071, allocations: 2.906 kB / 0.5408 GB, free: 65.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.4072, allocations: 0 / 0.5408 GB, free: 65.55 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.005116/0.4123, allocations: 3.444 MB / 0.5442 GB, free: 63.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4123, allocations: 11.61 kB / 0.5442 GB, free: 63.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.4133, allocations: 388.1 kB / 0.5446 GB, free: 63.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.4171, allocations: 2.138 MB / 0.5467 GB, free: 62.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.4172, allocations: 84.22 kB / 0.5467 GB, free: 62.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.4174, allocations: 113.8 kB / 0.5468 GB, free: 62.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.4214, allocations: 2.653 MB / 0.5494 GB, free: 60.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.4215, allocations: 18.72 kB / 0.5494 GB, free: 60.14 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4216, allocations: 55.05 kB / 0.5495 GB, free: 60.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.4216, allocations: 35.12 kB / 0.5495 GB, free: 60.11 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.4251, allocations: 1.373 MB / 0.5509 GB, free: 59.71 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00848/0.4335, allocations: 13.84 MB / 0.5644 GB, free: 47.17 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.4369, allocations: 1.387 MB / 0.5657 GB, free: 46.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.4375, allocations: 471.6 kB / 0.5662 GB, free: 46.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.4377, allocations: 66.66 kB / 0.5663 GB, free: 46.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00296/0.4407, allocations: 1.278 MB / 0.5675 GB, free: 45.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=175): time 4.809e-06/0.4407, allocations: 0.625 kB / 0.5675 GB, free: 45.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=175): time 0.008381/0.449, allocations: 2.831 MB / 0.5703 GB, free: 44.69 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.4492, allocations: 0.611 MB / 0.5709 GB, free: 43.96 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.4517, allocations: 2.104 MB / 0.5729 GB, free: 42.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.4518, allocations: 48.52 kB / 0.573 GB, free: 42.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/0.4524, allocations: 1.008 MB / 0.574 GB, free: 42.15 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.4528, allocations: 0.6364 MB / 0.5746 GB, free: 41.65 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.4534, allocations: 0.5011 MB / 0.5751 GB, free: 41.43 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.4535, allocations: 478.8 kB / 0.5755 GB, free: 40.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.4544, allocations: 0.5602 MB / 0.5761 GB, free: 40.74 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.4557, allocations: 1.639 MB / 0.5777 GB, free: 39.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.4584, allocations: 2.661 MB / 0.5803 GB, free: 37.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4584, allocations: 8.812 kB / 0.5803 GB, free: 37.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.003501/0.4619, allocations: 2.233 MB / 0.5825 GB, free: 35.46 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.4619, allocations: 50.47 kB / 0.5825 GB, free: 35.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00214/0.4641, allocations: 1.39 MB / 0.5839 GB, free: 34.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.4645, allocations: 147.7 kB / 0.584 GB, free: 33.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4657, allocations: 477.2 kB / 0.5845 GB, free: 33.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006066/0.4663, allocations: 1.042 MB / 0.5855 GB, free: 32.32 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4675, allocations: 213.1 kB / 0.5857 GB, free: 32.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.4676, allocations: 119.9 kB / 0.5858 GB, free: 32 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.001364/0.469, allocations: 0.846 MB / 0.5866 GB, free: 31.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001137/0.4701, allocations: 1.622 MB / 0.5882 GB, free: 29.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002479/0.4726, allocations: 2.635 MB / 0.5908 GB, free: 26.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-05/0.4726, allocations: 8.547 kB / 0.5908 GB, free: 26.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.003218/0.4758, allocations: 2.213 MB / 0.5929 GB, free: 23.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.4759, allocations: 49.69 kB / 0.593 GB, free: 23.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001906/0.4778, allocations: 1.331 MB / 0.5943 GB, free: 22.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.4781, allocations: 131 kB / 0.5944 GB, free: 22.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4792, allocations: 471.2 kB / 0.5949 GB, free: 21.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.4809, allocations: 2.699 MB / 0.5975 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.4821, allocations: 167.5 kB / 0.5977 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.4823, allocations: 122.6 kB / 0.5978 GB, free: 18.75 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.0005316/0.4828, allocations: 442.7 kB / 0.5982 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.4832, allocations: 254.5 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.002649/0.4859, allocations: 1.799 MB / 0.6002 GB, free: 16.33 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.116366744041443]