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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.008411/0.008411, allocations: 1.358 MB / 20.45 MB, free: 4.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07319/0.07319, allocations: 18.24 MB / 42.2 MB, free: 5.18 MB / 33.03 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.0008173/0.0008173, allocations: 83.41 kB / 53.06 MB, free: 6.398 MB / 44.04 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.001777/0.001777, allocations: 161.4 kB / 64.03 MB, free: 10.09 MB / 58.72 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.9076/0.9076, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.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.5009/0.5009, allocations: 102.5 MB / 418.6 MB, free: 5.223 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/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.593e-06/1.593e-06, allocations: 0 / 0.6029 GB, free: 304 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.2e-05, allocations: 6 kB / 0.6029 GB, free: 300 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID): time 0.009942/0.009964, allocations: 9.04 MB / 0.6118 GB, free: 7.203 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.02548, allocations: 12.35 MB / 0.6238 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.02637, allocations: 51.62 kB / 0.6239 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.02828, allocations: 0.967 MB / 0.6248 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.02923, allocations: 0.9158 MB / 0.6257 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.03113, allocations: 1.611 MB / 0.6273 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.03285, allocations: 2.538 MB / 0.6298 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.03354, allocations: 0.8646 MB / 0.6306 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.03442, allocations: 1.371 MB / 0.6319 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.03515, allocations: 0.9074 MB / 0.6328 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.03532, allocations: 188 kB / 0.633 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.03628, allocations: 0.9938 MB / 0.634 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.03662, allocations: 0.6072 MB / 0.6346 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.03728, allocations: 0.6232 MB / 0.6352 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.03948, allocations: 3.368 MB / 0.6385 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.03949, allocations: 0 / 0.6385 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.03949, allocations: 0 / 0.6385 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.03951, allocations: 0 / 0.6385 GB, free: 11.74 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.00254/0.04205, allocations: 2.923 MB / 0.6413 GB, free: 8.762 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.04208, allocations: 12.03 kB / 0.6413 GB, free: 8.75 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.04223, allocations: 195.2 kB / 0.6415 GB, free: 8.551 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.04293, allocations: 303.2 kB / 0.6418 GB, free: 8.254 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.04533, allocations: 2.366 MB / 0.6441 GB, free: 5.852 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.04538, allocations: 82.52 kB / 0.6442 GB, free: 5.77 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.04548, allocations: 104.4 kB / 0.6443 GB, free: 5.668 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.04792, allocations: 2.331 MB / 0.6466 GB, free: 2.965 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.04794, allocations: 19.88 kB / 0.6466 GB, free: 2.945 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.04801, allocations: 55.98 kB / 0.6466 GB, free: 2.891 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.04804, allocations: 36 kB / 0.6467 GB, free: 2.855 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.05005, allocations: 1.398 MB / 0.648 GB, free: 1.453 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.05546, allocations: 9.467 MB / 0.6573 GB, free: 7.609 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.05738, allocations: 1.298 MB / 0.6586 GB, free: 6.199 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.05789, allocations: 471.1 kB / 0.659 GB, free: 5.703 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.05801, allocations: 60.62 kB / 0.6591 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.05967, allocations: 1.159 MB / 0.6602 GB, free: 4.406 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=175): time 2.435e-06/0.05967, allocations: 3.938 kB / 0.6602 GB, free: 4.402 MB / 0.5418 GB Notification: Performance of matching and sorting (n=175): time 0.004767/0.06444, allocations: 2.787 MB / 0.6629 GB, free: 1.59 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.0646, allocations: 0.6091 MB / 0.6635 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2274/0.292, allocations: 1.788 MB / 0.6653 GB, free: 68.87 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.2922, allocations: 46.58 kB / 0.6653 GB, free: 68.84 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.2928, allocations: 0.8328 MB / 0.6661 GB, free: 68.74 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005251/0.2934, allocations: 0.5831 MB / 0.6667 GB, free: 68.45 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/0.2941, allocations: 414.7 kB / 0.6671 GB, free: 68.34 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.2941, allocations: 305.8 kB / 0.6674 GB, free: 68.05 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.2951, allocations: 0.5762 MB / 0.6679 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.2963, allocations: 1.31 MB / 0.6692 GB, free: 66.6 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.3003, allocations: 2.751 MB / 0.6719 GB, free: 64.84 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.3003, allocations: 5.812 kB / 0.6719 GB, free: 64.84 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.00355/0.3038, allocations: 2.183 MB / 0.674 GB, free: 63.89 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.3039, allocations: 45.38 kB / 0.6741 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00214/0.306, allocations: 1.461 MB / 0.6755 GB, free: 63.31 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.3064, allocations: 150.7 kB / 0.6757 GB, free: 63.28 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.3074, allocations: 468.1 kB / 0.6761 GB, free: 63.23 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005535/0.3079, allocations: 0.7764 MB / 0.6769 GB, free: 62.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.3089, allocations: 223.3 kB / 0.6771 GB, free: 62.52 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.309, allocations: 121.7 kB / 0.6772 GB, free: 62.5 MB / 0.5418 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.001407/0.3104, allocations: 0.94 MB / 0.6781 GB, free: 62.02 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009821/0.3114, allocations: 1.303 MB / 0.6794 GB, free: 60.83 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003073/0.3145, allocations: 2.706 MB / 0.682 GB, free: 59.04 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.149e-05/0.3145, allocations: 8.281 kB / 0.682 GB, free: 59.04 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.00299/0.3175, allocations: 2.156 MB / 0.6841 GB, free: 58.07 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.3175, allocations: 50.3 kB / 0.6842 GB, free: 58.04 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001874/0.3194, allocations: 1.363 MB / 0.6855 GB, free: 57.5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.3196, allocations: 123.8 kB / 0.6856 GB, free: 57.47 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.3207, allocations: 471.9 kB / 0.6861 GB, free: 57.42 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.3224, allocations: 2.059 MB / 0.6881 GB, free: 55.71 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.3234, allocations: 173.3 kB / 0.6883 GB, free: 55.64 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.3236, allocations: 125.7 kB / 0.6884 GB, free: 55.62 MB / 0.5418 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.0004999/0.3241, allocations: 346.8 kB / 0.6887 GB, free: 55.32 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.3244, allocations: 219.8 kB / 0.6889 GB, free: 55.2 MB / 0.5418 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.002236/0.3266, allocations: 1.84 MB / 0.6907 GB, free: 54.56 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.003974448889494]