Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002708/0.002708, allocations: 0.5719 MB / 303.3 MB, free: 3.566 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.89 kB / 421.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2508, allocations: 52.3 MB / 473.8 MB, free: 28.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4515/0.7024, allocations: 180 MB / 0.6384 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.7079, allocations: 3.176 MB / 0.6415 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.709, allocations: 26.62 kB / 0.6415 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.7102, allocations: 410.8 kB / 0.6419 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004454/0.7147, allocations: 1.615 MB / 0.6435 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.7178, allocations: 1.11 MB / 0.6446 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.7213, allocations: 2.425 MB / 0.647 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.7223, allocations: 0.5412 MB / 0.6475 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.7247, allocations: 1.017 MB / 0.6485 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.726, allocations: 0.7753 MB / 0.6492 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.7261, allocations: 81.97 kB / 0.6493 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.7286, allocations: 1.044 MB / 0.6503 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.729, allocations: 332.7 kB / 0.6506 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.7296, allocations: 495.2 kB / 0.6511 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.7325, allocations: 1.742 MB / 0.6528 GB, free: 1.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7325, allocations: 0.9062 kB / 0.6528 GB, free: 1.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.7325, allocations: 0.9844 kB / 0.6528 GB, free: 1.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.7326, allocations: 1.094 kB / 0.6528 GB, free: 1.246 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002837/0.7354, allocations: 1.329 MB / 0.6541 GB, free: 16.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7354, allocations: 9.438 kB / 0.6541 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.7356, allocations: 125.9 kB / 0.6543 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.7367, allocations: 175.5 kB / 0.6544 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.7379, allocations: 0.5938 MB / 0.655 GB, free: 16.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.7381, allocations: 179.3 kB / 0.6552 GB, free: 16.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.7382, allocations: 72.62 kB / 0.6552 GB, free: 16.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.7399, allocations: 1.085 MB / 0.6563 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.7399, allocations: 6.406 kB / 0.6563 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.74, allocations: 34.88 kB / 0.6563 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.74, allocations: 37.47 kB / 0.6564 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.7413, allocations: 0.7823 MB / 0.6571 GB, free: 15.75 MB / 494.1 MB 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.006475/0.7478, allocations: 5.713 MB / 0.6627 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.7485, allocations: 383.7 kB / 0.6631 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.7488, allocations: 208.5 kB / 0.6633 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.7491, allocations: 263.8 kB / 0.6635 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7492, allocations: 44.81 kB / 0.6636 GB, free: 11.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.7492, allocations: 0.8438 kB / 0.6636 GB, free: 11.4 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.01044/0.7596, allocations: 3.007 MB / 0.6665 GB, free: 10.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.7597, allocations: 111.6 kB / 0.6666 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/0.7606, allocations: 0.6762 MB / 0.6673 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/0.7607, allocations: 38.73 kB / 0.6673 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.7611, allocations: 484.5 kB / 0.6678 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.7613, allocations: 212.2 kB / 0.668 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.7616, allocations: 230.9 kB / 0.6682 GB, free: 9.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.7618, allocations: 384.7 kB / 0.6686 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.7622, allocations: 285.2 kB / 0.6688 GB, free: 9.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.763, allocations: 0.769 MB / 0.6696 GB, free: 9.062 MB / 494.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/0.7781, allocations: 3.303 MB / 0.6728 GB, free: 8.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.7781, allocations: 5.469 kB / 0.6728 GB, free: 8.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001978/0.7801, allocations: 1.218 MB / 0.674 GB, free: 8.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7801, allocations: 12.97 kB / 0.674 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.7801, allocations: 15.97 kB / 0.674 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.7809, allocations: 274.6 kB / 0.6743 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.7815, allocations: 212.8 kB / 0.6745 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.7824, allocations: 0.9059 MB / 0.6754 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.7831, allocations: 40.36 kB / 0.6754 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.7833, allocations: 99 kB / 0.6755 GB, free: 7.73 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004854/0.7837, allocations: 300.4 kB / 0.6758 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.7839, allocations: 84.11 kB / 0.6759 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.7859, allocations: 1.196 MB / 0.6771 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.7859, allocations: 8.5 kB / 0.6771 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7859, allocations: 3.047 kB / 0.6771 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7859, allocations: 6.438 kB / 0.6771 GB, free: 7.418 MB / 494.1 MB 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 postOpt removeSimpleEquations (simulation): time 0.00296/0.7889, allocations: 1.978 MB / 0.679 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.7889, allocations: 1.219 kB / 0.679 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.7892, allocations: 91.44 kB / 0.6791 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.7906, allocations: 286.6 kB / 0.6794 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.7907, allocations: 30.58 kB / 0.6794 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009466/0.7916, allocations: 0.8332 MB / 0.6802 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7916, allocations: 5.562 kB / 0.6802 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.7935, allocations: 1.131 MB / 0.6813 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.794, allocations: 225.2 kB / 0.6815 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7941, allocations: 13.5 kB / 0.6815 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.7946, allocations: 23.08 kB / 0.6816 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.7947, allocations: 52.72 kB / 0.6816 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.7947, allocations: 58.89 kB / 0.6817 GB, free: 5.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.7953, allocations: 475.7 kB / 0.6821 GB, free: 5.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7953, allocations: 4 kB / 0.6821 GB, free: 5.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001256/0.7965, allocations: 350 kB / 0.6825 GB, free: 5.223 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003141/0.7996, allocations: 1.958 MB / 0.6844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.8013, allocations: 0.7644 MB / 0.6851 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8013, allocations: 0 / 0.6851 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.802, allocations: 326.7 kB / 0.6854 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.8039, allocations: 425.2 kB / 0.6858 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8158, allocations: 7.506 MB / 0.6932 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/0.8166, allocations: 0.9908 MB / 0.6941 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00171/0.8183, allocations: 0.5834 MB / 0.6947 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.819, allocations: 339.3 kB / 0.695 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/0.819, allocations: 0 / 0.695 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.8866, allocations: 29.15 MB / 0.7235 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.02, allocations: 15.75 kB / 0.7235 GB, free: 15.29 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.458548659924418] Failed to read output from testmodel.py, exit status != 0: 14.141980946995318 14.161172255 13.424708738 Calling exit ...