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.01034/0.01034, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.104/0.104, allocations: 18.24 MB / 42.19 MB, free: 5.195 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.001032/0.001032, allocations: 87.94 kB / 53.06 MB, free: 6.508 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.001394/0.001394, allocations: 160.6 kB / 64.03 MB, free: 10.21 MB / 58.72 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.9483/0.9483, allocations: 177.2 MB / 252.1 MB, free: 11.79 MB / 218.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.49/0.49, allocations: 102.6 MB / 418.7 MB, free: 5.301 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.603 GB, free: 380 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.89e-05, allocations: 5.938 kB / 0.603 GB, free: 376 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.01447/0.01449, allocations: 15.56 MB / 0.6182 GB, free: 0.7344 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.03574, allocations: 16.54 MB / 0.6344 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.03805, allocations: 111.1 kB / 0.6345 GB, free: 32 kB / 0.5105 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.002745/0.04079, allocations: 1.775 MB / 0.6362 GB, free: 14.25 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.04445, allocations: 2.687 MB / 0.6388 GB, free: 11.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.04893, allocations: 3.11 MB / 0.6419 GB, free: 8.441 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.005476/0.0544, allocations: 6.634 MB / 0.6483 GB, free: 1.785 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.0562, allocations: 2.032 MB / 0.6503 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.05901, allocations: 3.581 MB / 0.6538 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.06083, allocations: 2.285 MB / 0.6561 GB, free: 9.836 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.0612, allocations: 424 kB / 0.6565 GB, free: 9.422 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.06356, allocations: 1.7 MB / 0.6581 GB, free: 7.719 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.06433, allocations: 1.323 MB / 0.6594 GB, free: 6.391 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.0653, allocations: 1.441 MB / 0.6608 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2666/0.3319, allocations: 6.989 MB / 0.6676 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3319, allocations: 0.6562 kB / 0.6676 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3319, allocations: 0 / 0.6676 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002314/0.3322, allocations: 0.5469 kB / 0.6676 GB, free: 31.11 MB / 0.5418 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.009256/0.3414, allocations: 5.087 MB / 0.6726 GB, free: 28.74 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3415, allocations: 9.406 kB / 0.6726 GB, free: 28.74 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005318/0.342, allocations: 433.4 kB / 0.673 GB, free: 28.68 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.3436, allocations: 0.6233 MB / 0.6736 GB, free: 28.38 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007431/0.351, allocations: 3.854 MB / 0.6774 GB, free: 27.56 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.3512, allocations: 186.5 kB / 0.6776 GB, free: 27.55 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.3518, allocations: 236.4 kB / 0.6778 GB, free: 27.55 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.362, allocations: 6.3 MB / 0.684 GB, free: 24.6 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/0.362, allocations: 35.19 kB / 0.684 GB, free: 24.6 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.3624, allocations: 127 kB / 0.6841 GB, free: 24.6 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/0.3624, allocations: 85.86 kB / 0.6842 GB, free: 24.6 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3725, allocations: 4.16 MB / 0.6883 GB, free: 24.49 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.3947, allocations: 25.6 MB / 0.7133 GB, free: 19.82 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007712/0.4024, allocations: 3.053 MB / 0.7162 GB, free: 18.6 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.4046, allocations: 1.087 MB / 0.7173 GB, free: 17.99 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.4053, allocations: 238.3 kB / 0.7175 GB, free: 17.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007018/0.4123, allocations: 2.982 MB / 0.7204 GB, free: 16.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=450): time 1.061e-05/0.4123, allocations: 3.188 kB / 0.7204 GB, free: 16.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=450): time 0.01657/0.4289, allocations: 6.639 MB / 0.7269 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.4291, allocations: 0.8538 MB / 0.7278 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/0.4342, allocations: 3.729 MB / 0.7314 GB, free: 11.71 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000818/0.435, allocations: 58.61 kB / 0.7315 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.4362, allocations: 1.79 MB / 0.7332 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/0.4378, allocations: 1.486 MB / 0.7347 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.4394, allocations: 1.02 MB / 0.7357 GB, free: 8.199 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.4394, allocations: 303.2 kB / 0.7359 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.4416, allocations: 1.586 MB / 0.7375 GB, free: 6.996 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.4447, allocations: 3.369 MB / 0.7408 GB, free: 3.766 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/0.4503, allocations: 5.225 MB / 0.7459 GB, free: 15.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-05/0.4503, allocations: 13.41 kB / 0.7459 GB, free: 15.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.008586/0.4589, allocations: 5.545 MB / 0.7513 GB, free: 12.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.383e-05/0.459, allocations: 125.1 kB / 0.7514 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005309/0.4643, allocations: 3.772 MB / 0.7551 GB, free: 8.598 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.4644, allocations: 83.94 kB / 0.7552 GB, free: 8.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.4672, allocations: 1.283 MB / 0.7565 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.094e-05/0.4673, allocations: 108.5 kB / 0.7566 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.4705, allocations: 0.6052 MB / 0.7571 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/0.4712, allocations: 345.7 kB / 0.7575 GB, free: 6.285 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004069/0.4752, allocations: 2.296 MB / 0.7597 GB, free: 3.965 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003375/0.4786, allocations: 3.336 MB / 0.763 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005749/0.4844, allocations: 5.153 MB / 0.768 GB, free: 10.16 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.681e-05/0.4844, allocations: 16 kB / 0.768 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01059/0.495, allocations: 5.475 MB / 0.7734 GB, free: 4.934 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.4951, allocations: 129.1 kB / 0.7735 GB, free: 4.789 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00753/0.5026, allocations: 3.696 MB / 0.7771 GB, free: 1.082 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.5028, allocations: 80 kB / 0.7772 GB, free: 1.004 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/0.5059, allocations: 1.273 MB / 0.7784 GB, free: 15.81 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/0.506, allocations: 113.7 kB / 0.7785 GB, free: 15.72 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.5095, allocations: 0.4893 MB / 0.779 GB, free: 15.23 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009512/0.5105, allocations: 333.8 kB / 0.7793 GB, free: 14.91 MB / 0.6043 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.001647/0.5121, allocations: 0.6085 MB / 0.7799 GB, free: 14.36 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/0.5137, allocations: 476.7 kB / 0.7804 GB, free: 13.89 MB / 0.6043 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.006691/0.5204, allocations: 4.551 MB / 0.7848 GB, free: 9.453 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.454207490198314]