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.01027/0.01027, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001282/0.001282, allocations: 99.72 kB / 22.07 MB, free: 1.109 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.001644/0.001644, allocations: 218 kB / 25.46 MB, free: 3.344 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.567/1.567, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.121/1.121, allocations: 130.6 MB / 446.3 MB, free: 14.61 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: 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.4112/0.4112, allocations: 46.16 MB / 0.6552 GB, free: 30.38 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.6099, allocations: 89.05 MB / 0.7421 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.01754/0.6274, allocations: 11.42 MB / 0.7533 GB, free: 7.238 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03392/0.6613, allocations: 16.64 MB / 0.7696 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.6641, allocations: 55.56 kB / 0.7696 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.669, allocations: 1.444 MB / 0.771 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.674, allocations: 1.473 MB / 0.7725 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.679, allocations: 1.699 MB / 0.7741 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0065/0.6855, allocations: 3.537 MB / 0.7776 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.6877, allocations: 0.8425 MB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.6913, allocations: 1.424 MB / 0.7798 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.6947, allocations: 1.671 MB / 0.7814 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009499/0.6956, allocations: 204 kB / 0.7816 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.6996, allocations: 1.426 MB / 0.783 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.7012, allocations: 0.8097 MB / 0.7838 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.704, allocations: 1.142 MB / 0.7849 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009064/0.7131, allocations: 3.931 MB / 0.7887 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7131, allocations: 0 / 0.7887 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7131, allocations: 0 / 0.7887 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001393/0.7132, allocations: 0 / 0.7887 GB, free: 2.809 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.008233/0.7215, allocations: 2.986 MB / 0.7917 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7215, allocations: 12.03 kB / 0.7917 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.005e-05/0.7216, allocations: 30.19 kB / 0.7917 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004957/0.7221, allocations: 195.2 kB / 0.7919 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.7235, allocations: 319.1 kB / 0.7922 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006106/0.7296, allocations: 2.677 MB / 0.7948 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.7297, allocations: 70 kB / 0.7949 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.7301, allocations: 104 kB / 0.795 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.7369, allocations: 2.439 MB / 0.7974 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.737, allocations: 11.88 kB / 0.7974 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.7372, allocations: 55.98 kB / 0.7974 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.7373, allocations: 65.28 kB / 0.7975 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005759/0.7431, allocations: 1.8 MB / 0.7992 GB, free: 7.629 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.01635/0.7594, allocations: 10.99 MB / 0.81 GB, free: 12.21 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/0.7651, allocations: 1.787 MB / 0.8117 GB, free: 10.33 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.7666, allocations: 0.5985 MB / 0.8123 GB, free: 9.707 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.7669, allocations: 80.42 kB / 0.8124 GB, free: 9.629 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004455/0.7714, allocations: 1.449 MB / 0.8138 GB, free: 8.129 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=195): time 5.851e-06/0.7714, allocations: 0 / 0.8138 GB, free: 8.129 MB / 0.6232 GB Notification: Performance of matching and sorting (n=195): time 0.01056/0.7819, allocations: 3.389 MB / 0.8171 GB, free: 4.719 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002721/0.7822, allocations: 432.6 kB / 0.8175 GB, free: 4.195 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.7862, allocations: 1.951 MB / 0.8194 GB, free: 2.207 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.7865, allocations: 41.7 kB / 0.8195 GB, free: 2.16 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/0.7874, allocations: 0.8517 MB / 0.8203 GB, free: 1.297 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008805/0.7883, allocations: 0.67 MB / 0.8209 GB, free: 0.6211 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.7893, allocations: 447.5 kB / 0.8214 GB, free: 184 kB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7894, allocations: 301.1 kB / 0.8217 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.7913, allocations: 0.8604 MB / 0.8225 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.7937, allocations: 1.473 MB / 0.8239 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009056/0.8028, allocations: 4.034 MB / 0.8279 GB, free: 8.922 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.8028, allocations: 4 kB / 0.8279 GB, free: 8.918 MB / 0.6388 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006244/0.8091, allocations: 2.712 MB / 0.8305 GB, free: 6.191 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.8091, allocations: 45.62 kB / 0.8306 GB, free: 6.141 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004009/0.8131, allocations: 1.91 MB / 0.8324 GB, free: 4.215 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.8135, allocations: 88.81 kB / 0.8325 GB, free: 4.125 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.8155, allocations: 0.5577 MB / 0.8331 GB, free: 3.566 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.8173, allocations: 1.644 MB / 0.8347 GB, free: 1.781 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.8192, allocations: 242.3 kB / 0.8349 GB, free: 1.543 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/0.8195, allocations: 139.8 kB / 0.835 GB, free: 1.406 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.003125/0.8227, allocations: 1.315 MB / 0.8363 GB, free: 92 kB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002503/0.8252, allocations: 1.473 MB / 0.8378 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008915/0.8341, allocations: 3.983 MB / 0.8417 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.973e-05/0.8341, allocations: 11.94 kB / 0.8417 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006438/0.8405, allocations: 2.693 MB / 0.8443 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.8406, allocations: 45.7 kB / 0.8443 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004127/0.8447, allocations: 1.89 MB / 0.8462 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.845, allocations: 92.75 kB / 0.8463 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.847, allocations: 0.5577 MB / 0.8468 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.8487, allocations: 1.659 MB / 0.8484 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8505, allocations: 194.8 kB / 0.8486 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.8509, allocations: 131.9 kB / 0.8488 GB, free: 2.602 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.0008607/0.8517, allocations: 328.5 kB / 0.8491 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000927/0.8527, allocations: 234.4 kB / 0.8493 GB, free: 2.043 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.00574/0.8584, allocations: 2.37 MB / 0.8516 GB, free: 15.64 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.534658703953028] Failed to read output from testmodel.py, exit status != 0: 0.8680819120490924 0.885977742 0.169390494 Calling exit ...