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.01/0.01, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001304/0.001304, allocations: 104.2 kB / 24.18 MB, free: 2.184 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.001643/0.001643, allocations: 217.9 kB / 27.9 MB, free: 3.504 MB / 19.63 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.495/1.495, allocations: 230.6 MB / 262.1 MB, free: 5.859 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.092/1.092, allocations: 130.7 MB / 449.7 MB, free: 6.41 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06801/0.06801, allocations: 20.98 MB / 0.6358 GB, free: 4.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.2423, allocations: 81.92 MB / 0.7158 GB, free: 2.727 MB / 0.5294 GB 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.5592/0.8016, allocations: 48.59 MB / 0.7633 GB, free: 18.67 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03341/0.835, allocations: 16.75 MB / 0.7796 GB, free: 6.988 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006997/0.842, allocations: 104.3 kB / 0.7797 GB, free: 6.938 MB / 0.5607 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.006579/0.8486, allocations: 1.776 MB / 0.7815 GB, free: 6.109 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009843/0.8584, allocations: 2.616 MB / 0.784 GB, free: 4.551 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009201/0.8676, allocations: 3.07 MB / 0.787 GB, free: 2.828 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.8792, allocations: 6.436 MB / 0.7933 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004878/0.8841, allocations: 2.002 MB / 0.7953 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006559/0.8907, allocations: 2.637 MB / 0.7978 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0063/0.897, allocations: 2.642 MB / 0.8004 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.899, allocations: 425.7 kB / 0.8008 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006468/0.9055, allocations: 1.679 MB / 0.8025 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.9083, allocations: 1.304 MB / 0.8037 GB, free: 8.473 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005004/0.9133, allocations: 1.795 MB / 0.8055 GB, free: 6.668 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.9279, allocations: 7.071 MB / 0.8124 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9279, allocations: 2.656 kB / 0.8124 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9279, allocations: 1.688 kB / 0.8124 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002708/0.9281, allocations: 0 / 0.8124 GB, free: 15.57 MB / 0.5919 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.01428/0.9424, allocations: 5.15 MB / 0.8174 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.9425, allocations: 12.03 kB / 0.8174 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.9439, allocations: 428.7 kB / 0.8179 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.9467, allocations: 0.6222 MB / 0.8185 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.9568, allocations: 3.855 MB / 0.8222 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.9571, allocations: 185.2 kB / 0.8224 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009604/0.9581, allocations: 239.9 kB / 0.8226 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.9728, allocations: 6.301 MB / 0.8288 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.862e-05/0.9729, allocations: 41.12 kB / 0.8288 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.9732, allocations: 120 kB / 0.8289 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-05/0.9733, allocations: 84 kB / 0.829 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.9852, allocations: 4.161 MB / 0.8331 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/1.013, allocations: 25.7 MB / 0.8582 GB, free: 14.68 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009438/1.022, allocations: 3.058 MB / 0.8612 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/1.025, allocations: 1.089 MB / 0.8622 GB, free: 10.35 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.026, allocations: 233.2 kB / 0.8625 GB, free: 10.13 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008811/1.035, allocations: 2.99 MB / 0.8654 GB, free: 7.023 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 6.623e-06/1.035, allocations: 6.656 kB / 0.8654 GB, free: 7.02 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.0208/1.055, allocations: 6.63 MB / 0.8719 GB, free: 348 kB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004858/1.056, allocations: 0.8514 MB / 0.8727 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/1.062, allocations: 3.725 MB / 0.8763 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007405/1.063, allocations: 61.7 kB / 0.8764 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.065, allocations: 1.799 MB / 0.8781 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.067, allocations: 1.514 MB / 0.8796 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/1.069, allocations: 1.03 MB / 0.8806 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.069, allocations: 309.1 kB / 0.8809 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.072, allocations: 1.59 MB / 0.8825 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/1.077, allocations: 3.364 MB / 0.8858 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00957/1.086, allocations: 5.213 MB / 0.8909 GB, free: 11.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.951e-05/1.086, allocations: 12 kB / 0.8909 GB, free: 11.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.015/1.101, allocations: 5.546 MB / 0.8963 GB, free: 5.547 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/1.102, allocations: 129.1 kB / 0.8964 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008959/1.111, allocations: 3.768 MB / 0.9001 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/1.111, allocations: 80 kB / 0.9002 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.115, allocations: 1.278 MB / 0.9014 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001329/1.115, allocations: 115.6 kB / 0.9015 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/1.119, allocations: 0.6067 MB / 0.9021 GB, free: 15.53 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009048/1.12, allocations: 338.4 kB / 0.9024 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005185/1.126, allocations: 2.298 MB / 0.9047 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004947/1.131, allocations: 3.333 MB / 0.9079 GB, free: 8.738 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008572/1.139, allocations: 5.164 MB / 0.913 GB, free: 2.883 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.637e-05/1.139, allocations: 16 kB / 0.913 GB, free: 2.867 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01276/1.152, allocations: 5.483 MB / 0.9183 GB, free: 13.38 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.152, allocations: 125.1 kB / 0.9185 GB, free: 13.24 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008027/1.16, allocations: 3.701 MB / 0.9221 GB, free: 9.516 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/1.16, allocations: 80 kB / 0.9222 GB, free: 9.438 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004612/1.165, allocations: 1.267 MB / 0.9234 GB, free: 8.168 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/1.165, allocations: 111.6 kB / 0.9235 GB, free: 8.059 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.169, allocations: 0.4893 MB / 0.924 GB, free: 7.574 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.17, allocations: 335.8 kB / 0.9243 GB, free: 7.246 MB / 0.7013 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.001981/1.172, allocations: 0.5945 MB / 0.9249 GB, free: 6.629 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.174, allocations: 479.4 kB / 0.9253 GB, free: 6.16 MB / 0.7013 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.009787/1.184, allocations: 4.556 MB / 0.9298 GB, free: 1.922 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.168626912869513] Failed to read output from testmodel.py, exit status != 0: 1.3823253908194602 1.39797094 0.46653260999999996 Calling exit ...