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.01354/0.01354, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001454/0.001454, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001947/0.001947, allocations: 206.6 kB / 24.75 MB, free: 3.715 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.071/1.071, allocations: 130.6 MB / 445.6 MB, free: 14.6 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="me",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="me",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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3998/0.3998, allocations: 46.15 MB / 0.6545 GB, free: 30.34 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.5591, allocations: 89.06 MB / 0.7414 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.test_2_LimPID): time 0.01239/0.5714, allocations: 10.04 MB / 0.7513 GB, free: 8.59 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.591, allocations: 13.04 MB / 0.764 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.5926, allocations: 43.69 kB / 0.764 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.5955, allocations: 0.9946 MB / 0.765 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.5979, allocations: 0.8582 MB / 0.7658 GB, free: 9.598 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.6016, allocations: 1.534 MB / 0.7673 GB, free: 8.062 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.6052, allocations: 2.467 MB / 0.7697 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.6066, allocations: 0.8177 MB / 0.7705 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.6081, allocations: 1.012 MB / 0.7715 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.6097, allocations: 1.134 MB / 0.7726 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.61, allocations: 184 kB / 0.7728 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.6123, allocations: 1.259 MB / 0.774 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0005706/0.6129, allocations: 0.5916 MB / 0.7746 GB, free: 0.5469 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6139, allocations: 1.029 MB / 0.7756 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.6185, allocations: 3.463 MB / 0.779 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6185, allocations: 4 kB / 0.779 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6185, allocations: 0 / 0.779 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.831e-05/0.6185, allocations: 0 / 0.779 GB, free: 12.03 MB / 0.5919 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.004457/0.623, allocations: 2.77 MB / 0.7817 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.623, allocations: 8.031 kB / 0.7817 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/0.6232, allocations: 195.2 kB / 0.7819 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008203/0.624, allocations: 303.2 kB / 0.7822 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.6281, allocations: 2.487 MB / 0.7846 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.6281, allocations: 90.06 kB / 0.7847 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.6283, allocations: 112 kB / 0.7848 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.6325, allocations: 2.072 MB / 0.7868 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.6325, allocations: 15.86 kB / 0.7869 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6326, allocations: 52 kB / 0.7869 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.6326, allocations: 36 kB / 0.7869 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.6361, allocations: 1.377 MB / 0.7883 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009422/0.6455, allocations: 9.992 MB / 0.7981 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.649, allocations: 1.286 MB / 0.7993 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.6497, allocations: 436.5 kB / 0.7997 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.6499, allocations: 68.45 kB / 0.7998 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.6527, allocations: 1.114 MB / 0.8009 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=175): time 4.037e-06/0.6527, allocations: 0 / 0.8009 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=175): time 0.008623/0.6613, allocations: 2.804 MB / 0.8036 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003557/0.6617, allocations: 0.6017 MB / 0.8042 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.6644, allocations: 1.778 MB / 0.8059 GB, free: 15.18 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.6646, allocations: 41.7 kB / 0.806 GB, free: 15.13 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.6654, allocations: 0.8356 MB / 0.8068 GB, free: 14.28 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.666, allocations: 0.5886 MB / 0.8074 GB, free: 13.69 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/0.6666, allocations: 419.3 kB / 0.8078 GB, free: 13.27 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6668, allocations: 301.1 kB / 0.8081 GB, free: 12.98 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.6678, allocations: 0.5478 MB / 0.8086 GB, free: 12.42 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.6695, allocations: 1.204 MB / 0.8098 GB, free: 10.91 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005019/0.6745, allocations: 2.744 MB / 0.8124 GB, free: 7.84 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.6745, allocations: 4 kB / 0.8124 GB, free: 7.836 MB / 0.6232 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004232/0.6787, allocations: 2.146 MB / 0.8145 GB, free: 5.672 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.6788, allocations: 46.62 kB / 0.8146 GB, free: 5.621 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002813/0.6816, allocations: 1.41 MB / 0.816 GB, free: 4.199 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.6821, allocations: 148.8 kB / 0.8161 GB, free: 4.051 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6834, allocations: 467.2 kB / 0.8166 GB, free: 3.594 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009014/0.6843, allocations: 0.7742 MB / 0.8173 GB, free: 2.797 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6856, allocations: 234.3 kB / 0.8175 GB, free: 2.566 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.6858, allocations: 124.2 kB / 0.8177 GB, free: 2.445 MB / 0.6232 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.001805/0.6876, allocations: 0.9139 MB / 0.8185 GB, free: 1.527 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001551/0.6891, allocations: 1.185 MB / 0.8197 GB, free: 40 kB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004726/0.6939, allocations: 2.701 MB / 0.8223 GB, free: 13.02 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.257e-05/0.6939, allocations: 4 kB / 0.8223 GB, free: 13.02 MB / 0.6388 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.004157/0.698, allocations: 2.115 MB / 0.8244 GB, free: 10.89 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.6981, allocations: 45.69 kB / 0.8245 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002456/0.7006, allocations: 1.329 MB / 0.8257 GB, free: 9.496 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.7009, allocations: 116.8 kB / 0.8259 GB, free: 9.379 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.7022, allocations: 475.2 kB / 0.8263 GB, free: 8.914 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.7046, allocations: 2.179 MB / 0.8284 GB, free: 6.594 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7059, allocations: 174.8 kB / 0.8286 GB, free: 6.422 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.7061, allocations: 127.9 kB / 0.8287 GB, free: 6.297 MB / 0.6388 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.0006199/0.7067, allocations: 349.1 kB / 0.8291 GB, free: 5.941 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/0.7072, allocations: 218.5 kB / 0.8293 GB, free: 5.727 MB / 0.6388 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.003439/0.7107, allocations: 1.821 MB / 0.8311 GB, free: 3.875 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.346094816995901] Failed to read output from testmodel.py, exit status != 0: 0.7181414740043692 0.731242076 0.10992384100000001 Calling exit ...