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.01/0.01, allocations: 1.345 MB / 21.03 MB, free: 0.7617 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.001223/0.001223, allocations: 78.83 kB / 24.58 MB, free: 2.137 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.00145/0.00145, allocations: 168.7 kB / 28.26 MB, free: 3.398 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.431/1.431, allocations: 177.2 MB / 209 MB, free: 7.535 MB / 190.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.006/1.006, allocations: 102.5 MB / 368.4 MB, free: 4.137 MB / 334.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.07122/0.07122, allocations: 20.95 MB / 0.5569 GB, free: 4.926 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.2111, allocations: 81.88 MB / 0.6369 GB, free: 2.906 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.1332/0.3444, allocations: 34.64 MB / 0.6707 GB, free: 320 kB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02011/0.3645, allocations: 12.59 MB / 0.683 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.3658, allocations: 43.69 kB / 0.683 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.3686, allocations: 0.9635 MB / 0.684 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.371, allocations: 0.8855 MB / 0.6848 GB, free: 1.785 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.3746, allocations: 1.582 MB / 0.6864 GB, free: 204 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.3133/0.688, allocations: 2.459 MB / 0.6888 GB, free: 19.24 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.6895, allocations: 0.8518 MB / 0.6896 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.691, allocations: 1.012 MB / 0.6906 GB, free: 18.98 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.6929, allocations: 1.068 MB / 0.6917 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.6933, allocations: 186.8 kB / 0.6918 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.6956, allocations: 0.9783 MB / 0.6928 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007132/0.6963, allocations: 0.6002 MB / 0.6934 GB, free: 18.63 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.6976, allocations: 0.784 MB / 0.6941 GB, free: 18.37 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009037/0.7066, allocations: 3.407 MB / 0.6975 GB, free: 17.85 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7067, allocations: 0.5 kB / 0.6975 GB, free: 17.85 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7067, allocations: 3.125 kB / 0.6975 GB, free: 17.85 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.455e-05/0.7068, allocations: 0 / 0.6975 GB, free: 17.85 MB / 0.5763 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.006311/0.7131, allocations: 2.939 MB / 0.7003 GB, free: 16.5 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7131, allocations: 10.23 kB / 0.7003 GB, free: 16.5 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.714, allocations: 302.3 kB / 0.7006 GB, free: 16.37 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.7182, allocations: 2.369 MB / 0.703 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.7183, allocations: 87.23 kB / 0.703 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.7184, allocations: 112.7 kB / 0.7031 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.7225, allocations: 2.34 MB / 0.7054 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.7226, allocations: 14.41 kB / 0.7054 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.7227, allocations: 53.09 kB / 0.7055 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.7227, allocations: 34.38 kB / 0.7055 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.7259, allocations: 1.402 MB / 0.7069 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006495/0.7324, allocations: 9.322 MB / 0.716 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.7355, allocations: 1.31 MB / 0.7173 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.7362, allocations: 473.2 kB / 0.7177 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.7363, allocations: 58.31 kB / 0.7178 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/0.7388, allocations: 1.148 MB / 0.7189 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 4.007e-06/0.7388, allocations: 1.281 kB / 0.7189 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.008185/0.747, allocations: 2.778 MB / 0.7216 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.7471, allocations: 0.6089 MB / 0.7222 GB, free: 3.941 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.7497, allocations: 1.726 MB / 0.7239 GB, free: 3.223 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.7499, allocations: 46.77 kB / 0.7239 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.7505, allocations: 0.8416 MB / 0.7248 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.7509, allocations: 0.5934 MB / 0.7253 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/0.7515, allocations: 419.5 kB / 0.7257 GB, free: 1.844 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.7516, allocations: 310.5 kB / 0.726 GB, free: 1.539 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/0.7525, allocations: 0.579 MB / 0.7266 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.7538, allocations: 1.314 MB / 0.7279 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.759, allocations: 2.753 MB / 0.7306 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/0.759, allocations: 6.5 kB / 0.7306 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.00455/0.7636, allocations: 2.17 MB / 0.7327 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.7636, allocations: 52.88 kB / 0.7328 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002925/0.7665, allocations: 1.445 MB / 0.7342 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.7671, allocations: 152.6 kB / 0.7343 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7684, allocations: 467.9 kB / 0.7348 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/0.7693, allocations: 0.773 MB / 0.7355 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.7708, allocations: 218.9 kB / 0.7357 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/0.771, allocations: 127.1 kB / 0.7358 GB, free: 11.36 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.002015/0.7731, allocations: 0.946 MB / 0.7368 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001666/0.7747, allocations: 1.299 MB / 0.738 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004695/0.7794, allocations: 2.714 MB / 0.7407 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.438e-05/0.7794, allocations: 6.594 kB / 0.7407 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004221/0.7837, allocations: 2.141 MB / 0.7428 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.7837, allocations: 44.77 kB / 0.7428 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002488/0.7862, allocations: 1.365 MB / 0.7442 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.7865, allocations: 123.6 kB / 0.7443 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7878, allocations: 468.9 kB / 0.7447 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.7902, allocations: 2.031 MB / 0.7467 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7917, allocations: 183 kB / 0.7469 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.7919, allocations: 125.1 kB / 0.747 GB, free: 3.699 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: 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.0008106/0.7928, allocations: 352.7 kB / 0.7473 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/0.7935, allocations: 219.3 kB / 0.7475 GB, free: 3.258 MB / 0.5919 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.003644/0.7972, allocations: 1.835 MB / 0.7493 GB, free: 2.246 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.42642661894206] Failed to read output from testmodel.py, exit status != 0: 0.9725718140834942 0.987613141 0.277723257 Calling exit ...