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.01243/0.01243, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.00153/0.00153, allocations: 102.7 kB / 24.18 MB, free: 2.18 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.002014/0.002014, allocations: 217.8 kB / 27.9 MB, free: 3.504 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.411/1.411, allocations: 230.6 MB / 262.1 MB, free: 5.852 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.059/1.059, allocations: 130.7 MB / 449.7 MB, free: 6.395 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: translateModel(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID") translateModel(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID") [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.06565/0.06565, allocations: 20.99 MB / 0.6364 GB, free: 4.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.2092, allocations: 81.91 MB / 0.7163 GB, free: 2.191 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.4609/0.6701, allocations: 42.06 MB / 0.7574 GB, free: 23.93 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.6877, allocations: 12.57 MB / 0.7697 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.6892, allocations: 50 kB / 0.7697 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.6919, allocations: 0.9659 MB / 0.7707 GB, free: 14.92 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.6944, allocations: 0.879 MB / 0.7715 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.6985, allocations: 1.585 MB / 0.7731 GB, free: 13.58 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.7019, allocations: 2.465 MB / 0.7755 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.7032, allocations: 0.8518 MB / 0.7763 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.7044, allocations: 1.012 MB / 0.7773 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.7057, allocations: 1.074 MB / 0.7784 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.706, allocations: 184.8 kB / 0.7785 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.7082, allocations: 0.9814 MB / 0.7795 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.7087, allocations: 0.5972 MB / 0.7801 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.7093, allocations: 0.785 MB / 0.7808 GB, free: 9.945 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.7128, allocations: 3.403 MB / 0.7842 GB, free: 8.129 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7128, allocations: 0 / 0.7842 GB, free: 8.129 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7128, allocations: 0 / 0.7842 GB, free: 8.129 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.7128, allocations: 1.094 kB / 0.7842 GB, free: 8.129 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.003875/0.7167, allocations: 2.947 MB / 0.787 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.7167, allocations: 8.375 kB / 0.7871 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.7174, allocations: 305.8 kB / 0.7873 GB, free: 5.832 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.7209, allocations: 2.372 MB / 0.7897 GB, free: 4.215 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.721, allocations: 87.83 kB / 0.7898 GB, free: 4.172 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.7212, allocations: 112 kB / 0.7899 GB, free: 4.133 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.7246, allocations: 2.333 MB / 0.7921 GB, free: 2.191 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.7247, allocations: 13.44 kB / 0.7921 GB, free: 2.184 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.7248, allocations: 50.12 kB / 0.7922 GB, free: 2.152 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.7248, allocations: 34.75 kB / 0.7922 GB, free: 2.152 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.7278, allocations: 1.405 MB / 0.7936 GB, free: 1.449 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/0.7365, allocations: 9.341 MB / 0.8027 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.7399, allocations: 1.296 MB / 0.804 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007492/0.7406, allocations: 470.8 kB / 0.8044 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.7408, allocations: 63.84 kB / 0.8045 GB, free: 7.535 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002802/0.7436, allocations: 1.154 MB / 0.8056 GB, free: 6.75 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 3.847e-06/0.7436, allocations: 3.938 kB / 0.8056 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008481/0.7521, allocations: 2.777 MB / 0.8083 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003757/0.7525, allocations: 0.6052 MB / 0.8089 GB, free: 3.219 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.7555, allocations: 1.728 MB / 0.8106 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.7557, allocations: 48.36 kB / 0.8107 GB, free: 1.391 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008383/0.7565, allocations: 0.839 MB / 0.8115 GB, free: 0.543 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007236/0.7573, allocations: 0.5925 MB / 0.8121 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006444/0.7579, allocations: 415.3 kB / 0.8125 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7581, allocations: 309.1 kB / 0.8128 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.7591, allocations: 0.5768 MB / 0.8133 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.7609, allocations: 1.319 MB / 0.8146 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.766, allocations: 2.747 MB / 0.8173 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.766, allocations: 8 kB / 0.8173 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004205/0.7702, allocations: 2.172 MB / 0.8194 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.7703, allocations: 45.69 kB / 0.8195 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00283/0.7731, allocations: 1.452 MB / 0.8209 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/0.7736, allocations: 149.3 kB / 0.821 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.7749, allocations: 467.2 kB / 0.8215 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009229/0.7759, allocations: 0.7741 MB / 0.8222 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7772, allocations: 210.5 kB / 0.8224 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.7774, allocations: 119.9 kB / 0.8225 GB, free: 4.539 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.001919/0.7793, allocations: 0.9572 MB / 0.8235 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00166/0.781, allocations: 1.297 MB / 0.8247 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004653/0.7856, allocations: 2.72 MB / 0.8274 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.267e-06/0.7856, allocations: 4 kB / 0.8274 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.003902/0.7895, allocations: 2.137 MB / 0.8295 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.7896, allocations: 49.62 kB / 0.8295 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002415/0.792, allocations: 1.362 MB / 0.8309 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.7923, allocations: 120.1 kB / 0.831 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.7936, allocations: 475.2 kB / 0.8314 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.796, allocations: 2.034 MB / 0.8334 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7972, allocations: 181.5 kB / 0.8336 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.7974, allocations: 120 kB / 0.8337 GB, free: 8.379 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.0005857/0.7979, allocations: 356 kB / 0.834 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.7983, allocations: 217.2 kB / 0.8343 GB, free: 7.809 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.003307/0.8016, allocations: 1.839 MB / 0.836 GB, free: 6.059 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.564984738826752] Failed to read output from testmodel.py, exit status != 0: 1.0072818212211132 1.022122607 0.306347148 Calling exit ...