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 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.02301/0.02301, allocations: 1.771 MB / 20.61 MB, free: 3.871 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.09004/0.09004, allocations: 25.61 MB / 49.71 MB, free: 2.766 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.0008685/0.0008685, allocations: 110.1 kB / 60.65 MB, free: 2.902 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.001145/0.001145, allocations: 217.2 kB / 71.73 MB, free: 6.461 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 0.9721/0.9721, allocations: 230.6 MB / 313.3 MB, free: 11.74 MB / 234.7 MB " [Timeout remaining time 179] 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 0.7676/0.7676, allocations: 130.7 MB / 0.4963 GB, free: 2.207 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/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_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_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.00264/0.00264, allocations: 154.6 kB / 0.69 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1533, allocations: 89.26 MB / 0.7772 GB, free: 3.016 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.01159/0.1649, allocations: 15.6 MB / 0.7925 GB, free: 3.344 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.1834, allocations: 16.76 MB / 0.8088 GB, free: 2.535 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.1854, allocations: 107.2 kB / 0.8089 GB, free: 2.43 MB / 0.573 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.002858/0.1882, allocations: 1.763 MB / 0.8106 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.1919, allocations: 2.619 MB / 0.8132 GB, free: 14.02 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.1968, allocations: 3.068 MB / 0.8162 GB, free: 10.96 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.2021, allocations: 6.436 MB / 0.8225 GB, free: 4.508 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.2041, allocations: 2.005 MB / 0.8244 GB, free: 2.461 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.2068, allocations: 2.639 MB / 0.827 GB, free: 15.81 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.2093, allocations: 2.636 MB / 0.8296 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.000689/0.21, allocations: 424 kB / 0.83 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.2125, allocations: 1.681 MB / 0.8316 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.2132, allocations: 1.304 MB / 0.8329 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.2148, allocations: 1.807 MB / 0.8347 GB, free: 7.941 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.2201, allocations: 7.063 MB / 0.8416 GB, free: 0.8516 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2201, allocations: 0 / 0.8416 GB, free: 0.8516 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2201, allocations: 0 / 0.8416 GB, free: 0.8516 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0001247/0.2202, allocations: 0 / 0.8416 GB, free: 0.8516 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.005273/0.2255, allocations: 5.151 MB / 0.8466 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2255, allocations: 8.031 kB / 0.8466 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/0.2259, allocations: 428.7 kB / 0.847 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.2269, allocations: 0.6262 MB / 0.8476 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/0.2312, allocations: 3.867 MB / 0.8514 GB, free: 6.621 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/0.2313, allocations: 185.2 kB / 0.8516 GB, free: 6.438 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.2316, allocations: 239.9 kB / 0.8518 GB, free: 6.203 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006935/0.2385, allocations: 6.293 MB / 0.858 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.2385, allocations: 35.69 kB / 0.858 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.2387, allocations: 124 kB / 0.8581 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.2388, allocations: 84 kB / 0.8582 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006092/0.2449, allocations: 4.166 MB / 0.8623 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.2584, allocations: 25.71 MB / 0.8874 GB, free: 15.86 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.2633, allocations: 3.048 MB / 0.8903 GB, free: 12.68 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.2645, allocations: 1.091 MB / 0.8914 GB, free: 11.53 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/0.265, allocations: 233.1 kB / 0.8916 GB, free: 11.3 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004365/0.2693, allocations: 2.986 MB / 0.8945 GB, free: 8.199 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=450): time 5.671e-06/0.2693, allocations: 0 / 0.8945 GB, free: 8.199 MB / 0.6668 GB Notification: Performance of matching and sorting (n=450): time 0.01082/0.2801, allocations: 6.636 MB / 0.901 GB, free: 1.508 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/0.2804, allocations: 0.8564 MB / 0.9019 GB, free: 464 kB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3059/0.5863, allocations: 3.725 MB / 0.9055 GB, free: 118.2 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0005777/0.5868, allocations: 60.3 kB / 0.9056 GB, free: 118.2 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009331/0.5878, allocations: 1.791 MB / 0.9073 GB, free: 117.3 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009055/0.5887, allocations: 1.52 MB / 0.9088 GB, free: 116.3 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.5898, allocations: 1.029 MB / 0.9098 GB, free: 115.9 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.5899, allocations: 306.9 kB / 0.9101 GB, free: 115.6 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.592, allocations: 1.589 MB / 0.9116 GB, free: 114.9 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.595, allocations: 3.368 MB / 0.9149 GB, free: 111.9 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/0.5999, allocations: 5.21 MB / 0.92 GB, free: 108 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-05/0.5999, allocations: 14.09 kB / 0.92 GB, free: 108 MB / 0.6668 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.007921/0.6078, allocations: 5.544 MB / 0.9254 GB, free: 105.6 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/0.6079, allocations: 133.2 kB / 0.9256 GB, free: 105.5 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004575/0.6125, allocations: 3.764 MB / 0.9292 GB, free: 104 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.882e-05/0.6126, allocations: 80.09 kB / 0.9293 GB, free: 104 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.6149, allocations: 1.28 MB / 0.9306 GB, free: 103.9 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-05/0.615, allocations: 115.2 kB / 0.9307 GB, free: 103.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.6171, allocations: 0.6114 MB / 0.9313 GB, free: 103.6 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/0.6174, allocations: 341.4 kB / 0.9316 GB, free: 103.6 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002937/0.6204, allocations: 2.299 MB / 0.9339 GB, free: 102.4 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002118/0.6225, allocations: 3.328 MB / 0.9371 GB, free: 99.45 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00387/0.6264, allocations: 5.159 MB / 0.9421 GB, free: 94.91 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.31e-05/0.6264, allocations: 16 kB / 0.9422 GB, free: 94.9 MB / 0.6668 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.005444/0.6318, allocations: 5.484 MB / 0.9475 GB, free: 89.86 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.6319, allocations: 128 kB / 0.9476 GB, free: 89.72 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003621/0.6355, allocations: 3.69 MB / 0.9512 GB, free: 86.22 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/0.6355, allocations: 80.56 kB / 0.9513 GB, free: 86.14 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.6374, allocations: 1.268 MB / 0.9526 GB, free: 84.87 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.6375, allocations: 123.5 kB / 0.9527 GB, free: 84.75 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6389, allocations: 0.4898 MB / 0.9531 GB, free: 84.35 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.6392, allocations: 339.9 kB / 0.9535 GB, free: 84.02 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.0007972/0.64, allocations: 0.5956 MB / 0.9541 GB, free: 83.43 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.6405, allocations: 478.1 kB / 0.9545 GB, free: 82.96 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.004203/0.6447, allocations: 4.552 MB / 0.959 GB, free: 78.52 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.763238879851997]