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.01465/0.01465, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001593/0.001593, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001677/0.001677, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.485/1.485, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.1/1.1, allocations: 130.7 MB / 449.6 MB, free: 6.422 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.06905/0.06905, allocations: 21 MB / 0.6358 GB, free: 4.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.2277, allocations: 81.9 MB / 0.7158 GB, free: 2.703 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.5335/0.7611, allocations: 48.59 MB / 0.7633 GB, free: 18.29 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.7895, allocations: 16.75 MB / 0.7796 GB, free: 6.609 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006249/0.7958, allocations: 107.3 kB / 0.7797 GB, free: 6.555 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.006285/0.8021, allocations: 1.777 MB / 0.7815 GB, free: 5.727 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009283/0.8113, allocations: 2.615 MB / 0.784 GB, free: 4.172 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008773/0.8201, allocations: 3.063 MB / 0.787 GB, free: 2.469 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.8329, allocations: 6.448 MB / 0.7933 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005278/0.8381, allocations: 2.001 MB / 0.7953 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/0.8462, allocations: 2.642 MB / 0.7979 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006997/0.8532, allocations: 2.633 MB / 0.8004 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.8556, allocations: 425.3 kB / 0.8008 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007135/0.8627, allocations: 1.689 MB / 0.8025 GB, free: 9.383 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002848/0.8656, allocations: 1.296 MB / 0.8037 GB, free: 8.148 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004995/0.8706, allocations: 1.811 MB / 0.8055 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.8853, allocations: 7.059 MB / 0.8124 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8853, allocations: 4 kB / 0.8124 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8853, allocations: 1.312 kB / 0.8124 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002656/0.8856, allocations: 0 / 0.8124 GB, free: 15.24 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.01311/0.8987, allocations: 5.146 MB / 0.8174 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.8988, allocations: 8.031 kB / 0.8174 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006806/0.8994, allocations: 432.7 kB / 0.8179 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.9014, allocations: 0.6326 MB / 0.8185 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/0.9094, allocations: 3.843 MB / 0.8222 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.9096, allocations: 185.2 kB / 0.8224 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.9099, allocations: 246.6 kB / 0.8226 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.9234, allocations: 6.296 MB / 0.8288 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.869e-05/0.9235, allocations: 35.69 kB / 0.8288 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.9238, allocations: 124 kB / 0.8289 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/0.9239, allocations: 84 kB / 0.829 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.9353, allocations: 4.167 MB / 0.8331 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/0.9645, allocations: 25.7 MB / 0.8582 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008961/0.9734, allocations: 3.053 MB / 0.8612 GB, free: 11.17 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.9756, allocations: 1.098 MB / 0.8622 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/0.9765, allocations: 230.5 kB / 0.8625 GB, free: 9.797 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007956/0.9845, allocations: 2.987 MB / 0.8654 GB, free: 6.695 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 6.743e-06/0.9845, allocations: 3.094 kB / 0.8654 GB, free: 6.695 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.01954/1.004, allocations: 6.64 MB / 0.8719 GB, free: 8 kB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007081/1.005, allocations: 0.8501 MB / 0.8727 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/1.012, allocations: 3.729 MB / 0.8763 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008211/1.013, allocations: 61.69 kB / 0.8764 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.015, allocations: 1.788 MB / 0.8781 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002134/1.017, allocations: 1.518 MB / 0.8796 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/1.019, allocations: 1.034 MB / 0.8806 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.019, allocations: 301.1 kB / 0.8809 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.022, allocations: 1.593 MB / 0.8825 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/1.027, allocations: 3.372 MB / 0.8858 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/1.036, allocations: 5.209 MB / 0.8909 GB, free: 10.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.194e-05/1.036, allocations: 16 kB / 0.8909 GB, free: 10.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01217/1.048, allocations: 5.536 MB / 0.8963 GB, free: 5.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.048, allocations: 131.7 kB / 0.8964 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007426/1.056, allocations: 3.768 MB / 0.9001 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/1.056, allocations: 82.69 kB / 0.9002 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/1.06, allocations: 1.275 MB / 0.9014 GB, free: 15.92 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/1.06, allocations: 114.3 kB / 0.9015 GB, free: 15.81 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.064, allocations: 0.609 MB / 0.9021 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008418/1.065, allocations: 347.8 kB / 0.9024 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005349/1.071, allocations: 2.29 MB / 0.9047 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005212/1.076, allocations: 3.336 MB / 0.9079 GB, free: 8.406 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008718/1.085, allocations: 5.156 MB / 0.913 GB, free: 2.559 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.157e-05/1.085, allocations: 19.94 kB / 0.913 GB, free: 2.539 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.012/1.097, allocations: 5.477 MB / 0.9183 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/1.097, allocations: 121.1 kB / 0.9185 GB, free: 12.92 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007217/1.104, allocations: 3.704 MB / 0.9221 GB, free: 9.191 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/1.104, allocations: 80 kB / 0.9221 GB, free: 9.113 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.108, allocations: 1.275 MB / 0.9234 GB, free: 7.836 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001764/1.109, allocations: 115.7 kB / 0.9235 GB, free: 7.723 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/1.112, allocations: 0.4892 MB / 0.924 GB, free: 7.238 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007175/1.113, allocations: 334.4 kB / 0.9243 GB, free: 6.914 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.00162/1.115, allocations: 0.588 MB / 0.9249 GB, free: 6.301 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.116, allocations: 480.7 kB / 0.9253 GB, free: 5.828 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.009382/1.126, allocations: 4.565 MB / 0.9298 GB, free: 1.586 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.1163896708749235] Failed to read output from testmodel.py, exit status != 0: 1.3229888756759465 1.340798988 0.451768985 Calling exit ...