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.006009/0.006009, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0005884/0.0005884, allocations: 91.45 kB / 24.16 MB, free: 396 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.0007394/0.0007394, allocations: 164.9 kB / 27.85 MB, free: 5.098 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.8249/0.8249, allocations: 177.2 MB / 208.6 MB, free: 2.953 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.699/0.699, allocations: 102.5 MB / 367.9 MB, free: 1.453 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.363e-06/1.363e-06, allocations: 0 / 0.5362 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.616e-06/9.979e-06, allocations: 2.281 kB / 0.5362 GB, free: 39.86 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.1007/0.1007, allocations: 55.69 MB / 0.5906 GB, free: 4.711 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1111, allocations: 12.37 MB / 0.6027 GB, free: 8.297 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007591/0.1119, allocations: 43.69 kB / 0.6027 GB, free: 8.254 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.1135, allocations: 0.9631 MB / 0.6036 GB, free: 7.285 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0009651/0.1145, allocations: 0.9158 MB / 0.6045 GB, free: 6.363 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.1165, allocations: 1.616 MB / 0.6061 GB, free: 4.742 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1179, allocations: 2.525 MB / 0.6086 GB, free: 2.207 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.1186, allocations: 0.8529 MB / 0.6094 GB, free: 1.324 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.1195, allocations: 1.36 MB / 0.6107 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.1202, allocations: 0.9075 MB / 0.6116 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1203, allocations: 184 kB / 0.6118 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1214, allocations: 1.006 MB / 0.6128 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.1217, allocations: 0.6071 MB / 0.6134 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.1221, allocations: 0.6193 MB / 0.614 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.1243, allocations: 3.364 MB / 0.6173 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1243, allocations: 0 / 0.6173 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1243, allocations: 0 / 0.6173 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.1243, allocations: 0 / 0.6173 GB, free: 9.258 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.002637/0.127, allocations: 2.931 MB / 0.6201 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.127, allocations: 12.03 kB / 0.6201 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.1271, allocations: 191.2 kB / 0.6203 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.1276, allocations: 303.2 kB / 0.6206 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.13, allocations: 2.366 MB / 0.6229 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.13, allocations: 86.5 kB / 0.623 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1301, allocations: 112.4 kB / 0.6231 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.1324, allocations: 2.327 MB / 0.6254 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.1325, allocations: 15.86 kB / 0.6254 GB, free: 460 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1325, allocations: 59.98 kB / 0.6255 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1325, allocations: 36 kB / 0.6255 GB, free: 364 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.1345, allocations: 1.402 MB / 0.6269 GB, free: 14.95 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.1392, allocations: 9.467 MB / 0.6361 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.141, allocations: 1.304 MB / 0.6374 GB, free: 3.68 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1414, allocations: 474.2 kB / 0.6378 GB, free: 3.18 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1415, allocations: 56.62 kB / 0.6379 GB, free: 3.125 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.143, allocations: 1.147 MB / 0.639 GB, free: 1.898 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=175): time 2.244e-06/0.143, allocations: 7.938 kB / 0.639 GB, free: 1.891 MB / 0.5262 GB Notification: Performance of matching and sorting (n=175): time 0.004417/0.1475, allocations: 2.786 MB / 0.6417 GB, free: 15.08 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.1476, allocations: 0.6052 MB / 0.6423 GB, free: 14.33 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.149, allocations: 1.793 MB / 0.6441 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.1491, allocations: 45.7 kB / 0.6441 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.1495, allocations: 0.8356 MB / 0.6449 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.1498, allocations: 0.5847 MB / 0.6455 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.1501, allocations: 415.3 kB / 0.6459 GB, free: 10.6 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.1502, allocations: 305.5 kB / 0.6462 GB, free: 10.3 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.1509, allocations: 0.5807 MB / 0.6468 GB, free: 9.703 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009505/0.1519, allocations: 1.312 MB / 0.648 GB, free: 8.059 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.1547, allocations: 2.761 MB / 0.6507 GB, free: 4.977 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.1547, allocations: 8 kB / 0.6507 GB, free: 4.969 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.002329/0.157, allocations: 2.175 MB / 0.6529 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.157, allocations: 45.69 kB / 0.6529 GB, free: 2.719 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001689/0.1587, allocations: 1.447 MB / 0.6543 GB, free: 1.254 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.159, allocations: 157.2 kB / 0.6545 GB, free: 1.098 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.1597, allocations: 467.2 kB / 0.6549 GB, free: 0.6406 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005298/0.1603, allocations: 0.7747 MB / 0.6557 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.1608, allocations: 226.3 kB / 0.6559 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1609, allocations: 124.2 kB / 0.656 GB, free: 15.5 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.001052/0.162, allocations: 0.943 MB / 0.6569 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009059/0.1629, allocations: 1.301 MB / 0.6582 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00267/0.1655, allocations: 2.705 MB / 0.6608 GB, free: 9.895 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.1655, allocations: 4 kB / 0.6609 GB, free: 9.891 MB / 0.5574 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002212/0.1677, allocations: 2.16 MB / 0.663 GB, free: 7.707 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.1678, allocations: 49.69 kB / 0.663 GB, free: 7.652 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001465/0.1692, allocations: 1.369 MB / 0.6643 GB, free: 6.27 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.1694, allocations: 116.8 kB / 0.6645 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.1701, allocations: 471.2 kB / 0.6649 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.1716, allocations: 2.051 MB / 0.6669 GB, free: 3.523 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.1721, allocations: 175 kB / 0.6671 GB, free: 3.352 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1722, allocations: 123.9 kB / 0.6672 GB, free: 3.23 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.0003176/0.1725, allocations: 361.9 kB / 0.6675 GB, free: 2.863 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.1727, allocations: 222.5 kB / 0.6677 GB, free: 2.645 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.001838/0.1745, allocations: 1.834 MB / 0.6695 GB, free: 0.7812 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.03369274828583] Failed to read output from testmodel.py, exit status != 0: 0.31242859456688166 0.5562840490000001 0.430514345 Calling exit ...