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.01269/0.01269, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001249/0.001249, allocations: 101.1 kB / 24.96 MB, free: 2.059 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.001512/0.001512, allocations: 208.5 kB / 28.68 MB, free: 3.348 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.428/1.428, allocations: 230.6 MB / 262.9 MB, free: 5.824 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.106/1.106, allocations: 130.7 MB / 450.4 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="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: 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.06434/0.06434, allocations: 20.61 MB / 0.6362 GB, free: 5.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.2498, allocations: 81.91 MB / 0.7162 GB, free: 3.082 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.5717/0.8215, allocations: 48.57 MB / 0.7636 GB, free: 18.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02893/0.8505, allocations: 16.74 MB / 0.78 GB, free: 7.145 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005523/0.856, allocations: 104.7 kB / 0.7801 GB, free: 7.094 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.005533/0.8615, allocations: 1.777 MB / 0.7818 GB, free: 6.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009538/0.8711, allocations: 2.623 MB / 0.7844 GB, free: 4.703 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.879, allocations: 3.067 MB / 0.7874 GB, free: 3.027 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.8902, allocations: 6.438 MB / 0.7937 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.8951, allocations: 1.858 MB / 0.7955 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006582/0.9017, allocations: 2.652 MB / 0.7981 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00626/0.908, allocations: 2.804 MB / 0.8008 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.9097, allocations: 425.5 kB / 0.8012 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/0.9153, allocations: 1.72 MB / 0.8029 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.9171, allocations: 1.305 MB / 0.8042 GB, free: 8.711 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.9202, allocations: 1.799 MB / 0.8059 GB, free: 6.902 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.9354, allocations: 7.076 MB / 0.8128 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9354, allocations: 0 / 0.8128 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9354, allocations: 0 / 0.8128 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001823/0.9356, allocations: 0 / 0.8128 GB, free: 15.8 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.008909/0.9445, allocations: 5.138 MB / 0.8179 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.9446, allocations: 10.59 kB / 0.8179 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.608e-05/0.9447, allocations: 76.97 kB / 0.8179 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005383/0.9452, allocations: 428.7 kB / 0.8184 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.9471, allocations: 0.627 MB / 0.819 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006985/0.9541, allocations: 3.859 MB / 0.8227 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.9542, allocations: 189 kB / 0.8229 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.9546, allocations: 235.8 kB / 0.8231 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.9685, allocations: 6.3 MB / 0.8293 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.072e-05/0.9686, allocations: 35.62 kB / 0.8293 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.9689, allocations: 126.7 kB / 0.8294 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.969, allocations: 83.98 kB / 0.8295 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.9808, allocations: 4.181 MB / 0.8336 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/1.009, allocations: 25.7 MB / 0.8587 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009393/1.019, allocations: 3.061 MB / 0.8617 GB, free: 11.64 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/1.021, allocations: 1.089 MB / 0.8628 GB, free: 10.5 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009089/1.022, allocations: 234.5 kB / 0.863 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008176/1.03, allocations: 2.993 MB / 0.8659 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=450): time 5.29e-06/1.03, allocations: 0 / 0.8659 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of matching and sorting (n=450): time 0.01976/1.049, allocations: 6.623 MB / 0.8724 GB, free: 0.4922 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005361/1.05, allocations: 0.8596 MB / 0.8732 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006484/1.057, allocations: 3.644 MB / 0.8768 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006142/1.057, allocations: 57.7 kB / 0.8768 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/1.059, allocations: 1.804 MB / 0.8786 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/1.061, allocations: 1.506 MB / 0.8801 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/1.062, allocations: 1.037 MB / 0.8811 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.063, allocations: 301.1 kB / 0.8814 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/1.066, allocations: 1.597 MB / 0.8829 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/1.07, allocations: 3.364 MB / 0.8862 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007921/1.078, allocations: 5.212 MB / 0.8913 GB, free: 11.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/1.078, allocations: 16 kB / 0.8913 GB, free: 11.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01092/1.089, allocations: 5.552 MB / 0.8967 GB, free: 5.773 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.089, allocations: 125.1 kB / 0.8968 GB, free: 5.633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007106/1.096, allocations: 3.76 MB / 0.9005 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/1.096, allocations: 80 kB / 0.9006 GB, free: 1.762 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/1.101, allocations: 1.279 MB / 0.9018 GB, free: 492 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/1.101, allocations: 111.6 kB / 0.902 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.104, allocations: 0.6131 MB / 0.9025 GB, free: 15.76 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/1.105, allocations: 335.8 kB / 0.9029 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004633/1.11, allocations: 2.294 MB / 0.9051 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004465/1.114, allocations: 3.339 MB / 0.9084 GB, free: 8.965 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007845/1.122, allocations: 5.163 MB / 0.9134 GB, free: 3.113 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.843e-05/1.122, allocations: 14.69 kB / 0.9134 GB, free: 3.102 MB / 0.6857 GB Notification: Performance of matching and sorting (n=682) (initialization_lambda0): time 0.01215/1.134, allocations: 5.479 MB / 0.9188 GB, free: 13.62 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.134, allocations: 130.8 kB / 0.9189 GB, free: 13.48 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007172/1.142, allocations: 3.694 MB / 0.9225 GB, free: 9.75 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/1.142, allocations: 82.69 kB / 0.9226 GB, free: 9.672 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/1.146, allocations: 1.267 MB / 0.9238 GB, free: 8.402 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/1.146, allocations: 119.5 kB / 0.9239 GB, free: 8.285 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.15, allocations: 498.2 kB / 0.9244 GB, free: 7.805 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006306/1.15, allocations: 339.8 kB / 0.9247 GB, free: 7.473 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.001552/1.152, allocations: 0.6011 MB / 0.9253 GB, free: 6.852 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.154, allocations: 476.7 kB / 0.9258 GB, free: 6.383 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.008873/1.162, allocations: 4.511 MB / 0.9302 GB, free: 2.18 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.17195658700075] Failed to read output from testmodel.py, exit status != 0: 1.363655642955564 1.37959881 0.44093471900000003 Calling exit ...