Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple.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.01061/0.01061, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.0013/0.0013, allocations: 112.7 kB / 24.19 MB, free: 2.688 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.001561/0.001561, allocations: 207.9 kB / 27.91 MB, free: 4.027 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.445/1.445, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.064/1.064, allocations: 130.7 MB / 449.7 MB, free: 6.566 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.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",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.04259/0.04259, allocations: 20.78 MB / 0.6357 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.2191, allocations: 81.9 MB / 0.7157 GB, free: 3.141 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.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.5481/0.7671, allocations: 44.39 MB / 0.7591 GB, free: 21.6 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.7928, allocations: 16.92 MB / 0.7756 GB, free: 9.66 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.7963, allocations: 57.22 kB / 0.7757 GB, free: 9.633 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004786/0.8011, allocations: 1.509 MB / 0.7771 GB, free: 8.973 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.8064, allocations: 1.516 MB / 0.7786 GB, free: 8.109 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.8119, allocations: 1.764 MB / 0.7803 GB, free: 7.219 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007243/0.8191, allocations: 3.553 MB / 0.7838 GB, free: 5.633 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.8212, allocations: 0.8158 MB / 0.7846 GB, free: 5.266 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.8248, allocations: 1.434 MB / 0.786 GB, free: 4.648 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.8285, allocations: 1.665 MB / 0.7876 GB, free: 3.691 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0007028/0.8292, allocations: 203.3 kB / 0.7878 GB, free: 3.691 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.8336, allocations: 1.537 MB / 0.7893 GB, free: 2.875 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.8347, allocations: 0.8033 MB / 0.7901 GB, free: 2.305 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.8364, allocations: 1.154 MB / 0.7912 GB, free: 1.465 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008661/0.8451, allocations: 3.957 MB / 0.7951 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8451, allocations: 0 / 0.7951 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8451, allocations: 3.938 kB / 0.7951 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001019/0.8452, allocations: 0 / 0.7951 GB, free: 14.86 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.007647/0.8529, allocations: 2.914 MB / 0.798 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.8529, allocations: 9.312 kB / 0.798 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003092/0.8532, allocations: 193.5 kB / 0.7981 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.8543, allocations: 315.7 kB / 0.7984 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005723/0.8601, allocations: 2.554 MB / 0.8009 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.8601, allocations: 81.42 kB / 0.801 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.8603, allocations: 97.77 kB / 0.8011 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005536/0.8658, allocations: 2.449 MB / 0.8035 GB, free: 8.852 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.8659, allocations: 17.62 kB / 0.8035 GB, free: 8.844 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.866, allocations: 46.19 kB / 0.8036 GB, free: 8.816 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.8661, allocations: 63.75 kB / 0.8036 GB, free: 8.805 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.8708, allocations: 1.799 MB / 0.8054 GB, free: 7.074 MB / 0.5763 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.884, allocations: 10.94 MB / 0.8161 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.889, allocations: 1.724 MB / 0.8177 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.8903, allocations: 0.5894 MB / 0.8183 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.8906, allocations: 88.45 kB / 0.8184 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003972/0.8946, allocations: 1.442 MB / 0.8198 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 6.312e-06/0.8946, allocations: 0 / 0.8198 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009981/0.9046, allocations: 3.315 MB / 0.8231 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003074/0.9049, allocations: 442.4 kB / 0.8235 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.9093, allocations: 1.943 MB / 0.8254 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.9096, allocations: 45.7 kB / 0.8254 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.9106, allocations: 0.8517 MB / 0.8262 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/0.9115, allocations: 0.6686 MB / 0.8269 GB, free: 412 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.9127, allocations: 459.5 kB / 0.8273 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9128, allocations: 301.1 kB / 0.8276 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.9146, allocations: 0.8475 MB / 0.8285 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.9171, allocations: 1.479 MB / 0.8299 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008804/0.9259, allocations: 4.031 MB / 0.8338 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.733e-05/0.9259, allocations: 8 kB / 0.8338 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006053/0.932, allocations: 2.713 MB / 0.8365 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.9321, allocations: 43.3 kB / 0.8365 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003721/0.9358, allocations: 1.91 MB / 0.8384 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.9361, allocations: 91.41 kB / 0.8385 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.938, allocations: 0.5538 MB / 0.839 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.9398, allocations: 1.54 MB / 0.8405 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.9418, allocations: 242.2 kB / 0.8408 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/0.9422, allocations: 138.6 kB / 0.8409 GB, free: 1.445 MB / 0.6075 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002959/0.9451, allocations: 1.312 MB / 0.8422 GB, free: 132 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002366/0.9475, allocations: 1.476 MB / 0.8436 GB, free: 14.38 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008395/0.9559, allocations: 3.995 MB / 0.8475 GB, free: 10.16 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.682e-05/0.9559, allocations: 4 kB / 0.8475 GB, free: 10.16 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005964/0.9619, allocations: 2.696 MB / 0.8502 GB, free: 7.465 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.962, allocations: 41.69 kB / 0.8502 GB, free: 7.418 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00379/0.9657, allocations: 1.888 MB / 0.852 GB, free: 5.52 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.9661, allocations: 95.45 kB / 0.8521 GB, free: 5.426 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.9679, allocations: 0.5564 MB / 0.8527 GB, free: 4.871 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.9696, allocations: 1.534 MB / 0.8542 GB, free: 3.23 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.9716, allocations: 198.8 kB / 0.8544 GB, free: 3.035 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.9719, allocations: 140.7 kB / 0.8545 GB, free: 2.898 MB / 0.6232 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.MassFlow.count,$PRE.MassFlow.T_start,MassFlow.count,MassFlow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008264/0.9727, allocations: 332.5 kB / 0.8548 GB, free: 2.578 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009865/0.9737, allocations: 234.4 kB / 0.855 GB, free: 2.348 MB / 0.6232 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 286 equation(s) and 271 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (tubeBundle_L2_Simple.fluidInlet.VLE.d_l, tubeBundle_L2_Simple.fluidInlet.VLE.h_l, tubeBundle_L2_Simple.fluidInlet.VLE.p_l, tubeBundle_L2_Simple.fluidInlet.VLE.s_l, tubeBundle_L2_Simple.fluidInlet.VLE.T_l, _, tubeBundle_L2_Simple.fluidInlet.VLE.d_v, tubeBundle_L2_Simple.fluidInlet.VLE.h_v, tubeBundle_L2_Simple.fluidInlet.VLE.p_v, tubeBundle_L2_Simple.fluidInlet.VLE.s_v, tubeBundle_L2_Simple.fluidInlet.VLE.T_v, _) = ($cse81, $cse82, $cse83, $cse84, $cse85, $cse86, $cse87, $cse88, $cse89, $cse90, $cse91, $cse92) has size 10 but 2 variables (massFlowSink.fluidOut.T, massFlowSink.eye_int[1].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.9791, allocations: 2.374 MB / 0.8574 GB, free: 112 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.858631589999277] Failed to read output from testmodel.py, exit status != 0: 1.1790650489965628 1.194849789 0.34646818 Calling exit ...