Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01003/0.01003, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001131/0.001131, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.001366/0.001366, allocations: 206 kB / 28.71 MB, free: 3.461 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.391/1.391, allocations: 230.6 MB / 262.9 MB, free: 6.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.02/1.02, allocations: 130.7 MB / 450.4 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_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.03177/0.03177, allocations: 20.6 MB / 0.6368 GB, free: 4.832 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.2059, allocations: 81.9 MB / 0.7168 GB, free: 2.848 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.4515/0.6574, allocations: 43 MB / 0.7588 GB, free: 23.23 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.6737, allocations: 13.25 MB / 0.7717 GB, free: 14 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.6753, allocations: 50.09 kB / 0.7718 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.678, allocations: 1.004 MB / 0.7727 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.6801, allocations: 0.8796 MB / 0.7736 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.6836, allocations: 1.59 MB / 0.7752 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.6864, allocations: 2.462 MB / 0.7776 GB, free: 10.96 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6874, allocations: 0.8014 MB / 0.7783 GB, free: 10.56 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.6885, allocations: 1.01 MB / 0.7793 GB, free: 10.09 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.6898, allocations: 1.147 MB / 0.7804 GB, free: 9.551 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.69, allocations: 185.7 kB / 0.7806 GB, free: 9.551 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.6923, allocations: 1.311 MB / 0.7819 GB, free: 9.156 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.6928, allocations: 0.5996 MB / 0.7825 GB, free: 8.824 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.6934, allocations: 1.03 MB / 0.7835 GB, free: 8.102 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.6971, allocations: 3.469 MB / 0.7869 GB, free: 6.211 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6971, allocations: 1.406 kB / 0.7869 GB, free: 6.211 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6971, allocations: 2.656 kB / 0.7869 GB, free: 6.211 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.6971, allocations: 0 / 0.7869 GB, free: 6.211 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.003885/0.701, allocations: 2.947 MB / 0.7898 GB, free: 4.078 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7011, allocations: 8.562 kB / 0.7898 GB, free: 4.078 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.7018, allocations: 302.9 kB / 0.7901 GB, free: 3.914 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.7051, allocations: 2.374 MB / 0.7924 GB, free: 2.301 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.7052, allocations: 87.11 kB / 0.7925 GB, free: 2.258 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7053, allocations: 118.7 kB / 0.7926 GB, free: 2.215 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.7088, allocations: 2.066 MB / 0.7946 GB, free: 0.5977 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.7088, allocations: 13.22 kB / 0.7946 GB, free: 0.5898 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.7089, allocations: 54.62 kB / 0.7947 GB, free: 0.5547 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.7089, allocations: 41.02 kB / 0.7947 GB, free: 0.5508 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/0.712, allocations: 1.375 MB / 0.796 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009088/0.7211, allocations: 9.942 MB / 0.8058 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.7244, allocations: 1.274 MB / 0.807 GB, free: 5.754 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.7251, allocations: 442.1 kB / 0.8074 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.7253, allocations: 70 kB / 0.8075 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00273/0.728, allocations: 1.115 MB / 0.8086 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=175): time 3.477e-06/0.728, allocations: 0 / 0.8086 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=175): time 0.00824/0.7362, allocations: 2.72 MB / 0.8112 GB, free: 2.125 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003595/0.7366, allocations: 0.6078 MB / 0.8118 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.7391, allocations: 1.766 MB / 0.8135 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.7392, allocations: 46.92 kB / 0.8136 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.74, allocations: 0.8382 MB / 0.8144 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.7405, allocations: 0.5925 MB / 0.815 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006209/0.7411, allocations: 419.3 kB / 0.8154 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7413, allocations: 305.1 kB / 0.8157 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.7423, allocations: 0.5504 MB / 0.8162 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.7439, allocations: 1.199 MB / 0.8174 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/0.7488, allocations: 2.747 MB / 0.8201 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7488, allocations: 4 kB / 0.8201 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004067/0.7529, allocations: 2.146 MB / 0.8222 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.7529, allocations: 45.7 kB / 0.8222 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00281/0.7558, allocations: 1.402 MB / 0.8236 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.7562, allocations: 152.2 kB / 0.8237 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7575, allocations: 471.2 kB / 0.8242 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/0.7584, allocations: 0.774 MB / 0.8249 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7597, allocations: 222.3 kB / 0.8251 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.7599, allocations: 127.9 kB / 0.8253 GB, free: 2.953 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.001767/0.7616, allocations: 0.9139 MB / 0.8262 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001579/0.7632, allocations: 1.191 MB / 0.8273 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004615/0.7678, allocations: 2.705 MB / 0.83 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.314e-05/0.7678, allocations: 10.66 kB / 0.83 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.003894/0.7717, allocations: 2.103 MB / 0.832 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.7718, allocations: 51.72 kB / 0.8321 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002446/0.7742, allocations: 1.319 MB / 0.8334 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.7745, allocations: 122.5 kB / 0.8335 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.7759, allocations: 475.2 kB / 0.8339 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.7782, allocations: 2.074 MB / 0.836 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.7794, allocations: 186.7 kB / 0.8361 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.7796, allocations: 122.6 kB / 0.8363 GB, free: 7.039 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.0005921/0.7802, allocations: 341.3 kB / 0.8366 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.7806, allocations: 226.5 kB / 0.8368 GB, free: 6.469 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.003314/0.7839, allocations: 1.82 MB / 0.8386 GB, free: 4.75 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.44326224992983] Failed to read output from testmodel.py, exit status != 0: 0.9637649119831622 0.978617864 0.27846831899999996 Calling exit ...