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.01519/0.01519, 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.00147/0.00147, 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.001746/0.001746, allocations: 213.8 kB / 24.74 MB, free: 3.699 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.531/1.531, allocations: 230.6 MB / 258.5 MB, free: 13.09 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.105/1.105, 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.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: 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.4645/0.4645, allocations: 46.16 MB / 0.6545 GB, free: 30.29 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.6716, allocations: 89.04 MB / 0.7414 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.01532/0.687, allocations: 11.43 MB / 0.7526 GB, free: 7.309 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.7169, allocations: 16.65 MB / 0.7689 GB, free: 6.609 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.7195, allocations: 51.62 kB / 0.7689 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.7242, allocations: 1.456 MB / 0.7703 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.7292, allocations: 1.473 MB / 0.7718 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.7345, allocations: 1.687 MB / 0.7734 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.006879/0.7414, allocations: 3.529 MB / 0.7769 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.7434, allocations: 0.8502 MB / 0.7777 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.7468, allocations: 1.436 MB / 0.7791 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.7502, allocations: 1.663 MB / 0.7807 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.7509, allocations: 203.9 kB / 0.7809 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.7547, allocations: 1.426 MB / 0.7823 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.7561, allocations: 0.7981 MB / 0.7831 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.7582, allocations: 1.154 MB / 0.7842 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00838/0.7666, allocations: 3.927 MB / 0.788 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.7666, allocations: 0 / 0.788 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7666, allocations: 0 / 0.788 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.915e-05/0.7667, allocations: 0 / 0.788 GB, free: 2.879 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.007452/0.7741, allocations: 2.99 MB / 0.791 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.7742, allocations: 8.031 kB / 0.791 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.7745, allocations: 195.3 kB / 0.7912 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.7756, allocations: 319.1 kB / 0.7915 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.7815, allocations: 2.682 MB / 0.7941 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.7816, allocations: 77.98 kB / 0.7942 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.7818, allocations: 92 kB / 0.7942 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006119/0.7879, allocations: 2.447 MB / 0.7966 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.7879, allocations: 11.88 kB / 0.7966 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.7881, allocations: 51.97 kB / 0.7967 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.7882, allocations: 65.28 kB / 0.7968 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/0.7939, allocations: 1.8 MB / 0.7985 GB, free: 7.727 MB / 0.6075 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.01343/0.8073, allocations: 10.99 MB / 0.8093 GB, free: 12.3 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005376/0.8127, allocations: 1.795 MB / 0.811 GB, free: 10.41 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.8141, allocations: 0.5868 MB / 0.8116 GB, free: 9.805 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.8144, allocations: 88.36 kB / 0.8117 GB, free: 9.719 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004341/0.8187, allocations: 1.441 MB / 0.8131 GB, free: 8.227 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=195): time 6.542e-06/0.8187, allocations: 4 kB / 0.8131 GB, free: 8.223 MB / 0.6232 GB Notification: Performance of matching and sorting (n=195): time 0.0106/0.8293, allocations: 3.383 MB / 0.8164 GB, free: 4.82 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003035/0.8296, allocations: 439.7 kB / 0.8168 GB, free: 4.289 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.834, allocations: 1.951 MB / 0.8187 GB, free: 2.301 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.8343, allocations: 41.7 kB / 0.8187 GB, free: 2.254 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.8353, allocations: 0.8478 MB / 0.8196 GB, free: 1.395 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.8364, allocations: 0.67 MB / 0.8202 GB, free: 0.7188 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.8376, allocations: 451.5 kB / 0.8207 GB, free: 276 kB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8377, allocations: 309.1 kB / 0.821 GB, free: 15.96 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.8397, allocations: 0.8448 MB / 0.8218 GB, free: 15.12 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.8423, allocations: 1.481 MB / 0.8232 GB, free: 13.34 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009241/0.8516, allocations: 4.022 MB / 0.8272 GB, free: 9.027 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/0.8516, allocations: 12 kB / 0.8272 GB, free: 9.016 MB / 0.6388 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006465/0.8581, allocations: 2.713 MB / 0.8298 GB, free: 6.285 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.8581, allocations: 53.66 kB / 0.8299 GB, free: 6.227 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004111/0.8622, allocations: 1.901 MB / 0.8317 GB, free: 4.312 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/0.8626, allocations: 88.81 kB / 0.8318 GB, free: 4.223 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.8646, allocations: 0.5577 MB / 0.8324 GB, free: 3.664 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.8665, allocations: 1.644 MB / 0.834 GB, free: 1.879 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.8685, allocations: 238.3 kB / 0.8342 GB, free: 1.645 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/0.8689, allocations: 139.9 kB / 0.8343 GB, free: 1.508 MB / 0.6388 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.00304/0.8719, allocations: 1.32 MB / 0.8356 GB, free: 184 kB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002528/0.8744, allocations: 1.473 MB / 0.837 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009035/0.8835, allocations: 3.99 MB / 0.8409 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.147e-05/0.8835, allocations: 8 kB / 0.8409 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006243/0.8897, allocations: 2.694 MB / 0.8436 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.8898, allocations: 41.73 kB / 0.8436 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004018/0.8938, allocations: 1.889 MB / 0.8455 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.8941, allocations: 92.75 kB / 0.8456 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.8961, allocations: 0.5538 MB / 0.8461 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.8979, allocations: 1.656 MB / 0.8477 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.8996, allocations: 198.8 kB / 0.8479 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/0.9, allocations: 135.9 kB / 0.848 GB, free: 2.695 MB / 0.6544 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.0008308/0.9008, allocations: 320.5 kB / 0.8483 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009026/0.9017, allocations: 230.4 kB / 0.8486 GB, free: 2.148 MB / 0.6544 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.005633/0.9073, allocations: 2.386 MB / 0.8509 GB, free: 15.73 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.616406528002699] Failed to read output from testmodel.py, exit status != 0: 0.9161562380031683 0.9317290570000001 0.16164018100000002 Calling exit ...