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.01643/0.01643, allocations: 1.752 MB / 21.38 MB, free: 0.5625 MB / 14.72 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.001864/0.001864, allocations: 106.1 kB / 24.98 MB, free: 2.156 MB / 14.72 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.002467/0.002467, allocations: 203.2 kB / 28.71 MB, free: 3.441 MB / 19.63 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.363/1.363, allocations: 230.6 MB / 262.9 MB, free: 6.016 MB / 206.1 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.017/1.017, allocations: 130.7 MB / 450.4 MB, free: 6.605 MB / 350.1 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.3.1 (/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="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="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03076/0.03076, allocations: 20.6 MB / 0.6363 GB, free: 5.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1871, allocations: 81.91 MB / 0.7163 GB, free: 3.348 MB / 0.5294 GB 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.4509/0.638, allocations: 43 MB / 0.7583 GB, free: 22.91 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.6536, allocations: 13.25 MB / 0.7712 GB, free: 13.75 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.6551, allocations: 49.97 kB / 0.7713 GB, free: 13.73 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.6579, allocations: 1.004 MB / 0.7723 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.6599, allocations: 0.8794 MB / 0.7731 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.6635, allocations: 1.59 MB / 0.7747 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.6665, allocations: 2.459 MB / 0.7771 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.6675, allocations: 0.8039 MB / 0.7779 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.6687, allocations: 1.01 MB / 0.7789 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.6701, allocations: 1.147 MB / 0.78 GB, free: 9.305 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003027/0.6704, allocations: 184.5 kB / 0.7802 GB, free: 9.305 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.6729, allocations: 1.312 MB / 0.7814 GB, free: 8.91 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.6734, allocations: 0.5967 MB / 0.782 GB, free: 8.578 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009016/0.6743, allocations: 1.031 MB / 0.783 GB, free: 7.859 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.6783, allocations: 3.472 MB / 0.7864 GB, free: 6.055 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6784, allocations: 0.75 kB / 0.7864 GB, free: 6.055 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6784, allocations: 0 / 0.7864 GB, free: 6.055 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.71e-05/0.6784, allocations: 0 / 0.7864 GB, free: 6.055 MB / 0.5607 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.004103/0.6825, allocations: 2.947 MB / 0.7893 GB, free: 3.922 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6825, allocations: 9.094 kB / 0.7893 GB, free: 3.922 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.953e-05/0.6826, allocations: 33.23 kB / 0.7893 GB, free: 3.918 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.6827, allocations: 195.8 kB / 0.7895 GB, free: 3.762 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007486/0.6835, allocations: 299 kB / 0.7898 GB, free: 3.602 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.6869, allocations: 2.38 MB / 0.7921 GB, free: 1.98 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.687, allocations: 85.95 kB / 0.7922 GB, free: 1.941 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6871, allocations: 116.1 kB / 0.7923 GB, free: 1.898 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.6906, allocations: 2.072 MB / 0.7943 GB, free: 284 kB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.6906, allocations: 13.25 kB / 0.7944 GB, free: 276 kB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.6907, allocations: 53.69 kB / 0.7944 GB, free: 240 kB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.6908, allocations: 35.25 kB / 0.7944 GB, free: 240 kB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.694, allocations: 1.384 MB / 0.7958 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008868/0.7029, allocations: 9.937 MB / 0.8055 GB, free: 6.227 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.7061, allocations: 1.279 MB / 0.8067 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.7068, allocations: 436.6 kB / 0.8072 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.707, allocations: 72.55 kB / 0.8072 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002744/0.7097, allocations: 1.109 MB / 0.8083 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 3.868e-06/0.7097, allocations: 0 / 0.8083 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008069/0.7178, allocations: 2.717 MB / 0.811 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003422/0.7181, allocations: 0.6156 MB / 0.8116 GB, free: 1.23 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.7206, allocations: 1.77 MB / 0.8133 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.7207, allocations: 41.7 kB / 0.8133 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/0.7214, allocations: 0.8382 MB / 0.8142 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.722, allocations: 0.5925 MB / 0.8147 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000608/0.7226, allocations: 419.3 kB / 0.8151 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7227, allocations: 301.1 kB / 0.8154 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.7237, allocations: 0.5465 MB / 0.816 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.7253, allocations: 1.203 MB / 0.8171 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/0.73, allocations: 2.745 MB / 0.8198 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.73, allocations: 4 kB / 0.8198 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.003937/0.734, allocations: 2.143 MB / 0.8219 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.734, allocations: 45.69 kB / 0.822 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002738/0.7368, allocations: 1.413 MB / 0.8233 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/0.7372, allocations: 151.4 kB / 0.8235 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.7385, allocations: 467.2 kB / 0.8239 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.7394, allocations: 0.7677 MB / 0.8247 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.7406, allocations: 238.2 kB / 0.8249 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.7408, allocations: 119.9 kB / 0.825 GB, free: 2.805 MB / 0.5919 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.001818/0.7426, allocations: 0.9178 MB / 0.8259 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001539/0.7442, allocations: 1.191 MB / 0.8271 GB, free: 416 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004459/0.7486, allocations: 2.704 MB / 0.8297 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.487e-06/0.7486, allocations: 4 kB / 0.8297 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.003767/0.7524, allocations: 2.109 MB / 0.8318 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.7524, allocations: 47.27 kB / 0.8318 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002374/0.7548, allocations: 1.32 MB / 0.8331 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.7551, allocations: 123.4 kB / 0.8332 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.7564, allocations: 475.2 kB / 0.8337 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.7588, allocations: 2.074 MB / 0.8357 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.76, allocations: 178.8 kB / 0.8359 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.7602, allocations: 123.9 kB / 0.836 GB, free: 6.891 MB / 0.6075 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.0005977/0.7608, allocations: 353.6 kB / 0.8363 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/0.7614, allocations: 222.5 kB / 0.8365 GB, free: 6.324 MB / 0.6075 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.003458/0.7649, allocations: 1.821 MB / 0.8383 GB, free: 4.598 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.417142053949647] Failed to read output from testmodel.py, exit status != 0: 0.9397957279579714 0.954613336 0.27327986000000004 Calling exit ...