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.0007084/0.0007085, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.000746/0.0007461, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002554/0.002554, allocations: 0.5507 MB / 291.6 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 15.92 kB / 352.7 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 50.56 MB / 403.2 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4598/0.5738, allocations: 163.7 MB / 0.5537 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.5808, allocations: 3.149 MB / 0.5568 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.5822, allocations: 27.75 kB / 0.5568 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.5838, allocations: 329.9 kB / 0.5571 GB, free: 408 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.4067/0.9905, allocations: 1.37 MB / 0.5584 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.9942, allocations: 0.8674 MB / 0.5593 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006186/1, allocations: 2.863 MB / 0.5621 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/1.002, allocations: 0.4965 MB / 0.5626 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/1.005, allocations: 0.8694 MB / 0.5634 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/1.008, allocations: 0.7357 MB / 0.5641 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/1.009, allocations: 44.91 kB / 0.5642 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/1.013, allocations: 0.6783 MB / 0.5648 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009659/1.014, allocations: 282.9 kB / 0.5651 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.016, allocations: 195.7 kB / 0.5653 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003788/1.02, allocations: 1.179 MB / 0.5664 GB, free: 21.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.02, allocations: 0 / 0.5664 GB, free: 21.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.257e-06/1.02, allocations: 0.8438 kB / 0.5665 GB, free: 21.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.591e-05/1.02, allocations: 4 kB / 0.5665 GB, free: 21.07 MB / 446.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.004126/1.024, allocations: 1.118 MB / 0.5675 GB, free: 20.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.024, allocations: 12.47 kB / 0.5676 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.026, allocations: 172.7 kB / 0.5677 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/1.027, allocations: 0.539 MB / 0.5682 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/1.027, allocations: 179.9 kB / 0.5684 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.027, allocations: 71.2 kB / 0.5685 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.029, allocations: 1.078 MB / 0.5695 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.029, allocations: 5.281 kB / 0.5695 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.029, allocations: 37.53 kB / 0.5696 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/1.029, allocations: 46.05 kB / 0.5696 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/1.031, allocations: 0.7753 MB / 0.5704 GB, free: 19.69 MB / 446.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.008321/1.04, allocations: 5.714 MB / 0.576 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/1.04, allocations: 396 kB / 0.5763 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/1.041, allocations: 222 kB / 0.5766 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/1.041, allocations: 263.4 kB / 0.5768 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/1.041, allocations: 46.69 kB / 0.5768 GB, free: 15.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/1.041, allocations: 0 / 0.5768 GB, free: 15.33 MB / 446.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.0107/1.052, allocations: 3.02 MB / 0.5798 GB, free: 14.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/1.052, allocations: 108.8 kB / 0.5799 GB, free: 14.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.054, allocations: 0.6674 MB / 0.5806 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.054, allocations: 41.58 kB / 0.5806 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/1.054, allocations: 464.8 kB / 0.581 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.055, allocations: 208.9 kB / 0.5812 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/1.055, allocations: 19.88 kB / 0.5813 GB, free: 13.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/1.055, allocations: 394.3 kB / 0.5816 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/1.055, allocations: 271.3 kB / 0.5819 GB, free: 13.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/1.056, allocations: 0.7643 MB / 0.5826 GB, free: 13.02 MB / 446.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.01318/1.07, allocations: 2.732 MB / 0.5853 GB, free: 12.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/1.07, allocations: 6.922 kB / 0.5853 GB, free: 12.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002839/1.073, allocations: 1.281 MB / 0.5866 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.073, allocations: 11.5 kB / 0.5866 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/1.073, allocations: 16.69 kB / 0.5866 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009381/1.074, allocations: 290 kB / 0.5869 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/1.074, allocations: 208.3 kB / 0.5871 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/1.075, allocations: 0.9162 MB / 0.588 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.076, allocations: 59.53 kB / 0.588 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.077, allocations: 96.52 kB / 0.5881 GB, free: 12.15 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006667/1.077, allocations: 298.2 kB / 0.5884 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.077, allocations: 83.12 kB / 0.5885 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/1.08, allocations: 1.208 MB / 0.5896 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.08, allocations: 5.5 kB / 0.5897 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.08, allocations: 2.906 kB / 0.5897 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.08, allocations: 7.188 kB / 0.5897 GB, free: 11.82 MB / 446.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.003473/1.083, allocations: 1.98 MB / 0.5916 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.083, allocations: 0 / 0.5916 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/1.084, allocations: 90.42 kB / 0.5917 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/1.085, allocations: 300 kB / 0.592 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/1.085, allocations: 31.39 kB / 0.592 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009958/1.086, allocations: 0.849 MB / 0.5928 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.086, allocations: 2.281 kB / 0.5928 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.088, allocations: 1.133 MB / 0.5939 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/1.089, allocations: 217.7 kB / 0.5941 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/1.089, allocations: 15.59 kB / 0.5942 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/1.09, allocations: 43.22 kB / 0.5942 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.09, allocations: 61.05 kB / 0.5943 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.09, allocations: 65.25 kB / 0.5943 GB, free: 10.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009096/1.091, allocations: 455.2 kB / 0.5948 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.091, allocations: 0 / 0.5948 GB, free: 10.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002325/1.094, allocations: 345.7 kB / 0.5951 GB, free: 10.02 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/1.095, allocations: 386.5 kB / 0.5955 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/1.098, allocations: 0.7684 MB / 0.5962 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.098, allocations: 7 kB / 0.5962 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/1.098, allocations: 334.3 kB / 0.5965 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.101, allocations: 385 kB / 0.5969 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/1.105, allocations: 1.93 MB / 0.5988 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/1.105, allocations: 0.9891 MB / 0.5997 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00206/1.107, allocations: 0.5837 MB / 0.6003 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/1.108, allocations: 124.8 kB / 0.6004 GB, free: 8.035 MB / 446.1 MB Notification: Performance of SimCode: time 1.944e-06/1.108, allocations: 4 kB / 0.6004 GB, free: 8.031 MB / 446.1 MB Notification: Performance of Templates: time 0.03363/1.142, allocations: 19.27 MB / 0.6193 GB, free: 11.26 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)