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.01529/0.01529, allocations: 1.747 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.001622/0.001622, allocations: 101 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.002289/0.002289, allocations: 210.6 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.463/1.463, allocations: 230.6 MB / 262.9 MB, free: 5.836 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.09/1.09, allocations: 130.7 MB / 450.4 MB, free: 6.645 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="cs",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="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.06733/0.06733, allocations: 20.6 MB / 0.6362 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.2472, allocations: 81.91 MB / 0.7162 GB, free: 3.129 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.5122/0.7594, allocations: 43.27 MB / 0.7585 GB, free: 22.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02293/0.7823, allocations: 16.17 MB / 0.7743 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.7849, allocations: 52.38 kB / 0.7743 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.7891, allocations: 1.43 MB / 0.7757 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.7937, allocations: 1.517 MB / 0.7772 GB, free: 9.906 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.7985, allocations: 1.767 MB / 0.7789 GB, free: 9.012 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005591/0.8041, allocations: 3.547 MB / 0.7824 GB, free: 7.43 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.8057, allocations: 0.8156 MB / 0.7832 GB, free: 7.062 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.8086, allocations: 1.44 MB / 0.7846 GB, free: 6.445 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.8116, allocations: 1.667 MB / 0.7862 GB, free: 5.48 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.000789/0.8124, allocations: 200.1 kB / 0.7864 GB, free: 5.48 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.816, allocations: 1.103 MB / 0.7875 GB, free: 4.965 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.8172, allocations: 0.8005 MB / 0.7883 GB, free: 4.398 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.8194, allocations: 0.9014 MB / 0.7891 GB, free: 3.812 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.8264, allocations: 3.869 MB / 0.7929 GB, free: 1.301 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8264, allocations: 2.656 kB / 0.7929 GB, free: 1.301 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8264, allocations: 0 / 0.7929 GB, free: 1.301 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 9.299e-05/0.8265, allocations: 1.219 kB / 0.7929 GB, free: 1.301 MB / 0.5607 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.006813/0.8333, allocations: 2.913 MB / 0.7958 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.8334, allocations: 10 kB / 0.7958 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.07e-05/0.8334, allocations: 32.53 kB / 0.7958 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/0.8337, allocations: 194.1 kB / 0.796 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.835, allocations: 314.8 kB / 0.7963 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/0.8404, allocations: 2.562 MB / 0.7988 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.8405, allocations: 80.78 kB / 0.7989 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.8407, allocations: 100.8 kB / 0.799 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005973/0.8467, allocations: 2.67 MB / 0.8016 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.8467, allocations: 12.5 kB / 0.8016 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.8468, allocations: 43.75 kB / 0.8016 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.8469, allocations: 68.97 kB / 0.8017 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.852, allocations: 1.795 MB / 0.8035 GB, free: 9.148 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.01256/0.8645, allocations: 10.53 MB / 0.8137 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/0.8694, allocations: 1.708 MB / 0.8154 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.8707, allocations: 0.5901 MB / 0.816 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.8709, allocations: 76.55 kB / 0.8161 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003946/0.8749, allocations: 1.444 MB / 0.8175 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.958e-06/0.8749, allocations: 0 / 0.8175 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009762/0.8846, allocations: 3.31 MB / 0.8207 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.8849, allocations: 439.8 kB / 0.8211 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.8881, allocations: 1.946 MB / 0.823 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.8883, allocations: 41.7 kB / 0.8231 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008201/0.8891, allocations: 0.8556 MB / 0.8239 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/0.8899, allocations: 0.6621 MB / 0.8245 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/0.8907, allocations: 455.5 kB / 0.825 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8908, allocations: 313 kB / 0.8253 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8925, allocations: 0.8764 MB / 0.8261 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.8947, allocations: 1.577 MB / 0.8277 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008456/0.9032, allocations: 4.027 MB / 0.8316 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.9032, allocations: 8 kB / 0.8316 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005858/0.9091, allocations: 2.755 MB / 0.8343 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.9091, allocations: 41.64 kB / 0.8343 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003828/0.913, allocations: 1.939 MB / 0.8362 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.9133, allocations: 91.45 kB / 0.8363 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.9152, allocations: 0.5538 MB / 0.8369 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.9168, allocations: 1.546 MB / 0.8384 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9186, allocations: 230.4 kB / 0.8386 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/0.919, allocations: 135.9 kB / 0.8387 GB, free: 3.672 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.002837/0.9218, allocations: 1.343 MB / 0.84 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002286/0.9241, allocations: 1.582 MB / 0.8416 GB, free: 444 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008321/0.9324, allocations: 3.991 MB / 0.8455 GB, free: 12.2 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.437e-05/0.9324, allocations: 4 kB / 0.8455 GB, free: 12.2 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005788/0.9382, allocations: 2.73 MB / 0.8481 GB, free: 9.457 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.9383, allocations: 39.2 kB / 0.8482 GB, free: 9.414 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003816/0.9421, allocations: 1.924 MB / 0.8501 GB, free: 7.48 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.9423, allocations: 88.75 kB / 0.8501 GB, free: 7.391 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.9442, allocations: 0.5499 MB / 0.8507 GB, free: 6.84 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.9457, allocations: 1.535 MB / 0.8522 GB, free: 5.195 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.9475, allocations: 197.4 kB / 0.8524 GB, free: 5.004 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.9478, allocations: 138.6 kB / 0.8525 GB, free: 4.871 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.0006853/0.9485, allocations: 328 kB / 0.8528 GB, free: 4.551 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/0.949, allocations: 234.4 kB / 0.853 GB, free: 4.32 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.004439/0.9535, allocations: 2.382 MB / 0.8554 GB, free: 2.066 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.041131783975288] Failed to read output from testmodel.py, exit status != 0: 1.1432928189169616 1.160173999 0.33038189900000003 Calling exit ...