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.008306/0.008306, allocations: 1.787 MB / 20.88 MB, free: 3.652 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.003875/0.003875, allocations: 78.12 kB / 24.59 MB, free: 7.211 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.0009032/0.0009032, allocations: 167.8 kB / 28.4 MB, free: 4.316 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.8292/0.8292, allocations: 177.2 MB / 209.3 MB, free: 2.539 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.6535/0.6535, allocations: 102.5 MB / 368.7 MB, free: 1.016 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5378 GB, free: 39.22 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.288e-05, allocations: 7.781 kB / 0.5379 GB, free: 39.22 MB / 490.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.1067/0.1067, allocations: 64.39 MB / 0.6007 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1181, allocations: 12.36 MB / 0.6128 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.1189, allocations: 47.69 kB / 0.6128 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.1207, allocations: 0.967 MB / 0.6138 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1218, allocations: 0.9158 MB / 0.6147 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1239, allocations: 1.604 MB / 0.6163 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1256, allocations: 2.527 MB / 0.6187 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.1264, allocations: 0.8684 MB / 0.6196 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1274, allocations: 1.372 MB / 0.6209 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.1282, allocations: 0.9113 MB / 0.6218 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1284, allocations: 188 kB / 0.622 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1296, allocations: 0.99 MB / 0.6229 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.1299, allocations: 0.6033 MB / 0.6235 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.1304, allocations: 0.6231 MB / 0.6241 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.1329, allocations: 3.368 MB / 0.6274 GB, free: 15.36 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1329, allocations: 0 / 0.6274 GB, free: 15.36 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1329, allocations: 0 / 0.6274 GB, free: 15.36 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.546e-05/0.1329, allocations: 4 kB / 0.6274 GB, free: 15.36 MB / 0.5262 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.002804/0.1357, allocations: 2.915 MB / 0.6303 GB, free: 12.39 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1358, allocations: 12.03 kB / 0.6303 GB, free: 12.38 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.1359, allocations: 195.2 kB / 0.6305 GB, free: 12.18 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.1364, allocations: 303.2 kB / 0.6308 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.1388, allocations: 2.362 MB / 0.6331 GB, free: 9.473 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.1389, allocations: 82.52 kB / 0.6332 GB, free: 9.391 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.139, allocations: 108.4 kB / 0.6333 GB, free: 9.285 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.1414, allocations: 2.342 MB / 0.6355 GB, free: 6.57 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1415, allocations: 15.88 kB / 0.6356 GB, free: 6.555 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.1415, allocations: 48 kB / 0.6356 GB, free: 6.508 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.1416, allocations: 36 kB / 0.6356 GB, free: 6.473 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.1436, allocations: 1.398 MB / 0.637 GB, free: 5.066 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.1485, allocations: 9.483 MB / 0.6463 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.1506, allocations: 1.304 MB / 0.6475 GB, free: 9.789 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.151, allocations: 468 kB / 0.648 GB, free: 9.297 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1511, allocations: 60.62 kB / 0.648 GB, free: 9.238 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.1527, allocations: 1.151 MB / 0.6492 GB, free: 8.004 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=175): time 2.484e-06/0.1527, allocations: 0 / 0.6492 GB, free: 8.004 MB / 0.5418 GB Notification: Performance of matching and sorting (n=175): time 0.004512/0.1572, allocations: 2.78 MB / 0.6519 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.1574, allocations: 0.6052 MB / 0.6525 GB, free: 4.449 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.159, allocations: 1.797 MB / 0.6542 GB, free: 2.609 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.1591, allocations: 41.7 kB / 0.6543 GB, free: 2.562 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.1595, allocations: 0.8394 MB / 0.6551 GB, free: 1.711 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.1597, allocations: 0.5847 MB / 0.6557 GB, free: 1.121 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.1601, allocations: 415.3 kB / 0.6561 GB, free: 0.7109 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.1602, allocations: 305.1 kB / 0.6563 GB, free: 420 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.1608, allocations: 0.5808 MB / 0.6569 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/0.1618, allocations: 1.312 MB / 0.6582 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.1648, allocations: 2.756 MB / 0.6609 GB, free: 11.09 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.1648, allocations: 8 kB / 0.6609 GB, free: 11.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002299/0.1671, allocations: 2.183 MB / 0.663 GB, free: 8.883 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1672, allocations: 49.69 kB / 0.6631 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001647/0.1688, allocations: 1.455 MB / 0.6645 GB, free: 7.359 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.1691, allocations: 152.9 kB / 0.6646 GB, free: 7.207 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.1698, allocations: 467.2 kB / 0.6651 GB, free: 6.75 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.1703, allocations: 0.767 MB / 0.6658 GB, free: 5.957 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.1709, allocations: 222.4 kB / 0.666 GB, free: 5.738 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.171, allocations: 123.9 kB / 0.6662 GB, free: 5.617 MB / 0.5574 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.001225/0.1722, allocations: 0.943 MB / 0.6671 GB, free: 4.664 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009534/0.1732, allocations: 1.293 MB / 0.6683 GB, free: 3.039 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/0.1759, allocations: 2.713 MB / 0.671 GB, free: 8 kB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/0.1759, allocations: 8 kB / 0.671 GB, free: 0 / 0.5574 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00239/0.1783, allocations: 2.152 MB / 0.6731 GB, free: 13.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.1783, allocations: 43.89 kB / 0.6731 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001499/0.1798, allocations: 1.366 MB / 0.6745 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.18, allocations: 120.7 kB / 0.6746 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.1807, allocations: 475.3 kB / 0.6751 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.1821, allocations: 2.055 MB / 0.6771 GB, free: 9.641 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.1826, allocations: 174.9 kB / 0.6772 GB, free: 9.469 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.1827, allocations: 119.9 kB / 0.6773 GB, free: 9.352 MB / 0.573 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.183, allocations: 357.6 kB / 0.6777 GB, free: 8.992 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.1832, allocations: 230.4 kB / 0.6779 GB, free: 8.766 MB / 0.573 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.001853/0.1851, allocations: 1.83 MB / 0.6797 GB, free: 6.906 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.933055965229869]