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.01029/0.01029, allocations: 1.771 MB / 18.83 MB, free: 4.332 MB / 14.72 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.001327/0.001327, allocations: 99.7 kB / 22.07 MB, free: 1.09 MB / 14.72 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.001962/0.001962, allocations: 210.9 kB / 25.45 MB, free: 2.797 MB / 14.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 1.485/1.485, allocations: 230.6 MB / 259.3 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.113/1.113, allocations: 130.6 MB / 446.3 MB, free: 14.58 MB / 350.1 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.3.1 (/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="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="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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4027/0.4027, allocations: 46.15 MB / 0.6552 GB, free: 30.13 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.585, allocations: 89.05 MB / 0.7421 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.02129/0.6063, allocations: 17.89 MB / 0.7596 GB, free: 0.7266 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.6368, allocations: 17.35 MB / 0.7765 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005048/0.6419, allocations: 103.2 kB / 0.7766 GB, free: 15.22 MB / 0.5919 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.005595/0.6475, allocations: 1.814 MB / 0.7784 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0082/0.6557, allocations: 2.557 MB / 0.7809 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008447/0.6641, allocations: 3.012 MB / 0.7839 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.6756, allocations: 6.449 MB / 0.7902 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/0.6802, allocations: 1.892 MB / 0.792 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.6866, allocations: 2.643 MB / 0.7946 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006014/0.6926, allocations: 2.805 MB / 0.7973 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.6946, allocations: 424 kB / 0.7977 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005998/0.7006, allocations: 2.04 MB / 0.7997 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002458/0.7031, allocations: 1.292 MB / 0.801 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004728/0.7078, allocations: 2.343 MB / 0.8033 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.7213, allocations: 7.113 MB / 0.8102 GB, free: 12.7 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.7213, allocations: 0 / 0.8102 GB, free: 12.7 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7213, allocations: 0 / 0.8102 GB, free: 12.7 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003006/0.7216, allocations: 0 / 0.8102 GB, free: 12.7 MB / 0.6232 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.01321/0.7348, allocations: 5.234 MB / 0.8153 GB, free: 7.363 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.7348, allocations: 12.03 kB / 0.8153 GB, free: 7.352 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001055/0.7349, allocations: 69.03 kB / 0.8154 GB, free: 7.281 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.7361, allocations: 428.7 kB / 0.8158 GB, free: 6.852 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.7387, allocations: 0.6223 MB / 0.8164 GB, free: 6.227 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009052/0.7477, allocations: 4.029 MB / 0.8204 GB, free: 2.137 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.7479, allocations: 193 kB / 0.8205 GB, free: 1.945 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.7484, allocations: 235.9 kB / 0.8208 GB, free: 1.715 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.762, allocations: 5.6 MB / 0.8262 GB, free: 11.3 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.673e-05/0.7621, allocations: 35.69 kB / 0.8263 GB, free: 11.27 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.7624, allocations: 128 kB / 0.8264 GB, free: 11.14 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-05/0.7625, allocations: 84 kB / 0.8265 GB, free: 11.06 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.7746, allocations: 4.095 MB / 0.8305 GB, free: 6.957 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03025/0.8048, allocations: 26.98 MB / 0.8568 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009439/0.8143, allocations: 2.974 MB / 0.8597 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.8165, allocations: 1.004 MB / 0.8607 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.8175, allocations: 322.7 kB / 0.861 GB, free: 6.453 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008593/0.8261, allocations: 2.892 MB / 0.8638 GB, free: 3.457 MB / 0.67 GB Notification: Performance of pre-optimization done (n=450): time 6.632e-06/0.8261, allocations: 0 / 0.8638 GB, free: 3.457 MB / 0.67 GB Notification: Performance of matching and sorting (n=450): time 0.3626/1.189, allocations: 6.44 MB / 0.8701 GB, free: 119.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/1.189, allocations: 0.8515 MB / 0.871 GB, free: 118.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004828/1.194, allocations: 3.643 MB / 0.8745 GB, free: 117.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005678/1.194, allocations: 63.14 kB / 0.8746 GB, free: 117.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/1.195, allocations: 1.797 MB / 0.8763 GB, free: 116.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.196, allocations: 1.511 MB / 0.8778 GB, free: 115.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.198, allocations: 1.032 MB / 0.8788 GB, free: 115.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/1.198, allocations: 302.3 kB / 0.8791 GB, free: 114.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/1.201, allocations: 1.498 MB / 0.8806 GB, free: 114.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/1.204, allocations: 3.122 MB / 0.8836 GB, free: 111.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006219/1.21, allocations: 5.207 MB / 0.8887 GB, free: 107.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/1.21, allocations: 16.75 kB / 0.8887 GB, free: 107.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.009554/1.22, allocations: 5.427 MB / 0.894 GB, free: 105.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.435e-05/1.22, allocations: 132 kB / 0.8941 GB, free: 105.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006933/1.227, allocations: 3.643 MB / 0.8977 GB, free: 104.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/1.227, allocations: 81.02 kB / 0.8978 GB, free: 104.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/1.231, allocations: 1.281 MB / 0.899 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001197/1.231, allocations: 112.1 kB / 0.8991 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.235, allocations: 0.6028 MB / 0.8997 GB, free: 104 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000691/1.235, allocations: 344.3 kB / 0.9 GB, free: 103.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004303/1.24, allocations: 2.201 MB / 0.9022 GB, free: 102.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004263/1.244, allocations: 3.091 MB / 0.9052 GB, free: 100.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006933/1.251, allocations: 5.142 MB / 0.9102 GB, free: 96.51 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.719e-05/1.251, allocations: 14.25 kB / 0.9102 GB, free: 96.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01052/1.261, allocations: 5.37 MB / 0.9155 GB, free: 94.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/1.262, allocations: 126.6 kB / 0.9156 GB, free: 94.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005897/1.267, allocations: 3.579 MB / 0.9191 GB, free: 92.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/1.268, allocations: 80.84 kB / 0.9192 GB, free: 92.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/1.271, allocations: 1.273 MB / 0.9204 GB, free: 92.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.822e-05/1.271, allocations: 110.4 kB / 0.9205 GB, free: 92.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/1.275, allocations: 0.4931 MB / 0.921 GB, free: 92.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005045/1.275, allocations: 335.7 kB / 0.9213 GB, free: 91.93 MB / 0.67 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.001626/1.277, allocations: 0.5906 MB / 0.9219 GB, free: 91.41 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.278, allocations: 483.2 kB / 0.9224 GB, free: 91.13 MB / 0.67 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.00711/1.285, allocations: 4.496 MB / 0.9268 GB, free: 88.73 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.934367629000917] Failed to read output from testmodel.py, exit status != 0: 1.2924118190421723 1.300783738 0.57709266 Calling exit ...