Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01004/0.01004, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001271/0.001271, allocations: 108.1 kB / 24.98 MB, free: 2.156 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.001476/0.001476, allocations: 203.2 kB / 28.7 MB, free: 3.441 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.422/1.422, allocations: 230.6 MB / 262.9 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.019/1.019, allocations: 130.7 MB / 450.4 MB, free: 6.551 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [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.03096/0.03096, allocations: 20.61 MB / 0.6368 GB, free: 4.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1924, allocations: 81.91 MB / 0.7168 GB, free: 2.816 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.4558/0.6482, allocations: 44.38 MB / 0.7601 GB, free: 21.83 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02113/0.6693, allocations: 16.92 MB / 0.7767 GB, free: 9.82 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.6718, allocations: 60 kB / 0.7767 GB, free: 9.793 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.6758, allocations: 1.516 MB / 0.7782 GB, free: 9.125 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.6797, allocations: 1.519 MB / 0.7797 GB, free: 8.266 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.6839, allocations: 1.757 MB / 0.7814 GB, free: 7.375 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.6892, allocations: 3.545 MB / 0.7849 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.6906, allocations: 0.8181 MB / 0.7857 GB, free: 5.422 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.6931, allocations: 1.432 MB / 0.7871 GB, free: 4.809 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.6952, allocations: 1.668 MB / 0.7887 GB, free: 3.801 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.6955, allocations: 203.5 kB / 0.7889 GB, free: 3.797 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.6986, allocations: 1.544 MB / 0.7904 GB, free: 2.977 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.6993, allocations: 0.7997 MB / 0.7912 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009935/0.7003, allocations: 1.156 MB / 0.7923 GB, free: 1.57 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.7058, allocations: 3.954 MB / 0.7962 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7058, allocations: 1.594 kB / 0.7962 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7058, allocations: 0 / 0.7962 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.496e-05/0.7058, allocations: 0 / 0.7962 GB, free: 14.97 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.005747/0.7116, allocations: 2.916 MB / 0.799 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7116, allocations: 9.875 kB / 0.799 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.7126, allocations: 318.4 kB / 0.7993 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.7172, allocations: 2.559 MB / 0.8018 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.7172, allocations: 74.69 kB / 0.8019 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.7174, allocations: 100.2 kB / 0.802 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/0.7226, allocations: 2.45 MB / 0.8044 GB, free: 9.113 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.7226, allocations: 13.12 kB / 0.8044 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7227, allocations: 53.98 kB / 0.8045 GB, free: 9.07 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.408e-05/0.7228, allocations: 61.53 kB / 0.8045 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/0.7275, allocations: 1.801 MB / 0.8063 GB, free: 7.25 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.01175/0.7393, allocations: 10.93 MB / 0.8169 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.744, allocations: 1.717 MB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.7452, allocations: 0.5918 MB / 0.8192 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.7454, allocations: 86.22 kB / 0.8193 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003777/0.7492, allocations: 1.447 MB / 0.8207 GB, free: 8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.606e-06/0.7492, allocations: 0 / 0.8207 GB, free: 8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009378/0.7585, allocations: 3.317 MB / 0.8239 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.7588, allocations: 427.8 kB / 0.8243 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.7619, allocations: 1.951 MB / 0.8262 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.762, allocations: 44.39 kB / 0.8263 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/0.7628, allocations: 0.8557 MB / 0.8271 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.7635, allocations: 0.666 MB / 0.8278 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007277/0.7642, allocations: 451.5 kB / 0.8282 GB, free: 148 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7643, allocations: 309.1 kB / 0.8285 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.7659, allocations: 0.8475 MB / 0.8293 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.7681, allocations: 1.483 MB / 0.8308 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/0.7762, allocations: 4.023 MB / 0.8347 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.7762, allocations: 4 kB / 0.8347 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005409/0.7816, allocations: 2.719 MB / 0.8374 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.7817, allocations: 41.69 kB / 0.8374 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003711/0.7854, allocations: 1.913 MB / 0.8393 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.7857, allocations: 92.8 kB / 0.8394 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.7874, allocations: 0.5539 MB / 0.8399 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.7889, allocations: 1.538 MB / 0.8414 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.7905, allocations: 248.9 kB / 0.8416 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/0.7908, allocations: 135.9 kB / 0.8418 GB, free: 1.633 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.002592/0.7934, allocations: 1.319 MB / 0.8431 GB, free: 320 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002171/0.7956, allocations: 1.468 MB / 0.8445 GB, free: 14.57 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007913/0.8035, allocations: 3.99 MB / 0.8484 GB, free: 10.36 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/0.8035, allocations: 4 kB / 0.8484 GB, free: 10.35 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005364/0.8088, allocations: 2.699 MB / 0.851 GB, free: 7.652 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.8089, allocations: 41.7 kB / 0.8511 GB, free: 7.605 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003535/0.8124, allocations: 1.887 MB / 0.8529 GB, free: 5.711 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.8127, allocations: 91.38 kB / 0.853 GB, free: 5.621 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.8144, allocations: 0.5538 MB / 0.8535 GB, free: 5.066 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.8159, allocations: 1.548 MB / 0.855 GB, free: 3.414 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.8175, allocations: 201.4 kB / 0.8552 GB, free: 3.219 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.8177, allocations: 134.6 kB / 0.8554 GB, free: 3.09 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.0006707/0.8184, allocations: 325.3 kB / 0.8557 GB, free: 2.773 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.8188, allocations: 238.4 kB / 0.8559 GB, free: 2.539 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.004398/0.8232, allocations: 2.375 MB / 0.8582 GB, free: 304 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.709597354056314] Failed to read output from testmodel.py, exit status != 0: 1.0034448290243745 1.018055692 0.309223105 Calling exit ...