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.008517/0.008517, 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.001014/0.001014, 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.0008869/0.0008869, allocations: 164.1 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.8861/0.8861, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.7417/0.7417, allocations: 102.5 MB / 367.9 MB, free: 1.484 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.382e-06/1.382e-06, allocations: 0 / 0.5362 GB, free: 40.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.75e-05, allocations: 3.047 kB / 0.5362 GB, free: 40.02 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.1145/0.1145, allocations: 62.23 MB / 0.597 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.135, allocations: 16.52 MB / 0.6131 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.1382, allocations: 103.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.003448/0.1416, allocations: 1.786 MB / 0.6149 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.1463, allocations: 2.684 MB / 0.6176 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005525/0.1518, allocations: 3.117 MB / 0.6206 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006827/0.1586, allocations: 6.621 MB / 0.6271 GB, free: 15.36 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.1611, allocations: 2.009 MB / 0.629 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.1647, allocations: 3.574 MB / 0.6325 GB, free: 9.73 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1669, allocations: 2.277 MB / 0.6347 GB, free: 7.449 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.1674, allocations: 428 kB / 0.6352 GB, free: 7.031 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.1702, allocations: 1.704 MB / 0.6368 GB, free: 5.324 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007761/0.171, allocations: 1.319 MB / 0.6381 GB, free: 4 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.1723, allocations: 1.445 MB / 0.6395 GB, free: 2.551 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.1783, allocations: 6.998 MB / 0.6463 GB, free: 11.53 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1783, allocations: 0 / 0.6463 GB, free: 11.53 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1784, allocations: 0 / 0.6463 GB, free: 11.53 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.571e-05/0.1784, allocations: 0 / 0.6463 GB, free: 11.53 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.005777/0.1842, allocations: 5.088 MB / 0.6513 GB, free: 6.359 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.1843, allocations: 12.03 kB / 0.6513 GB, free: 6.348 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003808/0.1846, allocations: 428.7 kB / 0.6517 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1857, allocations: 0.6223 MB / 0.6523 GB, free: 5.293 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/0.1903, allocations: 3.855 MB / 0.6561 GB, free: 1.375 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1904, allocations: 181.2 kB / 0.6563 GB, free: 1.195 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.1906, allocations: 236.4 kB / 0.6565 GB, free: 0.9648 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007284/0.1979, allocations: 6.309 MB / 0.6627 GB, free: 9.68 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.1979, allocations: 35.62 kB / 0.6627 GB, free: 9.645 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.1981, allocations: 128 kB / 0.6628 GB, free: 9.52 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.1982, allocations: 83.98 kB / 0.6629 GB, free: 9.438 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.2046, allocations: 4.166 MB / 0.667 GB, free: 5.242 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.2206, allocations: 25.61 MB / 0.692 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.2258, allocations: 3.05 MB / 0.695 GB, free: 7.508 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.227, allocations: 1.088 MB / 0.696 GB, free: 6.359 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.2276, allocations: 245.1 kB / 0.6963 GB, free: 6.121 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004504/0.2321, allocations: 2.976 MB / 0.6992 GB, free: 3.027 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=450): time 5.981e-06/0.2321, allocations: 4 kB / 0.6992 GB, free: 3.023 MB / 0.5887 GB Notification: Performance of matching and sorting (n=450): time 0.01131/0.2434, allocations: 6.637 MB / 0.7057 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002995/0.2437, allocations: 0.8554 MB / 0.7065 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.2479, allocations: 3.729 MB / 0.7101 GB, free: 7.523 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.2481, allocations: 61.7 kB / 0.7102 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2494, allocations: 1.777 MB / 0.7119 GB, free: 5.668 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.2504, allocations: 1.498 MB / 0.7134 GB, free: 4.156 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.2515, allocations: 1.019 MB / 0.7144 GB, free: 3.129 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.2516, allocations: 305.1 kB / 0.7147 GB, free: 2.828 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.2536, allocations: 1.602 MB / 0.7162 GB, free: 1.199 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.2566, allocations: 3.364 MB / 0.7195 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005497/0.2621, allocations: 5.205 MB / 0.7246 GB, free: 7.059 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.2621, allocations: 16 kB / 0.7246 GB, free: 7.043 MB / 0.6199 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.006963/0.2691, allocations: 5.542 MB / 0.73 GB, free: 1.457 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.2692, allocations: 131.1 kB / 0.7302 GB, free: 1.312 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004397/0.2736, allocations: 3.765 MB / 0.7338 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.327e-05/0.2736, allocations: 80.06 kB / 0.7339 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.2758, allocations: 1.279 MB / 0.7352 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.687e-05/0.2759, allocations: 115.6 kB / 0.7353 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.2779, allocations: 0.6132 MB / 0.7359 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/0.2783, allocations: 335.8 kB / 0.7362 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003148/0.2814, allocations: 2.302 MB / 0.7384 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002685/0.2841, allocations: 3.337 MB / 0.7417 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004862/0.289, allocations: 5.154 MB / 0.7467 GB, free: 14.71 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-05/0.289, allocations: 16 kB / 0.7467 GB, free: 14.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.0065/0.2955, allocations: 5.475 MB / 0.7521 GB, free: 9.172 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.2956, allocations: 125.1 kB / 0.7522 GB, free: 9.031 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004374/0.3, allocations: 3.7 MB / 0.7558 GB, free: 5.297 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.047e-05/0.3, allocations: 83.94 kB / 0.7559 GB, free: 5.215 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.3021, allocations: 1.279 MB / 0.7572 GB, free: 3.934 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.024e-05/0.3022, allocations: 111.6 kB / 0.7573 GB, free: 3.824 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.3039, allocations: 493 kB / 0.7577 GB, free: 3.34 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/0.3042, allocations: 339.8 kB / 0.7581 GB, free: 3.008 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.0009224/0.3051, allocations: 0.5997 MB / 0.7586 GB, free: 2.379 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.3057, allocations: 476.8 kB / 0.7591 GB, free: 1.91 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.2915/0.5973, allocations: 4.543 MB / 0.7635 GB, free: 179.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4962317580357194] Failed to read output from testmodel.py, exit status != 0: 0.7686139568686485 0.775577273 0.59572194 Calling exit ...