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.01165/0.01165, allocations: 2.33 MB / 21.18 MB, free: 3.527 MB / 13.93 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.0007562/0.0007562, allocations: 120.8 kB / 24.89 MB, free: 236 kB / 13.93 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.0008885/0.0008885, allocations: 210.5 kB / 28.73 MB, free: 1.039 MB / 18.57 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.99/0.99, allocations: 230.6 MB / 263 MB, free: 6.832 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7734/0.7734, allocations: 130.7 MB / 450.7 MB, free: 9.746 MB / 346.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID,fileNamePrefix="ClaRa_dev_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_dev_ClaRa_Components_Utilities_Blocks_Check_test_2_LimPID",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.04746/0.04746, allocations: 29.94 MB / 0.6466 GB, free: 27.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1611, allocations: 82.04 MB / 0.7267 GB, free: 11.82 MB / 0.5418 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.08981/0.2509, allocations: 42.08 MB / 0.7678 GB, free: 1.668 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.2628, allocations: 12.58 MB / 0.7801 GB, free: 5.055 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.2634, allocations: 47.62 kB / 0.7801 GB, free: 5.008 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.2651, allocations: 0.9635 MB / 0.7811 GB, free: 4.039 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.2661, allocations: 0.8816 MB / 0.7819 GB, free: 3.152 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.2679, allocations: 1.597 MB / 0.7835 GB, free: 1.551 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.2697, allocations: 2.462 MB / 0.7859 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000743/0.2705, allocations: 0.8527 MB / 0.7867 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.2712, allocations: 1.015 MB / 0.7877 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009235/0.2722, allocations: 1.075 MB / 0.7888 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.2723, allocations: 184 kB / 0.7889 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.2734, allocations: 0.9786 MB / 0.7899 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.2738, allocations: 0.5994 MB / 0.7905 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.2742, allocations: 0.7806 MB / 0.7912 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.2765, allocations: 3.401 MB / 0.7946 GB, free: 6.133 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2765, allocations: 0 / 0.7946 GB, free: 6.133 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2765, allocations: 3.938 kB / 0.7946 GB, free: 6.129 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.2765, allocations: 0 / 0.7946 GB, free: 6.129 MB / 0.6043 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.002621/0.2791, allocations: 2.946 MB / 0.7974 GB, free: 3.125 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2792, allocations: 8.031 kB / 0.7975 GB, free: 3.117 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.2793, allocations: 195.2 kB / 0.7976 GB, free: 2.918 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.2798, allocations: 299.2 kB / 0.7979 GB, free: 2.625 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.2822, allocations: 2.367 MB / 0.8002 GB, free: 220 kB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.2823, allocations: 90.06 kB / 0.8003 GB, free: 128 kB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.2824, allocations: 108 kB / 0.8004 GB, free: 20 kB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.2848, allocations: 2.331 MB / 0.8027 GB, free: 13.32 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2849, allocations: 11.88 kB / 0.8027 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.2849, allocations: 52 kB / 0.8028 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.285, allocations: 32 kB / 0.8028 GB, free: 13.22 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.2871, allocations: 1.414 MB / 0.8042 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.2919, allocations: 9.502 MB / 0.8135 GB, free: 1.918 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.2938, allocations: 1.305 MB / 0.8147 GB, free: 0.5039 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.2942, allocations: 466.3 kB / 0.8152 GB, free: 12 kB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.2944, allocations: 72.5 kB / 0.8152 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.296, allocations: 1.143 MB / 0.8164 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=175): time 2.184e-06/0.296, allocations: 0 / 0.8164 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175): time 0.004655/0.3007, allocations: 2.771 MB / 0.8191 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.3008, allocations: 0.6091 MB / 0.8197 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.3023, allocations: 1.797 MB / 0.8214 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.3024, allocations: 49.64 kB / 0.8215 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.3028, allocations: 0.8437 MB / 0.8223 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.3031, allocations: 0.6003 MB / 0.8229 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.3035, allocations: 415.3 kB / 0.8233 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.3035, allocations: 305.1 kB / 0.8236 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.3042, allocations: 0.5774 MB / 0.8241 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.3053, allocations: 1.312 MB / 0.8254 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.3081, allocations: 2.748 MB / 0.8281 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3081, allocations: 8 kB / 0.8281 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.203/0.5111, allocations: 2.178 MB / 0.8302 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.5111, allocations: 44.81 kB / 0.8303 GB, free: 169.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001975/0.5131, allocations: 1.45 MB / 0.8317 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.5134, allocations: 152.1 kB / 0.8318 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.5142, allocations: 472 kB / 0.8323 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/0.5146, allocations: 0.7726 MB / 0.833 GB, free: 168.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/0.5153, allocations: 214.2 kB / 0.8332 GB, free: 168.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.5155, allocations: 125.7 kB / 0.8334 GB, free: 168.9 MB / 0.6355 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.001141/0.5166, allocations: 0.9457 MB / 0.8343 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007678/0.5174, allocations: 1.297 MB / 0.8355 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002485/0.5198, allocations: 2.717 MB / 0.8382 GB, free: 165.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/0.5199, allocations: 5.625 kB / 0.8382 GB, free: 165.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.002233/0.5221, allocations: 2.147 MB / 0.8403 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.5221, allocations: 45.66 kB / 0.8403 GB, free: 165 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001443/0.5236, allocations: 1.362 MB / 0.8417 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.5237, allocations: 125 kB / 0.8418 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.5245, allocations: 475.6 kB / 0.8422 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.5257, allocations: 2.058 MB / 0.8443 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.5261, allocations: 176.2 kB / 0.8444 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5263, allocations: 123.5 kB / 0.8445 GB, free: 162.7 MB / 0.6355 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.0003572/0.5266, allocations: 352.9 kB / 0.8449 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.5268, allocations: 220.9 kB / 0.8451 GB, free: 162.3 MB / 0.6355 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.00209/0.5289, allocations: 1.84 MB / 0.8469 GB, free: 161.7 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4974433397874236]