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.005924/0.005924, allocations: 1.446 MB / 20.54 MB, free: 4 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.0006764/0.0006764, allocations: 91.45 kB / 24.16 MB, free: 388 kB / 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.000769/0.000769, allocations: 159.6 kB / 27.85 MB, free: 5.5 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.8561/0.8561, allocations: 177.2 MB / 208.6 MB, free: 2.98 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.6979/0.6979, allocations: 102.5 MB / 367.9 MB, free: 1.48 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.595e-05, allocations: 2.938 kB / 0.5362 GB, free: 40.12 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.1025/0.1026, allocations: 55.69 MB / 0.5906 GB, free: 4.871 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.1147, allocations: 12.36 MB / 0.6027 GB, free: 8.469 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1157, allocations: 43.69 kB / 0.6027 GB, free: 8.426 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.1177, allocations: 0.9631 MB / 0.6036 GB, free: 7.457 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.1189, allocations: 0.9119 MB / 0.6045 GB, free: 6.539 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1214, allocations: 1.624 MB / 0.6061 GB, free: 4.91 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.1232, allocations: 2.521 MB / 0.6086 GB, free: 2.379 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.1241, allocations: 0.8529 MB / 0.6094 GB, free: 1.496 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.1253, allocations: 1.368 MB / 0.6107 GB, free: 128 kB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008935/0.1262, allocations: 0.9152 MB / 0.6116 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.1264, allocations: 184 kB / 0.6118 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1277, allocations: 0.99 MB / 0.6128 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.128, allocations: 0.6109 MB / 0.6134 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.1285, allocations: 0.6193 MB / 0.614 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.1311, allocations: 3.368 MB / 0.6173 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1311, allocations: 3.984 kB / 0.6173 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1311, allocations: 4 kB / 0.6173 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.882e-05/0.1312, allocations: 3.938 kB / 0.6173 GB, free: 9.41 MB / 0.5105 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.003077/0.1342, allocations: 2.923 MB / 0.6201 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1343, allocations: 8.031 kB / 0.6201 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.1344, allocations: 199.1 kB / 0.6203 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.1349, allocations: 299.2 kB / 0.6206 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.1374, allocations: 2.361 MB / 0.6229 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.1374, allocations: 82.52 kB / 0.623 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1375, allocations: 112.4 kB / 0.6231 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.14, allocations: 2.327 MB / 0.6254 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.14, allocations: 11.88 kB / 0.6254 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.1401, allocations: 56 kB / 0.6254 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.1401, allocations: 40 kB / 0.6255 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.142, allocations: 1.398 MB / 0.6268 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.1474, allocations: 9.475 MB / 0.6361 GB, free: 5.27 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.1493, allocations: 1.301 MB / 0.6374 GB, free: 3.848 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.1498, allocations: 476.1 kB / 0.6378 GB, free: 3.348 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1499, allocations: 60.56 kB / 0.6379 GB, free: 3.289 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.1516, allocations: 1.151 MB / 0.639 GB, free: 2.059 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 2.364e-06/0.1516, allocations: 0 / 0.639 GB, free: 2.059 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.004573/0.1561, allocations: 2.792 MB / 0.6417 GB, free: 15.24 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002251/0.1564, allocations: 0.6091 MB / 0.6423 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.1579, allocations: 1.79 MB / 0.6441 GB, free: 12.66 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003973/0.1583, allocations: 53.7 kB / 0.6441 GB, free: 12.6 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.1588, allocations: 0.8278 MB / 0.6449 GB, free: 11.76 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.1591, allocations: 0.5886 MB / 0.6455 GB, free: 11.17 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.1595, allocations: 415.3 kB / 0.6459 GB, free: 10.76 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.1596, allocations: 305.1 kB / 0.6462 GB, free: 10.46 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.1602, allocations: 0.5729 MB / 0.6468 GB, free: 9.871 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.1613, allocations: 1.316 MB / 0.648 GB, free: 8.223 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.1645, allocations: 2.752 MB / 0.6507 GB, free: 5.148 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.1645, allocations: 4 kB / 0.6507 GB, free: 5.145 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002449/0.167, allocations: 2.188 MB / 0.6529 GB, free: 2.934 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.167, allocations: 49.69 kB / 0.6529 GB, free: 2.879 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001644/0.1687, allocations: 1.435 MB / 0.6543 GB, free: 1.426 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.169, allocations: 168.9 kB / 0.6545 GB, free: 1.258 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.1697, allocations: 467.2 kB / 0.6549 GB, free: 0.8008 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/0.1702, allocations: 0.7735 MB / 0.6557 GB, free: 4 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.1709, allocations: 218.4 kB / 0.6559 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.171, allocations: 123.9 kB / 0.656 GB, free: 15.67 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.001102/0.1721, allocations: 0.943 MB / 0.6569 GB, free: 14.71 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.1734, allocations: 1.301 MB / 0.6582 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002699/0.1761, allocations: 2.713 MB / 0.6608 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.793e-06/0.1761, allocations: 4 kB / 0.6609 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002325/0.1784, allocations: 2.16 MB / 0.663 GB, free: 7.871 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.1784, allocations: 49.78 kB / 0.663 GB, free: 7.816 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001658/0.1801, allocations: 1.365 MB / 0.6643 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.1803, allocations: 121.3 kB / 0.6645 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.181, allocations: 471.2 kB / 0.6649 GB, free: 5.855 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1825, allocations: 2.047 MB / 0.6669 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.183, allocations: 178.9 kB / 0.6671 GB, free: 3.516 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.1831, allocations: 123.9 kB / 0.6672 GB, free: 3.395 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: 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.0003917/0.1835, allocations: 349.7 kB / 0.6675 GB, free: 3.039 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.1838, allocations: 226.5 kB / 0.6677 GB, free: 2.816 MB / 0.5574 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.001985/0.1857, allocations: 1.838 MB / 0.6695 GB, free: 0.9492 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1427204767242074] Failed to read output from testmodel.py, exit status != 0: 0.3484863992780447 0.6169715090000001 0.484203268 Calling exit ...