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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 111 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 199.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003135/0.003135, allocations: 0.5709 MB / 291.3 MB, free: 14.44 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.89 kB / 351.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2032, allocations: 49.58 MB / 401.3 MB, free: 36.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4057/0.609, allocations: 177.7 MB / 0.5654 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.6149, allocations: 3.29 MB / 0.5686 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.6165, allocations: 30.69 kB / 0.5686 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.6178, allocations: 357.9 kB / 0.569 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.6226, allocations: 1.476 MB / 0.5704 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6257, allocations: 1.017 MB / 0.5714 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003319/0.629, allocations: 2.427 MB / 0.5738 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.6301, allocations: 0.5954 MB / 0.5744 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.6322, allocations: 1.015 MB / 0.5754 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.6335, allocations: 0.7849 MB / 0.5761 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.6337, allocations: 80.09 kB / 0.5762 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.6363, allocations: 0.9941 MB / 0.5772 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.6367, allocations: 327 kB / 0.5775 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.6374, allocations: 0.4964 MB / 0.578 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.6395, allocations: 1.28 MB / 0.5792 GB, free: 2.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6395, allocations: 0 / 0.5792 GB, free: 2.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6395, allocations: 4 kB / 0.5792 GB, free: 2.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.6395, allocations: 3.062 kB / 0.5792 GB, free: 2.68 MB / 398.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.002753/0.6423, allocations: 1.297 MB / 0.5805 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6423, allocations: 11.89 kB / 0.5805 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6434, allocations: 166.8 kB / 0.5807 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.6444, allocations: 0.56 MB / 0.5812 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6446, allocations: 187.8 kB / 0.5814 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6447, allocations: 71.91 kB / 0.5815 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.6465, allocations: 1.091 MB / 0.5825 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.6465, allocations: 7.938 kB / 0.5825 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.6466, allocations: 32 kB / 0.5826 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.6467, allocations: 33.3 kB / 0.5826 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6479, allocations: 0.801 MB / 0.5834 GB, free: 14.28 MB / 414.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.006156/0.6541, allocations: 5.708 MB / 0.5889 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.6548, allocations: 386.4 kB / 0.5893 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.6552, allocations: 231 kB / 0.5895 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.6555, allocations: 262.1 kB / 0.5898 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.6555, allocations: 42.56 kB / 0.5898 GB, free: 7.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.835e-06/0.6556, allocations: 0 / 0.5898 GB, free: 7.242 MB / 414.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.01048/0.666, allocations: 2.983 MB / 0.5927 GB, free: 4.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.6662, allocations: 119.3 kB / 0.5929 GB, free: 4.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.667, allocations: 0.6747 MB / 0.5935 GB, free: 3.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.6671, allocations: 37.7 kB / 0.5935 GB, free: 3.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.6674, allocations: 462.8 kB / 0.594 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6676, allocations: 206.4 kB / 0.5942 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.6679, allocations: 226.7 kB / 0.5944 GB, free: 2.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6681, allocations: 386.8 kB / 0.5948 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.6685, allocations: 286.5 kB / 0.595 GB, free: 1.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.6693, allocations: 0.7747 MB / 0.5958 GB, free: 0.7539 MB / 414.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.01672/0.686, allocations: 3.308 MB / 0.599 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.6861, allocations: 4 kB / 0.599 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00207/0.6882, allocations: 1.218 MB / 0.6002 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6882, allocations: 14.5 kB / 0.6002 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.6882, allocations: 16 kB / 0.6003 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000944/0.6892, allocations: 280.2 kB / 0.6005 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.6898, allocations: 207.7 kB / 0.6007 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/0.6908, allocations: 0.9035 MB / 0.6016 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.6916, allocations: 75.8 kB / 0.6017 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.6917, allocations: 99.92 kB / 0.6018 GB, free: 10.36 MB / 430.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.0004919/0.6922, allocations: 297.9 kB / 0.6021 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.6924, allocations: 79.06 kB / 0.6021 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.6949, allocations: 1.197 MB / 0.6033 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.695, allocations: 11.94 kB / 0.6033 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.695, allocations: 4 kB / 0.6033 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.695, allocations: 7.969 kB / 0.6033 GB, free: 8.754 MB / 430.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.003234/0.6982, allocations: 1.984 MB / 0.6053 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6983, allocations: 160 / 0.6053 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.6986, allocations: 95.89 kB / 0.6053 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.7001, allocations: 282.6 kB / 0.6056 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.7002, allocations: 27.98 kB / 0.6056 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009312/0.7012, allocations: 0.8449 MB / 0.6065 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7012, allocations: 0 / 0.6065 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.7033, allocations: 1.126 MB / 0.6076 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.7037, allocations: 224.1 kB / 0.6078 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.7038, allocations: 15.94 kB / 0.6078 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.7044, allocations: 35.89 kB / 0.6078 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.7045, allocations: 56.5 kB / 0.6079 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.7046, allocations: 59.97 kB / 0.6079 GB, free: 3.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000578/0.7052, allocations: 478.9 kB / 0.6084 GB, free: 3.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7052, allocations: 0 / 0.6084 GB, free: 3.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001285/0.7065, allocations: 355.8 kB / 0.6087 GB, free: 2.992 MB / 430.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.001065/0.7076, allocations: 393.2 kB / 0.6091 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.7094, allocations: 0.8373 MB / 0.6099 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7094, allocations: 0 / 0.6099 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.7102, allocations: 338.8 kB / 0.6103 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.7121, allocations: 413.6 kB / 0.6107 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.7152, allocations: 1.95 MB / 0.6126 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.7157, allocations: 0.9829 MB / 0.6135 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.7163, allocations: 159.4 kB / 0.6137 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7163, allocations: 0 / 0.6137 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Templates: time 0.0274/0.7437, allocations: 18.5 MB / 0.6317 GB, free: 11.54 MB / 462.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)