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.01046/0.01046, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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: 107.5 kB / 24.98 MB, free: 2.156 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.001574/0.001574, allocations: 204 kB / 28.71 MB, free: 3.441 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.481/1.481, allocations: 230.6 MB / 262.9 MB, free: 6.039 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.036/1.036, allocations: 130.7 MB / 450.5 MB, free: 6.562 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="cs",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="cs",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.03344/0.03344, allocations: 20.6 MB / 0.6363 GB, free: 5.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.2003, allocations: 81.91 MB / 0.7163 GB, free: 3.336 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.517/0.7173, allocations: 50.85 MB / 0.766 GB, free: 16.79 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.7449, allocations: 17.55 MB / 0.7831 GB, free: 4.25 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006385/0.7513, allocations: 104.2 kB / 0.7832 GB, free: 4.199 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.006066/0.7574, allocations: 1.822 MB / 0.785 GB, free: 3.34 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009306/0.7667, allocations: 2.611 MB / 0.7875 GB, free: 1.773 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008728/0.7754, allocations: 3.068 MB / 0.7905 GB, free: 120 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.7885, allocations: 6.453 MB / 0.7968 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/0.7927, allocations: 1.856 MB / 0.7986 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.799, allocations: 2.64 MB / 0.8012 GB, free: 9.477 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006239/0.8052, allocations: 2.814 MB / 0.804 GB, free: 7.68 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.8071, allocations: 425 kB / 0.8044 GB, free: 7.68 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006866/0.814, allocations: 2.105 MB / 0.8064 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.8167, allocations: 1.3 MB / 0.8077 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005343/0.8221, allocations: 2.341 MB / 0.81 GB, free: 3.375 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.8365, allocations: 7.133 MB / 0.817 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8365, allocations: 0 / 0.817 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8365, allocations: 0 / 0.817 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002571/0.8367, allocations: 4.688 kB / 0.817 GB, free: 12.21 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.01086/0.8476, allocations: 5.141 MB / 0.822 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8476, allocations: 8.031 kB / 0.822 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.876e-05/0.8477, allocations: 73.03 kB / 0.8221 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005922/0.8483, allocations: 431.4 kB / 0.8225 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.85, allocations: 0.6261 MB / 0.8231 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/0.8576, allocations: 3.85 MB / 0.8268 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.8578, allocations: 189 kB / 0.827 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.8582, allocations: 232 kB / 0.8272 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.8711, allocations: 5.602 MB / 0.8327 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.047e-05/0.8712, allocations: 35.69 kB / 0.8327 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.8714, allocations: 124 kB / 0.8329 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-05/0.8715, allocations: 87.94 kB / 0.833 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.8828, allocations: 4.1 MB / 0.837 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.9139, allocations: 26.9 MB / 0.8632 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009205/0.9231, allocations: 2.975 MB / 0.8661 GB, free: 7.992 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.9252, allocations: 0.9949 MB / 0.8671 GB, free: 6.961 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009461/0.9262, allocations: 261.9 kB / 0.8674 GB, free: 6.715 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008104/0.9343, allocations: 2.891 MB / 0.8702 GB, free: 3.73 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 5.079e-06/0.9343, allocations: 0 / 0.8702 GB, free: 3.73 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.01929/0.9536, allocations: 6.439 MB / 0.8765 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004787/0.954, allocations: 0.8579 MB / 0.8773 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/0.96, allocations: 3.64 MB / 0.8809 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006218/0.9606, allocations: 61.7 kB / 0.8809 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.9622, allocations: 1.8 MB / 0.8827 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.964, allocations: 1.51 MB / 0.8841 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.9656, allocations: 1.029 MB / 0.8852 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9657, allocations: 305.1 kB / 0.8854 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.9686, allocations: 1.499 MB / 0.8869 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/0.9729, allocations: 3.12 MB / 0.89 GB, free: 14.49 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007989/0.9809, allocations: 5.204 MB / 0.895 GB, free: 8.648 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/0.9809, allocations: 12.22 kB / 0.895 GB, free: 8.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01136/0.9923, allocations: 5.429 MB / 0.9003 GB, free: 3.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.9924, allocations: 130.9 kB / 0.9005 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007155/0.9996, allocations: 3.649 MB / 0.904 GB, free: 15.42 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.9997, allocations: 80 kB / 0.9041 GB, free: 15.34 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/1.004, allocations: 1.279 MB / 0.9054 GB, free: 14.06 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001236/1.004, allocations: 111.6 kB / 0.9055 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/1.008, allocations: 0.613 MB / 0.9061 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007496/1.009, allocations: 339.8 kB / 0.9064 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004805/1.014, allocations: 2.199 MB / 0.9085 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004416/1.018, allocations: 3.092 MB / 0.9116 GB, free: 7.004 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007963/1.026, allocations: 5.143 MB / 0.9166 GB, free: 1.215 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.901e-05/1.026, allocations: 16 kB / 0.9166 GB, free: 1.199 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01187/1.038, allocations: 5.355 MB / 0.9218 GB, free: 11.86 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.038, allocations: 129.1 kB / 0.9219 GB, free: 11.71 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007466/1.046, allocations: 3.581 MB / 0.9254 GB, free: 8.121 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/1.046, allocations: 82.66 kB / 0.9255 GB, free: 8.043 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/1.05, allocations: 1.274 MB / 0.9268 GB, free: 6.77 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001234/1.05, allocations: 115.6 kB / 0.9269 GB, free: 6.656 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.054, allocations: 497 kB / 0.9274 GB, free: 6.176 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008764/1.055, allocations: 331.8 kB / 0.9277 GB, free: 5.852 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.001789/1.057, allocations: 0.5918 MB / 0.9282 GB, free: 5.234 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/1.059, allocations: 484.7 kB / 0.9287 GB, free: 4.758 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.009392/1.068, allocations: 4.507 MB / 0.9331 GB, free: 0.5273 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.001033082953654] Failed to read output from testmodel.py, exit status != 0: 1.2693267369177192 1.2848872709999999 0.44503331399999996 Calling exit ...