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.0105/0.0105, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001239/0.001239, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.00154/0.00154, allocations: 214.6 kB / 24.74 MB, free: 3.695 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.517/1.517, allocations: 230.6 MB / 258.5 MB, free: 13.1 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.112/1.112, allocations: 130.6 MB / 445.6 MB, free: 14.96 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="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: 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.4304/0.4304, allocations: 46.15 MB / 0.6545 GB, free: 30.21 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.6355, allocations: 89.05 MB / 0.7414 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_incompressible): time 0.02123/0.6567, allocations: 17.88 MB / 0.7589 GB, free: 0.8047 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.6873, allocations: 17.35 MB / 0.7758 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/0.6924, allocations: 107.2 kB / 0.776 GB, free: 15.29 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.00594/0.6983, allocations: 1.825 MB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008965/0.7073, allocations: 2.549 MB / 0.7802 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008281/0.7156, allocations: 3.016 MB / 0.7832 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.7266, allocations: 6.453 MB / 0.7895 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.7304, allocations: 1.892 MB / 0.7913 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005295/0.7357, allocations: 2.631 MB / 0.7939 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005754/0.7415, allocations: 2.807 MB / 0.7966 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.7431, allocations: 432 kB / 0.797 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/0.7483, allocations: 2.036 MB / 0.799 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.7502, allocations: 1.292 MB / 0.8003 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.7537, allocations: 2.339 MB / 0.8026 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.7662, allocations: 7.114 MB / 0.8095 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7662, allocations: 0 / 0.8095 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7662, allocations: 0 / 0.8095 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0001933/0.7664, allocations: 3.938 kB / 0.8095 GB, free: 12.76 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.009883/0.7763, allocations: 5.226 MB / 0.8146 GB, free: 7.434 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.7763, allocations: 8.031 kB / 0.8146 GB, free: 7.426 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000593/0.7769, allocations: 432.7 kB / 0.815 GB, free: 6.992 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.7789, allocations: 0.6223 MB / 0.8157 GB, free: 6.367 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00821/0.7871, allocations: 4.029 MB / 0.8196 GB, free: 2.277 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.7873, allocations: 193.2 kB / 0.8198 GB, free: 2.086 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004754/0.7877, allocations: 239.9 kB / 0.82 GB, free: 1.852 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.8013, allocations: 5.592 MB / 0.8255 GB, free: 11.45 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.8014, allocations: 35.69 kB / 0.8255 GB, free: 11.41 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.8017, allocations: 124 kB / 0.8256 GB, free: 11.29 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.8018, allocations: 91.98 kB / 0.8257 GB, free: 11.2 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.8134, allocations: 4.091 MB / 0.8297 GB, free: 7.102 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.8419, allocations: 27 MB / 0.8561 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009546/0.8514, allocations: 2.97 MB / 0.859 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.8537, allocations: 0.9964 MB / 0.8599 GB, free: 6.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.8547, allocations: 335.2 kB / 0.8603 GB, free: 6.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008667/0.8634, allocations: 2.884 MB / 0.8631 GB, free: 3.598 MB / 0.67 GB Notification: Performance of pre-optimization done (n=450): time 5.39e-06/0.8634, allocations: 0 / 0.8631 GB, free: 3.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=450): time 0.4477/1.311, allocations: 6.44 MB / 0.8694 GB, free: 118.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/1.311, allocations: 0.8536 MB / 0.8702 GB, free: 117.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006172/1.317, allocations: 3.644 MB / 0.8738 GB, free: 117.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009561/1.318, allocations: 59.61 kB / 0.8738 GB, free: 117.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/1.32, allocations: 1.8 MB / 0.8756 GB, free: 116.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/1.322, allocations: 1.516 MB / 0.877 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.323, allocations: 1.025 MB / 0.878 GB, free: 115 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/1.324, allocations: 307.9 kB / 0.8783 GB, free: 114.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.326, allocations: 1.495 MB / 0.8798 GB, free: 114.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/1.33, allocations: 3.121 MB / 0.8829 GB, free: 111.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007643/1.338, allocations: 5.201 MB / 0.8879 GB, free: 107.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.069e-05/1.338, allocations: 15.25 kB / 0.8879 GB, free: 107.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01286/1.351, allocations: 5.436 MB / 0.8933 GB, free: 105.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.351, allocations: 123.6 kB / 0.8934 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008495/1.359, allocations: 3.649 MB / 0.8969 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/1.36, allocations: 79.94 kB / 0.897 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/1.365, allocations: 1.282 MB / 0.8983 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002777/1.365, allocations: 113.7 kB / 0.8984 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/1.37, allocations: 0.6054 MB / 0.899 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.371, allocations: 339.7 kB / 0.8993 GB, free: 103.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006852/1.378, allocations: 2.203 MB / 0.9014 GB, free: 102.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00597/1.384, allocations: 3.092 MB / 0.9045 GB, free: 100.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009437/1.394, allocations: 5.14 MB / 0.9095 GB, free: 96.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001481/1.394, allocations: 14.19 kB / 0.9095 GB, free: 96.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01619/1.41, allocations: 5.362 MB / 0.9147 GB, free: 94.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.41, allocations: 131.9 kB / 0.9149 GB, free: 94.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009026/1.419, allocations: 3.58 MB / 0.9183 GB, free: 92.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/1.419, allocations: 78.53 kB / 0.9184 GB, free: 92.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.424, allocations: 1.267 MB / 0.9197 GB, free: 92.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/1.424, allocations: 116.8 kB / 0.9198 GB, free: 92.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/1.429, allocations: 495.4 kB / 0.9202 GB, free: 91.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.43, allocations: 338.9 kB / 0.9206 GB, free: 91.89 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.002611/1.432, allocations: 0.5907 MB / 0.9211 GB, free: 91.37 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/1.434, allocations: 478.8 kB / 0.9216 GB, free: 91.09 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.009561/1.444, allocations: 4.51 MB / 0.926 GB, free: 88.69 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.169580290996237] Failed to read output from testmodel.py, exit status != 0: 1.452185513000586 1.463857487 0.695116069 Calling exit ...