Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01129/0.01129, allocations: 1.769 MB / 20.61 MB, free: 3.875 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.1175/0.1175, allocations: 25.6 MB / 49.71 MB, free: 2.914 MB / 33.03 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.001065/0.001065, allocations: 118.1 kB / 60.66 MB, free: 3.016 MB / 44.04 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.001298/0.001298, allocations: 213.7 kB / 71.72 MB, free: 6.477 MB / 44.04 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.065/1.065, allocations: 230.7 MB / 313.3 MB, free: 11.76 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.8406/0.8406, allocations: 130.8 MB / 0.4964 GB, free: 2.355 MB / 362.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_incompressible",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_incompressible",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.004958/0.004958, allocations: 158 kB / 0.6901 GB, free: 46.87 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1719, allocations: 89.26 MB / 0.7773 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.01219/0.1841, allocations: 15.61 MB / 0.7926 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.2041, allocations: 16.76 MB / 0.8089 GB, free: 2.578 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.2064, allocations: 103.2 kB / 0.809 GB, free: 2.477 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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.003338/0.2098, allocations: 1.763 MB / 0.8107 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.2138, allocations: 2.615 MB / 0.8133 GB, free: 14.07 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.2191, allocations: 3.06 MB / 0.8163 GB, free: 11.02 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.007437/0.2266, allocations: 6.447 MB / 0.8226 GB, free: 4.555 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.2291, allocations: 2.001 MB / 0.8245 GB, free: 2.512 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.2321, allocations: 2.639 MB / 0.8271 GB, free: 15.86 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.2349, allocations: 2.638 MB / 0.8297 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0007793/0.2357, allocations: 432 kB / 0.8301 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.2388, allocations: 1.673 MB / 0.8317 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.2396, allocations: 1.308 MB / 0.833 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.2412, allocations: 1.803 MB / 0.8348 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.005772/0.247, allocations: 7.067 MB / 0.8417 GB, free: 0.8984 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.247, allocations: 0 / 0.8417 GB, free: 0.8984 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.204e-06/0.247, allocations: 0 / 0.8417 GB, free: 0.8984 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.574e-05/0.247, allocations: 0 / 0.8417 GB, free: 0.8984 MB / 0.6043 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.00504/0.2521, allocations: 5.155 MB / 0.8467 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2521, allocations: 8.031 kB / 0.8467 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.2525, allocations: 428.7 kB / 0.8471 GB, free: 11.22 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.2535, allocations: 0.6223 MB / 0.8477 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.2578, allocations: 3.852 MB / 0.8515 GB, free: 6.68 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2579, allocations: 185.2 kB / 0.8517 GB, free: 6.496 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.2581, allocations: 239.9 kB / 0.8519 GB, free: 6.262 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007185/0.2653, allocations: 6.297 MB / 0.858 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.2653, allocations: 35.69 kB / 0.8581 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2655, allocations: 128 kB / 0.8582 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.2657, allocations: 84 kB / 0.8583 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006251/0.272, allocations: 4.17 MB / 0.8624 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.2873, allocations: 25.7 MB / 0.8875 GB, free: 15.91 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.2925, allocations: 3.048 MB / 0.8904 GB, free: 12.73 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.2937, allocations: 1.099 MB / 0.8915 GB, free: 11.57 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.2942, allocations: 237 kB / 0.8917 GB, free: 11.34 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00483/0.299, allocations: 2.984 MB / 0.8946 GB, free: 8.242 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=450): time 5.39e-06/0.299, allocations: 0 / 0.8946 GB, free: 8.242 MB / 0.6668 GB Notification: Performance of matching and sorting (n=450): time 0.01176/0.3108, allocations: 6.63 MB / 0.9011 GB, free: 1.555 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.3111, allocations: 0.8553 MB / 0.902 GB, free: 0.5 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2981/0.6092, allocations: 3.724 MB / 0.9056 GB, free: 118.2 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.000593/0.6098, allocations: 59.75 kB / 0.9056 GB, free: 118.2 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.6107, allocations: 1.792 MB / 0.9074 GB, free: 117.3 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009885/0.6117, allocations: 1.52 MB / 0.9089 GB, free: 116.3 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.6129, allocations: 1.031 MB / 0.9099 GB, free: 115.9 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.6129, allocations: 303.8 kB / 0.9102 GB, free: 115.6 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.6149, allocations: 1.592 MB / 0.9117 GB, free: 114.9 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.6176, allocations: 3.368 MB / 0.915 GB, free: 111.9 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.6223, allocations: 5.213 MB / 0.9201 GB, free: 108 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/0.6223, allocations: 19 kB / 0.9201 GB, free: 108 MB / 0.6668 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.007705/0.63, allocations: 5.54 MB / 0.9255 GB, free: 105.6 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.6301, allocations: 124.6 kB / 0.9257 GB, free: 105.5 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004805/0.635, allocations: 3.771 MB / 0.9293 GB, free: 104 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.542e-05/0.635, allocations: 79.66 kB / 0.9294 GB, free: 104 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.6373, allocations: 1.286 MB / 0.9307 GB, free: 103.9 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-05/0.6374, allocations: 108.1 kB / 0.9308 GB, free: 103.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.6394, allocations: 0.608 MB / 0.9314 GB, free: 103.6 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.6397, allocations: 345.4 kB / 0.9317 GB, free: 103.6 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002983/0.6427, allocations: 2.295 MB / 0.9339 GB, free: 102.5 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002169/0.6449, allocations: 3.338 MB / 0.9372 GB, free: 99.47 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004056/0.649, allocations: 5.154 MB / 0.9422 GB, free: 94.89 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.448e-05/0.649, allocations: 16 kB / 0.9422 GB, free: 94.88 MB / 0.6668 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.006104/0.6551, allocations: 5.488 MB / 0.9476 GB, free: 89.84 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.6552, allocations: 124.3 kB / 0.9477 GB, free: 89.71 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004125/0.6593, allocations: 3.692 MB / 0.9513 GB, free: 86.22 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.793e-05/0.6593, allocations: 80 kB / 0.9514 GB, free: 86.14 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.6613, allocations: 1.271 MB / 0.9526 GB, free: 84.87 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-05/0.6613, allocations: 119.5 kB / 0.9528 GB, free: 84.75 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.6631, allocations: 497 kB / 0.9532 GB, free: 84.36 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.6634, allocations: 335.8 kB / 0.9536 GB, free: 84.03 MB / 0.6668 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.001035/0.6644, allocations: 0.6003 MB / 0.9541 GB, free: 83.45 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/0.665, allocations: 475.2 kB / 0.9546 GB, free: 82.98 MB / 0.6668 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.004164/0.6692, allocations: 4.557 MB / 0.959 GB, free: 78.45 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.956499363295734]