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.006322/0.006322, allocations: 1.358 MB / 20.45 MB, free: 4.098 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.07833/0.07833, allocations: 18.24 MB / 42.2 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.0009972/0.0009972, allocations: 87.72 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.001217/0.001217, allocations: 162.6 kB / 64.04 MB, free: 10.2 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.9318/0.9318, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.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.5036/0.5036, allocations: 102.5 MB / 418.6 MB, free: 5.188 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/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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6029 GB, free: 264 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.58e-05, allocations: 4.25 kB / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.01061/0.01063, allocations: 15.55 MB / 0.6181 GB, free: 0.6328 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.02879, allocations: 16.54 MB / 0.6343 GB, free: 40 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.03078, allocations: 103.3 kB / 0.6344 GB, free: 15.93 MB / 0.5262 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.002729/0.03351, allocations: 1.79 MB / 0.6361 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.03691, allocations: 2.68 MB / 0.6387 GB, free: 11.44 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.04102, allocations: 3.114 MB / 0.6418 GB, free: 8.336 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.04607, allocations: 6.623 MB / 0.6482 GB, free: 1.691 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.04782, allocations: 2.044 MB / 0.6502 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.05076, allocations: 3.578 MB / 0.6537 GB, free: 12.02 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.0526, allocations: 2.28 MB / 0.656 GB, free: 9.738 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.05297, allocations: 424 kB / 0.6564 GB, free: 9.324 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.05592, allocations: 1.704 MB / 0.658 GB, free: 7.617 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0008925/0.05681, allocations: 1.319 MB / 0.6593 GB, free: 6.293 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.05806, allocations: 1.441 MB / 0.6607 GB, free: 4.848 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2541/0.3122, allocations: 6.989 MB / 0.6675 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3122, allocations: 0.5938 kB / 0.6675 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3122, allocations: 0 / 0.6675 GB, free: 31.11 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002193/0.3124, allocations: 0.9375 kB / 0.6675 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.007128/0.3195, allocations: 5.09 MB / 0.6725 GB, free: 28.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.3196, allocations: 10.62 kB / 0.6725 GB, free: 28.73 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004459/0.32, allocations: 427.1 kB / 0.6729 GB, free: 28.67 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.3213, allocations: 0.6281 MB / 0.6735 GB, free: 28.38 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.3264, allocations: 3.849 MB / 0.6773 GB, free: 27.55 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3265, allocations: 184.1 kB / 0.6775 GB, free: 27.54 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.3268, allocations: 235.9 kB / 0.6777 GB, free: 27.54 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/0.3339, allocations: 6.294 MB / 0.6839 GB, free: 24.59 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.334, allocations: 36.44 kB / 0.6839 GB, free: 24.59 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3342, allocations: 133 kB / 0.684 GB, free: 24.59 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/0.3342, allocations: 86.02 kB / 0.6841 GB, free: 24.59 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006527/0.3408, allocations: 4.171 MB / 0.6882 GB, free: 24.48 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.354, allocations: 25.59 MB / 0.7132 GB, free: 19.82 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/0.359, allocations: 3.055 MB / 0.7161 GB, free: 18.6 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.3602, allocations: 1.088 MB / 0.7172 GB, free: 17.99 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/0.3607, allocations: 237.8 kB / 0.7174 GB, free: 17.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004445/0.3651, allocations: 2.977 MB / 0.7203 GB, free: 16.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=450): time 4.429e-06/0.3651, allocations: 0 / 0.7203 GB, free: 16.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=450): time 0.01077/0.3759, allocations: 6.646 MB / 0.7268 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.376, allocations: 0.8535 MB / 0.7277 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.3791, allocations: 3.725 MB / 0.7313 GB, free: 11.69 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.3793, allocations: 61.48 kB / 0.7314 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.3801, allocations: 1.783 MB / 0.7331 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.3812, allocations: 1.493 MB / 0.7346 GB, free: 8.762 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009956/0.3822, allocations: 1.016 MB / 0.7356 GB, free: 8.176 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3822, allocations: 303 kB / 0.7358 GB, free: 7.879 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.384, allocations: 1.592 MB / 0.7374 GB, free: 6.969 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.3867, allocations: 3.366 MB / 0.7407 GB, free: 3.738 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.3916, allocations: 5.225 MB / 0.7458 GB, free: 15.77 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.3916, allocations: 14.69 kB / 0.7458 GB, free: 15.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.005892/0.3975, allocations: 5.543 MB / 0.7512 GB, free: 12.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.3976, allocations: 125.1 kB / 0.7513 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004471/0.402, allocations: 3.77 MB / 0.755 GB, free: 8.598 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.518e-05/0.4021, allocations: 87.94 kB / 0.7551 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/0.4043, allocations: 1.272 MB / 0.7563 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.405e-05/0.4043, allocations: 114 kB / 0.7565 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.4061, allocations: 0.6058 MB / 0.757 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.4064, allocations: 343.8 kB / 0.7574 GB, free: 6.285 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002788/0.4092, allocations: 2.3 MB / 0.7596 GB, free: 3.961 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002815/0.412, allocations: 3.332 MB / 0.7629 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004851/0.4169, allocations: 5.16 MB / 0.7679 GB, free: 10.15 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.578e-05/0.4169, allocations: 16 kB / 0.7679 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.00597/0.4229, allocations: 5.485 MB / 0.7733 GB, free: 4.918 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.4229, allocations: 121.1 kB / 0.7734 GB, free: 4.781 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004562/0.4275, allocations: 3.696 MB / 0.777 GB, free: 1.074 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/0.4275, allocations: 80 kB / 0.7771 GB, free: 0.9961 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.4296, allocations: 1.281 MB / 0.7783 GB, free: 15.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.305e-05/0.4297, allocations: 113 kB / 0.7784 GB, free: 15.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4314, allocations: 497.5 kB / 0.7789 GB, free: 15.22 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.4317, allocations: 331.8 kB / 0.7792 GB, free: 14.9 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.0009336/0.4326, allocations: 0.6021 MB / 0.7798 GB, free: 14.36 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/0.4332, allocations: 480.7 kB / 0.7803 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.004875/0.4381, allocations: 4.545 MB / 0.7847 GB, free: 9.562 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.226077914237976]