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.01482/0.01482, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001582/0.001582, allocations: 108.2 kB / 24.19 MB, free: 2.688 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.002155/0.002155, allocations: 210.7 kB / 27.92 MB, free: 4.027 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.44/1.44, allocations: 230.6 MB / 262.1 MB, free: 6.02 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.089/1.089, allocations: 130.7 MB / 449.7 MB, free: 6.656 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.03584/0.03584, allocations: 20.78 MB / 0.6357 GB, free: 5.156 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.2073, 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.5613/0.7685, allocations: 50.86 MB / 0.7654 GB, free: 16.76 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03616/0.8047, allocations: 17.54 MB / 0.7825 GB, free: 4.223 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007067/0.8118, allocations: 107.4 kB / 0.7826 GB, free: 4.172 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.006363/0.8181, allocations: 1.826 MB / 0.7844 GB, free: 3.309 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.829, allocations: 2.607 MB / 0.787 GB, free: 1.746 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.8414, allocations: 3.058 MB / 0.7899 GB, free: 76 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01449/0.8559, allocations: 6.455 MB / 0.7962 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004411/0.8603, allocations: 1.86 MB / 0.7981 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006479/0.8668, allocations: 2.642 MB / 0.8006 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006542/0.8733, allocations: 2.812 MB / 0.8034 GB, free: 7.629 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.8754, allocations: 425.9 kB / 0.8038 GB, free: 7.629 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007084/0.8825, allocations: 2.094 MB / 0.8058 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002633/0.8852, allocations: 1.308 MB / 0.8071 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004944/0.8901, allocations: 2.343 MB / 0.8094 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9041, allocations: 7.127 MB / 0.8164 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9041, allocations: 0 / 0.8164 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9041, allocations: 0 / 0.8164 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002651/0.9043, allocations: 3.938 kB / 0.8164 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: 881 * Number of variables: 881 Notification: Performance of Generate backend data structure: time 0.01292/0.9173, allocations: 5.14 MB / 0.8214 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.9173, allocations: 12.03 kB / 0.8214 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.9184, allocations: 428.7 kB / 0.8218 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.9207, allocations: 0.6288 MB / 0.8224 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009285/0.93, allocations: 3.853 MB / 0.8262 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.9302, allocations: 181.2 kB / 0.8264 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/0.9308, allocations: 249.3 kB / 0.8266 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.9438, allocations: 5.595 MB / 0.8321 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.9439, allocations: 35.69 kB / 0.8321 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.9443, allocations: 120 kB / 0.8322 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.9444, allocations: 87.98 kB / 0.8323 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.9558, allocations: 4.1 MB / 0.8363 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02932/0.9851, allocations: 26.89 MB / 0.8626 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009016/0.9941, allocations: 2.985 MB / 0.8655 GB, free: 7.879 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.9966, allocations: 1.002 MB / 0.8664 GB, free: 6.844 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.9976, allocations: 249.4 kB / 0.8667 GB, free: 6.609 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008634/1.006, allocations: 2.894 MB / 0.8695 GB, free: 3.625 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 7.885e-06/1.006, allocations: 0 / 0.8695 GB, free: 3.625 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.02029/1.027, allocations: 6.438 MB / 0.8758 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005148/1.027, allocations: 0.8574 MB / 0.8766 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006451/1.034, allocations: 3.647 MB / 0.8802 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000789/1.034, allocations: 57.7 kB / 0.8803 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/1.036, allocations: 1.803 MB / 0.882 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/1.038, allocations: 1.506 MB / 0.8835 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/1.04, allocations: 1.031 MB / 0.8845 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.04, allocations: 301.1 kB / 0.8848 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/1.043, allocations: 1.506 MB / 0.8863 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/1.048, allocations: 3.114 MB / 0.8893 GB, free: 14.39 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/1.056, allocations: 5.199 MB / 0.8944 GB, free: 8.551 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.666e-05/1.056, allocations: 16 kB / 0.8944 GB, free: 8.535 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0125/1.068, allocations: 5.437 MB / 0.8997 GB, free: 3.109 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.069, allocations: 121.2 kB / 0.8998 GB, free: 2.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007732/1.076, allocations: 3.646 MB / 0.9034 GB, free: 15.31 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/1.076, allocations: 80 kB / 0.9034 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/1.081, allocations: 1.282 MB / 0.9047 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001346/1.081, allocations: 111.6 kB / 0.9048 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.086, allocations: 0.6102 MB / 0.9054 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.087, allocations: 339.8 kB / 0.9057 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005388/1.092, allocations: 2.199 MB / 0.9079 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004736/1.097, allocations: 3.092 MB / 0.9109 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008332/1.105, allocations: 5.15 MB / 0.9159 GB, free: 1.105 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-05/1.105, allocations: 12 kB / 0.9159 GB, free: 1.094 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01281/1.118, allocations: 5.365 MB / 0.9212 GB, free: 11.74 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.118, allocations: 133 kB / 0.9213 GB, free: 11.59 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007676/1.126, allocations: 3.572 MB / 0.9248 GB, free: 8.008 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/1.126, allocations: 80 kB / 0.9249 GB, free: 7.93 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/1.131, allocations: 1.267 MB / 0.9261 GB, free: 6.66 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/1.131, allocations: 115.6 kB / 0.9262 GB, free: 6.547 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/1.135, allocations: 0.4918 MB / 0.9267 GB, free: 6.062 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.136, allocations: 339.8 kB / 0.927 GB, free: 5.73 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.002027/1.138, allocations: 0.5879 MB / 0.9276 GB, free: 5.121 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/1.14, allocations: 483.3 kB / 0.9281 GB, free: 4.648 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.009279/1.15, allocations: 4.511 MB / 0.9325 GB, free: 416 kB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.124018561000412] Failed to read output from testmodel.py, exit status != 0: 1.345261070997367 1.369077708 0.46025882599999995 Calling exit ...