Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible.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.01068/0.01068, allocations: 1.761 MB / 20.59 MB, free: 1.129 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.001354/0.001354, allocations: 105.2 kB / 24.18 MB, free: 2.637 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.001702/0.001702, allocations: 212 kB / 27.92 MB, free: 3.938 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.562/1.562, allocations: 230.6 MB / 262.1 MB, free: 6.016 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.114/1.114, allocations: 130.7 MB / 449.7 MB, free: 6.555 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.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_incompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_incompressible",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: 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.03138/0.03138, allocations: 20.79 MB / 0.6357 GB, free: 5.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.2137, allocations: 81.9 MB / 0.7157 GB, free: 3.164 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.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.5896/0.8033, allocations: 50.86 MB / 0.7654 GB, free: 16.95 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.8317, allocations: 17.54 MB / 0.7825 GB, free: 4.414 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005957/0.8376, allocations: 107.8 kB / 0.7826 GB, free: 4.363 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.006149/0.8438, allocations: 1.816 MB / 0.7844 GB, free: 3.5 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009856/0.8536, allocations: 2.615 MB / 0.7869 GB, free: 1.934 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008729/0.8623, allocations: 3.066 MB / 0.7899 GB, free: 252 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.8759, allocations: 6.45 MB / 0.7962 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004371/0.8802, allocations: 1.852 MB / 0.7981 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/0.8868, allocations: 2.641 MB / 0.8006 GB, free: 9.602 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006607/0.8934, allocations: 2.817 MB / 0.8034 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.8954, allocations: 424.4 kB / 0.8038 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/0.9021, allocations: 2.098 MB / 0.8058 GB, free: 6.832 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002429/0.9045, allocations: 1.305 MB / 0.8071 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004328/0.9088, allocations: 2.339 MB / 0.8094 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.9226, allocations: 7.134 MB / 0.8164 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9226, allocations: 0 / 0.8164 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9226, allocations: 0 / 0.8164 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001818/0.9228, allocations: 0 / 0.8164 GB, free: 12.18 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: 881 * Number of variables: 881 Notification: Performance of Generate backend data structure: time 0.01059/0.9334, allocations: 5.144 MB / 0.8214 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.9334, allocations: 12.03 kB / 0.8214 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006155/0.934, allocations: 432.7 kB / 0.8218 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.9359, allocations: 0.6288 MB / 0.8224 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008462/0.9443, allocations: 3.848 MB / 0.8262 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.9445, allocations: 185.2 kB / 0.8264 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.9449, allocations: 235.9 kB / 0.8266 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.9578, allocations: 5.603 MB / 0.8321 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.866e-05/0.9579, allocations: 41.08 kB / 0.8321 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.9582, allocations: 124.7 kB / 0.8322 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.908e-05/0.9583, allocations: 84 kB / 0.8323 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.9695, allocations: 4.093 MB / 0.8363 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/1, allocations: 26.9 MB / 0.8626 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/1.01, allocations: 2.985 MB / 0.8655 GB, free: 8.023 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/1.013, allocations: 0.9962 MB / 0.8664 GB, free: 6.988 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.014, allocations: 249.5 kB / 0.8667 GB, free: 6.754 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009072/1.023, allocations: 2.901 MB / 0.8695 GB, free: 3.766 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 1.377e-05/1.023, allocations: 2.656 kB / 0.8695 GB, free: 3.766 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.02143/1.044, allocations: 6.432 MB / 0.8758 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000547/1.045, allocations: 0.8501 MB / 0.8766 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008623/1.053, allocations: 3.647 MB / 0.8802 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007643/1.054, allocations: 61.7 kB / 0.8802 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.056, allocations: 1.796 MB / 0.882 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00241/1.059, allocations: 1.512 MB / 0.8835 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003184/1.062, allocations: 1.031 MB / 0.8845 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.062, allocations: 305.1 kB / 0.8848 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.066, allocations: 1.499 MB / 0.8862 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/1.071, allocations: 3.122 MB / 0.8893 GB, free: 14.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009171/1.08, allocations: 5.198 MB / 0.8944 GB, free: 8.691 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.237e-05/1.08, allocations: 16 kB / 0.8944 GB, free: 8.676 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01262/1.093, allocations: 5.428 MB / 0.8997 GB, free: 3.258 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.093, allocations: 125.1 kB / 0.8998 GB, free: 3.117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007703/1.101, allocations: 3.648 MB / 0.9034 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/1.101, allocations: 80 kB / 0.9034 GB, free: 15.38 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/1.105, allocations: 1.279 MB / 0.9047 GB, free: 14.1 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001539/1.105, allocations: 115.6 kB / 0.9048 GB, free: 13.98 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.109, allocations: 0.6129 MB / 0.9054 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006875/1.11, allocations: 339.8 kB / 0.9057 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004898/1.115, allocations: 2.199 MB / 0.9079 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004811/1.12, allocations: 3.091 MB / 0.9109 GB, free: 7.043 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008449/1.128, allocations: 5.151 MB / 0.9159 GB, free: 1.242 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.927e-05/1.128, allocations: 12 kB / 0.9159 GB, free: 1.23 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01163/1.14, allocations: 5.361 MB / 0.9212 GB, free: 11.89 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.14, allocations: 126.5 kB / 0.9213 GB, free: 11.75 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007021/1.147, allocations: 3.582 MB / 0.9248 GB, free: 8.152 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/1.147, allocations: 80 kB / 0.9249 GB, free: 8.074 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/1.151, allocations: 1.271 MB / 0.9261 GB, free: 6.801 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001712/1.151, allocations: 115.6 kB / 0.9262 GB, free: 6.688 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.155, allocations: 497 kB / 0.9267 GB, free: 6.207 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000685/1.156, allocations: 331.8 kB / 0.927 GB, free: 5.883 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 24 (timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,$whenCondition3,valveEN_60534_incompressibleBackwards.pressureLoss.normIsValid,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,$whenCondition2,valveEN_60534_incompressible_checkValve.pressureLoss.normIsValid,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,valveEN_60534_incompressible.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 664 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001463/1.157, allocations: 0.601 MB / 0.9276 GB, free: 5.266 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.159, allocations: 484.7 kB / 0.9281 GB, free: 4.789 MB / 0.7013 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 200 equation(s) and 192 variable(s). Error: algorithm timeTable2.nextEvent := pre(timeTable2.nextEvent); timeTable2.last := pre(timeTable2.last); timeTable2.nextEventScaled := pre(timeTable2.nextEventScaled); timeTable2.b := pre(timeTable2.b); timeTable2.a := pre(timeTable2.a); $whenCondition3 := pre($whenCondition3); assert(not (timeTable2.table[1,1] > 0.0 or timeTable2.table[1,1] < 0.0), \"The first point in time has to be set to 0, but is table[1,1] = \" + String(timeTable2.table[1,1], 6, 0, true)); $whenCondition3 := time >= pre(timeTable2.nextEvent); when {$whenCondition3, false} then (timeTable2.a, timeTable2.b, timeTable2.nextEventScaled, timeTable2.last) := ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible.timeTable2.getInterpolationCoefficients(timeTable2.table, timeTable2.offset, timeTable2.startTime, timeTable2.timeScaled, timeTable2.last, 2.220446049250313e-14, timeTable2.shiftTime); timeTable2.nextEvent := timeTable2.nextEventScaled; end when; has size 6 but 2 variables (pressureSink_XRG3.fluidOut.h, pressureSink_XRG3.eye.h) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009179/1.168, allocations: 4.505 MB / 0.9325 GB, free: 0.5547 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.308901205193251] Failed to read output from testmodel.py, exit status != 0: 1.3598468059208244 1.37666908 0.45061214800000005 Calling exit ...