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.00592/0.00592, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0005886/0.0005886, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007202/0.0007202, allocations: 164.4 kB / 27.85 MB, free: 5.496 MB / 18.57 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.8347/0.8347, allocations: 177.2 MB / 208.6 MB, free: 2.953 MB / 186.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.7092/0.7092, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.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 SMArtInt with version 0.5.2 (/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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5362 GB, free: 40.13 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.247e-05, allocations: 6.219 kB / 0.5362 GB, free: 40.12 MB / 490.8 MB 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.1084/0.1085, allocations: 62.23 MB / 0.597 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.1279, allocations: 16.52 MB / 0.6131 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.1306, allocations: 107.2 kB / 0.6132 GB, free: 13.62 MB / 0.5105 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.003099/0.1337, allocations: 1.786 MB / 0.6149 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.1382, allocations: 2.683 MB / 0.6176 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.1432, allocations: 3.125 MB / 0.6206 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006342/0.1495, allocations: 6.61 MB / 0.6271 GB, free: 15.36 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.152, allocations: 2.009 MB / 0.629 GB, free: 13.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.1561, allocations: 3.581 MB / 0.6325 GB, free: 9.715 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.1586, allocations: 2.28 MB / 0.6347 GB, free: 7.434 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005877/0.1592, allocations: 424 kB / 0.6352 GB, free: 7.02 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.1623, allocations: 1.708 MB / 0.6368 GB, free: 5.309 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009262/0.1633, allocations: 1.315 MB / 0.6381 GB, free: 3.988 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.165, allocations: 1.441 MB / 0.6395 GB, free: 2.543 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.1725, allocations: 7.002 MB / 0.6463 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1725, allocations: 0 / 0.6463 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1725, allocations: 0 / 0.6463 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001357/0.1726, allocations: 0 / 0.6463 GB, free: 11.52 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.006953/0.1796, allocations: 5.088 MB / 0.6513 GB, free: 6.348 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1796, allocations: 8.031 kB / 0.6513 GB, free: 6.34 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004124/0.18, allocations: 428.7 kB / 0.6517 GB, free: 5.91 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.1812, allocations: 0.63 MB / 0.6524 GB, free: 5.277 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.1865, allocations: 3.852 MB / 0.6561 GB, free: 1.363 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.1866, allocations: 181.2 kB / 0.6563 GB, free: 1.184 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.1869, allocations: 240.4 kB / 0.6565 GB, free: 0.9492 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.1973, allocations: 6.298 MB / 0.6627 GB, free: 9.676 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/0.1974, allocations: 39.62 kB / 0.6627 GB, free: 9.637 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.1977, allocations: 128 kB / 0.6628 GB, free: 9.512 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.548e-05/0.1977, allocations: 91.98 kB / 0.6629 GB, free: 9.422 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009442/0.2072, allocations: 4.158 MB / 0.667 GB, free: 5.234 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.2258, allocations: 25.61 MB / 0.692 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.231, allocations: 3.051 MB / 0.695 GB, free: 7.504 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.2322, allocations: 1.095 MB / 0.696 GB, free: 6.348 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/0.2327, allocations: 241.1 kB / 0.6963 GB, free: 6.113 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004402/0.2371, allocations: 2.983 MB / 0.6992 GB, free: 3.012 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=450): time 4.879e-06/0.2371, allocations: 0 / 0.6992 GB, free: 3.012 MB / 0.5887 GB Notification: Performance of matching and sorting (n=450): time 0.01069/0.2478, allocations: 6.64 MB / 0.7057 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000273/0.2481, allocations: 0.8592 MB / 0.7065 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/0.2519, allocations: 3.729 MB / 0.7101 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.2521, allocations: 57.7 kB / 0.7102 GB, free: 7.441 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.2531, allocations: 1.785 MB / 0.7119 GB, free: 5.645 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/0.2541, allocations: 1.491 MB / 0.7134 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.2551, allocations: 1.015 MB / 0.7144 GB, free: 3.117 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2551, allocations: 309.1 kB / 0.7147 GB, free: 2.812 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.257, allocations: 1.594 MB / 0.7162 GB, free: 1.191 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/0.2596, allocations: 3.36 MB / 0.7195 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.2645, allocations: 5.212 MB / 0.7246 GB, free: 7.051 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.2645, allocations: 12 kB / 0.7246 GB, free: 7.039 MB / 0.6199 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.006691/0.2712, allocations: 5.544 MB / 0.73 GB, free: 1.453 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.2713, allocations: 129 kB / 0.7302 GB, free: 1.309 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004254/0.2755, allocations: 3.764 MB / 0.7338 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.392e-05/0.2756, allocations: 80 kB / 0.7339 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.2777, allocations: 1.283 MB / 0.7352 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.538e-05/0.2778, allocations: 115.6 kB / 0.7353 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.2798, allocations: 0.6093 MB / 0.7359 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.2801, allocations: 335.8 kB / 0.7362 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003006/0.2831, allocations: 2.298 MB / 0.7384 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002717/0.2858, allocations: 3.333 MB / 0.7417 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005033/0.2909, allocations: 5.158 MB / 0.7467 GB, free: 14.71 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.716e-05/0.2909, allocations: 20 kB / 0.7467 GB, free: 14.69 MB / 0.6512 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.00641/0.2973, allocations: 5.482 MB / 0.7521 GB, free: 9.16 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.2974, allocations: 122 kB / 0.7522 GB, free: 9.023 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004239/0.3016, allocations: 3.697 MB / 0.7558 GB, free: 5.289 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.3018, allocations: 91.92 kB / 0.7559 GB, free: 5.199 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.3038, allocations: 1.267 MB / 0.7571 GB, free: 3.93 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.608e-05/0.3038, allocations: 115.6 kB / 0.7573 GB, free: 3.816 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.3057, allocations: 0.4893 MB / 0.7577 GB, free: 3.324 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.306, allocations: 335.8 kB / 0.758 GB, free: 2.996 MB / 0.6512 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.0009559/0.3069, allocations: 0.5919 MB / 0.7586 GB, free: 2.375 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005768/0.3075, allocations: 480.8 kB / 0.7591 GB, free: 1.902 MB / 0.6512 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.2524/0.5599, allocations: 4.543 MB / 0.7635 GB, free: 180 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.243073838762939] Failed to read output from testmodel.py, exit status != 0: 0.7006850289180875 0.7067044539999999 0.5327916530000001 Calling exit ...